| 1 | = Latex support in wiki pages = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This macro renders Latex code in wiki pages as PNG images. |
| 6 | |
| 7 | LatexMacro is a port of [https://labs.truelite.it/packages/wiki/TrueliteTracUtils latex-math] for Trac 0.11 with some inspiration from [http://trac-hacks.org/wiki/Trac2LatexPlugin trac2latex]. |
| 8 | |
| 9 | == Requirements == |
| 10 | |
| 11 | * Latex |
| 12 | * dvipng |
| 13 | |
| 14 | == Bugs/Feature Requests == |
| 15 | |
| 16 | Existing bugs and feature requests for LatexMacro are |
| 17 | [report:9?COMPONENT=LatexMacro here]. |
| 18 | |
| 19 | If you have any issues, create a |
| 20 | [http://trac-hacks.org/newticket?component=LatexMacro&owner=jeangui new ticket]. |
| 21 | |
| 22 | == Download == |
| 23 | |
| 24 | Download the zipped source from [download:latexmacro here]. |
| 25 | |
| 26 | == Source == |
| 27 | |
| 28 | You can check out LatexMacro from [http://trac-hacks.org/svn/latexmacro here] using Subversion, or [source:latexmacro browse the source] with Trac. |
| 29 | |
| 30 | == Example == |
| 31 | |
| 32 | {{{ |
| 33 | {{{ |
| 34 | #!Latex |
| 35 | $\frac{\alpha^{\beta^2}}{\delta + \alpha}$ |
| 36 | }}} |
| 37 | }}} |
| 38 | This code will produce a PNG image, inserted directly in the body of the wiki page. |
| 39 | |
| 40 | == Recent Changes == |
| 41 | |
| 42 | [[ChangeLog(latexmacro, 3)]] |
| 43 | |
| 44 | == Author/Contributors == |
| 45 | |
| 46 | '''Author:''' [wiki:jeangui] [[BR]] |
| 47 | '''Contributors:''' |