(Excerpt from "The MathML Handbook" by Pavi Sandhu)

Amaya is the test browser developed by the W3C for demonstrating new Web technologies. It is available for Windows and some Unix platforms. Like Mozilla, Amaya supports only native display of presentation MathML. However, unlike Mozilla, Amaya does not include support for XSLT transformations. Hence, it cannot be used to display content MathML using the Universal MathML stylesheet.

To view MathML content in Amaya, you must enclose each instance of MathML in an outer math element, as required by the MathML specification. However, there is no need to use a namespace prefix or any additional HTML elements to embed the markup in the HTML document. This allows you to freely mix MathML markup along with the usual HTML tags for displaying text and images. The following example shows a simple document that contains MathML, suitable for display in Amaya. The following figure shows how the document appears when viewed in Amaya.

Example: A sample document for displaying MathML in Amaya.

  <head><title>MathML Example</title></head>
    <p>Here is a simple equation.</p>

HTML containing MathML, as displayed by Amaya

Figure: An HTML document that contains MathML markup, as displayed by Amaya.

Amaya also provides a Structure view (see the following figure), which reveals the hierarchical structure of the markup for the document being displayed. To see this view, choose Show structure from the Views menu. This feature is particularly useful for MathML equations, since you can see the relationship between the various MathML elements.

Same document in Amaya 's Structure view

Figure: The same document seen in Amaya 's Structure view.

Since Amaya does not contain any special fonts for mathematical symbols, it has only limited support for displaying extended characters. The only extended characters that can be displayed are those found in the Symbol font. A question mark (?) is displayed in place of any character entities for which fonts are not available.

Amaya also provides limited support for authoring and editing MathML equations. To build up MathML expressions you can either use templates from a palette or use menu commands. Amaya automatically inserts the appropriate presentation tags around your input. Details of using Amaya for authoring MathML are given under Authoring and editing MathML: Amaya.


<< back next >>




Tipp der data2type-Redaktion:
Zum Thema MathML bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an:


Copyright © CHARLES RIVER MEDIA, INC., Massachusetts (USA) 2003
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "The MathML Handbook" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.

CHARLES RIVER MEDIA, INC., 20 Downer Avenue, Suite 3, Hingham, Massachusetts 02043, United States of America