Displaying Mathematical Equations in Web Browsers on the Internet
A Users Viewpoint
Other web sites are free to link to this site.

L. David Roper (roperld@vt.edu)
http://arts.bev.net/RoperLDavid
April 2000

Introduction

In my forty years of using computers my maxim has been "Make it simple to use and capable of doing everything." When I was introduced to the Multics computer operating system in the early 1970s, I began to realize that my maxim could possibly come true some day in the dim future. The Macintosh computer interested me until I tried several incarnations of it and realized that it only satisfied the first part of the maxim. Finally, the arrival of Windows 2000 and attendant hardware and software has made the maxim appear inevitable in the near future. I now apply the maxim to the problem of displaying and printing mathematics on the Internet.

Mathematicians and scientists need to have an easy-to-use capability to display mathematical equations in documents on the Internet by means of a web browser. (The two major web browsers are Netscape and Microsoft Internet Explorer.) For a general discussion of how this has been done in the past see Approaches to WWW Mathematics Documents.

In the past the first way to do this was to create the equations in some equation-creating editor (such as MathType), create a graphics file for each equation, and then embed the graphics files in the HyperText Markup Language (HTML) code for the document. (HTML itself does not allow displaying mathematics.) This is very cumbersome, requiring two programs for file creation and the handling of many files. (Other problems with this approach are described in Mathematics on the Web: MathML and MathType.)

TEX Mathematical Typesetting Program

For the last several decades the standard protocol for creating, display and printing mathematical equations with a computer has been TEX. For example, the American Mathematical Society has adopted TEX as its standard for mathematical typesetting.  TEX files are standard text markup files, which can be created in any text editor.

For several years I have used Scientific Word/WorkPlace as a WYSIWYG editor (SW) for creating TEX files, as well as a Maple symbolic-mathematics front end (SWP). A non-WYSIWYG specialized TEX editor is WinTex. One can also use MathType to convert equations to TEX code and then insert that code into a TeX file.

XML Extensible Markup Language MathML Subset

A major effort is underway to replace HTML with Extensible Markup Language (XML), which has a subset  Mathematical Markup Language (MathML). For excellent discussions of the status of MathML see Mathematics on the Web: MathML and MathType and More Versatile Scientific Documents. There is an Introduction to MathML.

There are various programs that can produce MathML code to be inserted into an HTML document. Some of them are:

Apparently, a complete system (a complete WYSIWYG HTML/MathML editor and compatible useable browser) is not yet available for HTML/MathML. MathML capability needs to be incorporated into the major HTML editors (e.g., Microsoft FrontPage and HotMetal) and the two major browsers as a standard feature. There is a specialized browser for MathML, Amaya, but it does not handle well the standard features of web browsers.

EZMath

Another approach to displaying mathematics on the web that is especially easy is EZMath by Hewlett-Packard, which involves a WYSIWYG editor and a browser plug-in that can be downloaded free. The output of the editor is either an object to be embedded in an HTML file or MathML code. There are two major problems with the embedded approach:

TEX to the Internet

In the meantime, now that the Internet has become the premier place for fast dissemination of scientific information and since there are already many TeX documents that could be put on the Internet, a method is needed to display TeX documents in the two major web browsers (Netscape and Microsoft Internet Explorer) with a minimum of effort. I know of the following ways to do this:

Occasionally for math documents with no Internet links I use the last of these options to convert TEX documents into PDF documents to view on the web. I create the documents with Scientific Word/WorkPlace and create the PDF file by printing to PDF Writer.

In the near future I will use Scientific Word/WorkPlace to create all math documents to be put on the Internet. At the link site I will inform the user that she/he can download the free Scientific Viewer to view the document from within the browser.

Conclusion

To be able to easily produce mathematical documents that anyone can read and print on the Internet the following are needed:

  1. A WYSWYG full word processor with mathematics formatting capability that can produce MathML and TEX files with web links. Scientific Word/WorkPlace produces TEX files which can be viewed from within a browser with the free Scientific Viewer. I am told that it will produce MathML files in the future. It appears that Publicon will satisfy this when it finally is released. One hopes that its price will be reasonable, so that it can be widely used.
  2. Viewing capabilities in the standard browsers for MathML and TEX files with web links, without any plug-ins added. If this is not possible, then free full-capability plug-ins are needed for the standard browsers. One can view TEX files now with the free Scientific Viewer.

The TEX read/print capability is needed, as well as MathML capability, because a huge inventory of TEX files already exists.