wiki:AsciiMathMacro

ASCII-Math: Convert ASCII to MathML

Description

This macro allows equations to be written in a simple text format using a subset of the ASCIIMathML syntax. When the page is requested, the ASCII text is transformed into MathML, which can be rendered in any capable browser: Firefox for sure, IE with the MathPlayer plugin, maybe Opera.

No other executables, modules, or plugins are necessary for this to work.

See https://github.com/favalex/python-asciimathml for more info.

This code is licensed under GNU GPL Version 3.

Bugs/Feature Requests

Existing bugs and feature requests for AsciiMathMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out AsciiMathMacro from here using Subversion, or browse the source with Trac.

Example

To create a MathML representation of the Pythagorean theorem:

{{{#!ASCIIMath
a^2 + b^2 = c^2
}}}

and the resulting wiki page's source should now contain properly formatted MathML code for display.

For more information about formatting the ASCII code describing the equation, see the ASCIIMathML documentation. Some items might not display exactly as shown.

Recent Changes

10848 by ArmstrongJ on 2011-10-27 21:30:38
Initial code commit.
10847 by ArmstrongJ on 2011-10-27 21:22:21
New hack AsciiMathMacro, created by ArmstrongJ
(more)

Author/Contributors

Author: ArmstrongJ
Maintainer: Jeffrey Armstrong
Contributors:

Last modified 8 months ago Last modified on Nov 11, 2015, 4:35:16 PM