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 a scientific calculator with MathML preview is included.
This script translates calculator-style math formulas (and some LaTeX) into MathML that display nicely in Mozilla/Firefox/Netscape and IE+MathPlayer. Current version needs only one line to load the script, and includes a calculator and editor.
ASCIIMathML.js is a JavaScript that converts calculator-style ASCII math notation (and many LaTeX formulas) to Presentation MathML while your webpage loads. It works with HTML and XHTML files in
Mozilla/Firefox/Netscape 7+ browsers on Linux, Macintosh and Windows computers, as well as in Internet Explorer 6+MathPlayer.
For example, the solutions for the equation `ax^2+bx+c=0` are typed 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 bloggs, as a rudimentary MathML editor (with instant preview), and to preview math formulas as they are typed into a webpage input area.