MathML

MathML (Mathematics Markup Language) is a way to represent mathematical content on web pages. At the present time (2009) it is well developed, and many browsers support it.

There are 3 fundamental issues

  1. Defining markup language ("tags")
  2. Creating MathML
  3. Rendering MathML

Introduction to latest version of MathML ...

Home page for MathML on W3C

History of MathML [www.w3.org] Click on the page to go to the next slide...

History of XML [www.w3.org] (1996-2001). XML is a descendent of SGML which originated in the late 1960's.


More Math ML Links


Creating MathML using Maple

First Step: Download the following files, and place them in the directory containing your XML/HTML file:

Next, Create a MTHML expression by running the Maple script
(via maple < mathml.ms)
> expr := Diff(y(x),x$2)+y(x)=1;
> expr1 := MathML:-Export( expr );
> writeto("output");
> XMLTools:-Print( expr1);
Next, strip off the first and last two lines of the file output, to get the following file:

Finally, insert the output file in the middle of the template file.

Note: Alternately, download templatea.html and templateb.html and run

cat templatea.html output templateb.html > test4.html
Make sure everything is readable (run chmod 644 *.*)

The resulting file is found in test3.html.

The file can be viewed by IE 6.0 with the MathPlayer plugin by Design Science.

To view it under Netscape 6.1 or later, you must rename it to test3.xml. IE can read either the .html or .xml extension.


There are some hand tools for generating and parsing MathMa from Wolfram, Inc.