| | 1 | [[PageOutline(2-5,Contents,pullout)]] |
|---|
| | 2 | |
|---|
| | 3 | = ASCIIMath: Convert Simple ASCII to MathML = |
|---|
| | 4 | |
|---|
| | 5 | == Description == |
|---|
| | 6 | |
|---|
| | 7 | This macro allows equations to be written in a simple text format using |
|---|
| | 8 | a subset of the !ASCIIMathML syntax. When the page is requested, the |
|---|
| | 9 | ASCII text is transformed into [http://en.wikipedia.org/wiki/MathML MathML], which can be rendered in any capable browser (Firefox for sure, IE with !MathPlayer plugin, maybe Opera). |
|---|
| | 10 | |
|---|
| | 11 | No other executables, modules, or plugins are necessary for this to work. |
|---|
| | 12 | |
|---|
| | 13 | See [https://github.com/favalex/python-asciimathml] for more info. |
|---|
| | 14 | |
|---|
| | 15 | This code is licensed under GNU GPL Version 3. |
|---|
| | 16 | |
|---|
| | 17 | == Bugs/Feature Requests == |
|---|
| | 18 | |
|---|
| | 19 | Existing bugs and feature requests for AsciiMathMacro are |
|---|
| | 20 | [report:9?COMPONENT=AsciiMathMacro here]. |
|---|
| | 21 | |
|---|
| | 22 | If you have any issues, create a |
|---|
| | 23 | [http://trac-hacks.org/newticket?component=AsciiMathMacro&owner=ArmstrongJ new ticket]. |
|---|
| | 24 | |
|---|
| | 25 | == Download == |
|---|
| | 26 | |
|---|
| | 27 | Download the zipped source from [download:asciimathmacro here]. |
|---|
| | 28 | |
|---|
| | 29 | == Source == |
|---|
| | 30 | |
|---|
| | 31 | You can check out AsciiMathMacro from [http://trac-hacks.org/svn/asciimathmacro here] using Subversion, or [source:asciimathmacro browse the source] with Trac. |
|---|
| | 32 | |
|---|
| | 33 | == Example == |
|---|
| | 34 | |
|---|
| | 35 | This macro is relatively simple to use. For example, to create a MathML |
|---|
| | 36 | representation of the Pythagorean theorem, one would enter |
|---|
| | 37 | |
|---|
| | 38 | {{{ |
|---|
| | 39 | {{{ |
|---|
| | 40 | !#ASCIIMath |
|---|
| | 41 | a^2 + b^2 = c^2 |
|---|
| | 42 | }}} |
|---|
| | 43 | }}} |
|---|
| | 44 | |
|---|
| | 45 | and the resulting wiki page's source should now contain properly formatted MathML code for display. |
|---|
| | 46 | |
|---|
| | 47 | For more information about formatting the ASCII code describing the equation, |
|---|
| | 48 | see http://www1.chapman.edu/~jipsen/mathml/asciimath.html. Some items might |
|---|
| | 49 | not display exactly as shown. |
|---|
| | 50 | |
|---|
| | 51 | == Recent Changes == |
|---|
| | 52 | |
|---|
| | 53 | [[ChangeLog(asciimathmacro, 3)]] |
|---|
| | 54 | |
|---|
| | 55 | == Author/Contributors == |
|---|
| | 56 | |
|---|
| | 57 | '''Author:''' [wiki:ArmstrongJ] [[BR]] |
|---|
| | 58 | '''Maintainer:''' [wiki:ArmstrongJ] [[BR]] |
|---|
| | 59 | '''Contributors:''' |