The MathML Handbook (Charles River Media Internet & Web Design)

 < Day Day Up > 


1.3 Other Methods of Displaying Mathematics on the Web

Despite the importance of mathematics for scientific communication, few effective solutions to the problem of displaying mathematical notation in Web pages have been put forth. Most mathematical content currently available on the Web is based on using either images or Portable Document Format (PDF) files. However, both of these methods have severe limitations.

Images

The simplest way to include mathematical formulas in a Web page is to represent each formula as an image, typically in GIF or JPEG format. However, this approach has some severe drawbacks:

PDF Files

Another popular method for communicating mathematical content on the Web is using PDF files. The needed mathematical fonts are embedded in the PDF file, which leads to a high-quality, high-resolution document suitable for viewing and printing. However, PDF files suffer from several problems:

For these reasons, PDF files are at best a workaround to the problem and not a complete solution.

Other Markup Languages

Before the advent of the Web, scientists were already using markup languages to encode mathematics. In particular, the TeX system invented by Donald Knuth in 1986 was widely adopted by the physics and mathematics communities. However, TeX documents cannot be displayed on the Web without complex processing. Although, several tools and utilities to automatically convert TeX documents into HTML exist, they are difficult to use. Also, the equations are, in any case, stored as images so you encounter all the problems discussed earlier.

In addition, TeX is primarily a formatting language. It is designed only to encode information about the visual appearance of mathematics, not its meaning. TeX is therefore unsuitable for applications where the meaning of mathematics is important, such as computer algebra systems.

Other markup languages besides TeX have been developed to represent mathematics. The two most notable ones are ISO 12083 and OpenMath. ISO 12083 is a Standard Generalized Markup Lanugage (SGML) application for representing mathematical notation. Like TeX, ISO 12083 is a presentational language only and does not directly encode the meaning of mathematical expressions.

OpenMath, on the other hand, is a standard specifically developed for encoding the semantic meaning of mathematics (http://www.openmath.org). OpenMath uses content dictionaries written in a special XML format for defining the meaning of mathematical objects. In fact, MathML makes use of the OpenMath specification to define the logical meaning of all content elements that represent operators and functions. However, the focus of OpenMath is on describing semantics and it does not address the issue of representing mathematical notation at all. In a sense, OpenMath is like the converse of presentational languages like TeX and ISO 12083.


 < Day Day Up > 

Категории