wiki:AsciiMathMacro

Version 1 (modified by ArmstrongJ, 5 years ago) (diff)

New hack AsciiMathMacro, created by ArmstrongJ

ASCIIMath: Convert Simple 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 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 [download:asciimathmacro here].

Source

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

Example

This macro is relatively simple to use. For example, to create a MathML representation of the Pythagorean theorem, one would enter

  {{{
  !#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 http://www1.chapman.edu/~jipsen/mathml/asciimath.html. Some items might not display exactly as shown.

Recent Changes

15929 by rjollos on 2016-10-18 00:27:00
1.0: Change format of version metadata
15927 by rjollos on 2016-10-18 00:19:44
1.0: Use project URL rather than repository URL in metadata
15925 by rjollos on 2016-10-18 00:13:18
1.0: Add svn:keywords so that metadata is expanded
(more)

Author/Contributors

Author: ArmstrongJ
Maintainer: ArmstrongJ
Contributors:

Attachments (1)

Download all attachments as: .zip