B. Contents of the "MathML support" add-on

The "MathML support" add-on contains:

  1. A configuration which allows to create standalone documents conforming to the MathML 2 schema[6] (presentation markup only, content markup is not supported).

    Such standalone documents are typically used the way graphics files are. XHTML example: <img src="equations/equation1.mml"/>.

    Note that this configuration adds not only a MathML menu to the GUI, but also a MathML tool just below the Edit tool, at the top/right of the main window.

  2. A customization of the DocBook 5 configuration. This customization allows to edit MathML elements embedded in DocBook 5 documents (by the means of elements such as imagedata, equation, inlineequation, etc).

    This customization also adds a "Insert MathML Character by Name" item to the DocBook menu and extends the table editing commands in order to support the mml:mtable element and its descendants.

    A sample DocBook 5 document containing math is found in mathml_addon_install_dir/db5mml/sample.xml.

  3. A customization of the DITA Topic configuration.

    This customization adds the same facilities as the above DocBook 5 customization.

    A sample DITA Topic document containing math is found in mathml_addon_install_dir/ditamml/sample.dita.

  4. An image toolkit similar to the one based on JEuclid.

    Note that installing this add-on also requires installing the add-on called "JEuclid image toolkit plug-in". That gives us two image toolkits which allow to convert MathML to a variety of graphics formats:

    • The ``internal'' image toolkit is needed to render the contents of the MathML tool[7].

    • The JEuclid This image toolkit is used when XML documents embedding MathML or referencing MathML files are converted to formats such as HTML, PDF, RTF, etc.

Compatibility with other customizations of the DocBook 5 or DITA Topic configurations

Because this add-on customizes the stock DocBook 5 configuration bundled with XMLmind XML Editor, it is not possible to install it in conjunction with other add-ons which also customize the DocBook 5 configuration.

The same limitation applies to other customizations of the DITA Topic configuration.



[6] Opening a document starting with:

<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"
"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">

will of course cause the DTD to be used instead of the W3C XML Schema.

[7] Yes, just the contents of the MathML tool.