So You Want To Write HTML and Include Math Typesetting?Suppose you are interested in doing the following:
You are writing math content for the web. You want to write primarily in HTML, so that you may use all of the HTML features. AND, you want to include Math Typesetting.
This was our primary interest in the beginning. And still is.
We wanted to create a web-based authoring system so that we could write HTML and "escape" to math mode in markup fashion.
The HTML 3.2/?.? had promised to offer such things like:
You may at first say (like us): Oh boy, yet another math typesetting language to learn.
We wanted to be able to do the following:
Our GoalsWe wanted a solution that expanded with the times. And we wanted to primarily write in TeX (for the math). And we didn't want GIFs (obviously).
When (and if) HTML 3.2/?.? Math ever got implemented, we didn't want to have to go back to ALL of our math content and redo it. Yuk. We wanted a solution that allowed us to simply change a single prefs file, and then the TeX calls inside of our HTML documents would be converted to HTML 3.2/?.? math instead of our 8bit-fancy TeX2HTML converter.
Our SolutionOur solution was to use a server-side filtering system that interfaced with a unix binary executable to convert TeX into 8bit-fancy HTML math.
Our authoring environment works like the following:
The function ctex (equivalent to $$ $$ in TeX) then sends the TeX to TeX2HTML for conversion and return to the page -- all on the fly!
Here is the output (since this is a PHP (.phtml) page):
With the purchase of our Web Authoring System we give you the code library and routines to allow you to author HTML with Math using TeX code right now.
When HTML 3.2/?.? Math is (ever) implemented, then you may, by changing one file slightly, have this engine convert TeX into HTML 3.2/?.? Math markup code. Thus, when (and if) this change ever occurs, you can automatically change all of your content pages.
The Web Authoring System works only on Unix webservers with PHP (.phtml) installed on the server (a very common shareware program available on most systems).
Our Web Authoring System can be modified very easily to work with HTML-script and Netscape's LiveWire - although we haven't done this ourselves, minor modifications in our code will produce the desired output.
The Web Authoring System comes with the TeX2HTML binary unix executable and the necessary PHP files. Cost: $550.
TeX2HTML is managed by
Robert Curtis and
Diane Housken of
WebPrimitives, Cambridge, Massachusetts, USA
Artwork by Jim Infantino
TeX2HTML webcasts from a series of Pentium II 266 MHz servers running FreeBSD Unix via a two fast T-3/DS-3 lines from Pittsburgh, Pennsylvania, USA
Making Your Mark
On The World-Wide-Web