History

History

MathML 1 was released as a W3C recommendation in April 1998 as the first XML language to be recommended by the W3C. Version 1.01 of the format was released in July 1999 and version 2.0 appeared in February 2001. In October 2003, the second edition of MathML Version 2.0 was published as the final release by the W3C math working group. In June 2006 the W3C has rechartered the MathML Working Group to produce a MathML 3 Recommendation until February 2008 and in November 2008 extended the charter to April 2010. A sixth Working Draft of the MathML 3 revision was published in June 2009.

MathML was originally designed before the finalization of XML namespaces. As such, MathML markup is often not namespaced, and applications that deal with MathML, such as the Mozilla browsers, do not require a namespace. For applications that wish to namespace MathML, the recommended namespace URI is - http://www.w3.org/1998/Math/MathML

**Presentation and semantics**

MathML deals not only with the presentation but also the meaning of formula components (the latter part of MathML is known as “Content MathML”). Because the meaning of the equation is preserved separate from the presentation, how the content is communicated can be left up to the user. For example, web pages with MathML embedded in them can be viewed as normal web pages with many browsers but visually impaired users can also have the same MathML read to them through the use of screen readers ( e. g. using the MathPlayer plugin for Internet Explorer, Opera 9.50 build 9656+ or the Fire Vox extension for Firefox).

**Presentation MathML**

Presentation MathML focuses on the display of an equation, and has about 30 elements, and 50 attributes. The elements all begin with m and include token element: x - identifiers; + - operators; 2 - number. Tokens are combined using layout elements that include: - a row; - superscripts; mfrac - fractions. The attributes mainly control fine details of the presentation. A large number of entities are available that represent letters π, symbols → and some non-visible character such as ⁢ representing multiplication.

**Content MathML**

Content MathML focuses on the semantic meaning of the expression. Central to Content MathML is the element that represents a function or operator, given in the first child, applied to the remaining child elements. For example x represents sin(x) and x 5 represents x+5. The element represents an identifier, a number, and there are over a hundred different elements for different functions and operators. Content MathML uses only a few attributes.

The expression ax2 + bx + c could be represented as

$$

$$

**Embedding MathML in XHTML files**MathML, being XML, can be embedded inside other XML files such as XHTML files using XML namespaces. Recent browsers such as Firefox 3+ and Opera 9.6+ (support incomplete) can display MathML embedded in XHTML.

**Software support**

Editors

Editors

Some editors with native MathML support (including copy and paste of MathML) are Publicon from Wolfram Research and SciWriter from soft4science.

MathML is also supported by major office products such as OpenOffice.org, KOffice, and MS Office 2007, as well as by mathematical software products such as Mathematica and the Windows version of the Casio ClassPad 300. The W3C Browser/Editor Amaya can also be mentioned as a WYSIWYG MathML-as-is editor.

FireMath, an addon for Firefox, provides a WYSIWYG MathML editor.

Most editors will only produce presentation MathML. The MathDox formula editor is an OpenMath editor also providing presentation and content MathML.

**Conversion**

Several utilities for converting mathematical expressions to MathML are available, including converters between TeX and MathML. ConTeXt does the reverse and uses TeX for typesetting MathML (usually resulting in PDF documents). MathType from Design Science allows users to create equations in a WYSIWYG window and export them as MathML. Also, Wolfram Research provides a web page to convert typed mathematical expressions to MathML.

GNU TeXmacs is a WYSIWYG editor with extensive support for mathematics. Converters exist for presentation MathML in both directions. TeXmacs can be used to write mathematical articles that are exported to XHTML with embedded MathML. Another WYSIWYG MathML-as-is editor, Formulator MathML Weaver provides a means for importing/exporting MathML with support for some abstract entities such as ⅇ and ⅆ.

**Web browsers**

Of the major web browsers, those that directly support the format are recent versions of Gecko browsers (e.g., Firefox and Camino), and the Opera web browser since version 9.5.

For Gecko-based browsers, the user is currently required to download special fonts in order to display MathML correctly; this is likely to change soon with the release of the STIX fonts.

Opera, since version 9.5, supports MathML for CSS profile, but it is unable to position diacritical marks properly. Before version 9.5 it required User JavaScript to emulate MathML support.

Internet Explorer does not support MathML out of the box. Support can be added by installing the MathPlayer plugin.

**Web conversion**

ASCIIMathML provides a JavaScript library to rewrite a convenient Wiki-like text syntax used inline in web pages into MathML on the fly; it works in Gecko-based browsers, and Internet Explorer with MathPlayer. LaTeXMathML does the same for (a subset of) the standard LaTeX mathematical syntax. ASCIIMathML syntax would also be quite familiar to anyone used to electronic scientific calculators.

Blahtex is a TeX-to-MathML converter intended for use with MediaWiki.

Equation Server for .NET from soft4science can be used on the server side (ASP.NET) for TeX-Math (Subset of LaTeX math syntax) to MathML conversion. It can also create bitmap images (Png, Jpg, Gif,…) from TeX-Math or MathML input.

**Support of software developers**

Support of MathML format accelerates software application development in such various topics, as computer-aided education (distance learning, electronic textbooks and other classroom materials); automated creation of attractive reports; computer algebra systems; authoring, training, publishing tools (both for web and desktop-oriented), and many other applications for mathematics, science, business, economics, etc. Several software vendors propose a component edition of their MathML editors, thus providing the easy way for software developers to insert mathematics rendering/editing/processing functionality in their applications. For example, Formulator ActiveX Control from Hermitech Laboratory can be incorporated into an application as a MathML-as-is editor, Design Science propose a toolkit for building web pages that include interactive math (WebEQ Developers Suite).

**Other standards**

Another standard called OpenMath that has been designed (largely by the same people who devised Content MathML) more specifically for storing formulae semantically can also be used to complement MathML. OpenMath data can be embeded in MathML using the

The OMDoc format has been created for markup of larger mathematical structures than formulae, from statements like definitions, theorems, proofs, or example, to theories and text books. Formulae in OMDoc documents can either be written in Content MathML or in OpenMath; for presentation, they are converted to Presentation MathML.

The ISO/IEC standard Office Open XML (OOXML) defines a different XML math syntax, derived from Microsoft Office products. However, it is partially compatible through relatively simple XSL Transformations.

## Post a Comment