Projects / ASCIIMathML


ASCIIMathML is a script that converts calculator-style ASCII math notation (and many LaTeX formulas) to Presentation MathML while your Web page loads. It works with HTML and XHTML files in Mozilla/Firefox/Netscape 7+ browsers, as well as in Internet Explorer 6 with MathPlayer. For example, the solutions for the equation 'ax^2+bx+c=0' are expressed in the HTML file as '(-b +- sqrt(b^2 - 4ac))/(2a)', and display as nicely formatted MathML. The script can be easily used in wikiservers and blogs, as a rudimentary MathML editor (with instant preview), and to preview math formulas as they are typed into a Web page input area.

Operating Systems

Recent releases

  •  30 Sep 2007 07:13

    Release Notes: The ASCIIMathML.js script enables users to easily include mathematical formulas and graphs in Web pages (simplified LaTeX and graphics commands are converted to MathML+SVG while the Web page loads). The license is now GNU LGPL. The script produces interactive graphs that readers of the Web page can change locally. It now easily integrates in course management systems like Moodle. A new auto-math-recognize mode has been added. MathML text labels can be included on SVG graphs, and the SVG cursor tracking in Firefox has improved. A scientific calculator with MathML preview is included.

    •  14 Aug 2005 07:48

      Release Notes: ASCIIMathML.js can now be used on any HTML page by just adding one line to load the script. So validating your HTML pages is now possible, and use of HTML editors is simple. There is also a "newcommand" function that allows simple macros and additional symbols to be added easily. The script is backward compatible with earlier versions, so upgrading should be no problem.

      •  29 Dec 2004 19:42

        Release Notes: In this release there are two bugfixes, some symbols have been added, and there is also an example where ASCIIMathML is used for a scientific calculator with live MathML output.

        •  17 Aug 2004 22:31

          Release Notes: This release makes it easy to put mathematical notation on Web pages by translating standard math syntax into MathML while the Web page loads. If a browser is not (yet) able to display MathML, this version puts a note at the top of any Web page using the ASCIIMathML.js script. The note indicates how to view pages with MathML. Minor updates to the ASCIIMathML.js file include fixing a bug and adding the stackrel command.

          •  18 Jul 2004 23:44

            No changes have been submitted for this release.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.