Changes between Version 42 and Version 43 of TracMathPlugin

Ignore:
Timestamp:
Sep 12, 2016, 6:11:48 PM (15 months ago)
Comment:

Further cosmetic changes

Legend:

Unmodified
 v42 [[PageOutline(2-5,Contents,pullout)]] = Support for LaTeX Math Formulas in Wiki Pages = Support for LaTeX Math Formulas in wiki pages == Description This is a processor that allows you to embed mathematical equations in wiki pages. It is basically a port of [http://www.amk.ca/python/code/mt-math mt-math] to Trac. This is a processor that allows you to embed mathematical equations in Trac wiki pages. It is basically a port of [http://www.amk.ca/python/code/mt-math mt-math] to Trac. Adding the following lines in your wiki page or ticket description: {{{ {{{#!latex $\mbox{Var}[\tau(X_p,X_d)]=\mbox{Var}[E(\tau(X_p,X_d)|X_p)]+E[\mbox{Var}(\tau(X_p,X_d)|X_p)]$ }}} }}} would produce something akin to: [[Image(test1.png)]] '''Other features:''' * links for any \label{} that appears, eg \label{eq1} will allow you link to the output image via SomeWikiPage#eq1. * you can use the '$' latex syntax instead, provided use_dollars is enabled in your configuration. See also: [[ListTagged(realm:wiki LaTeX)]] == Installation '''Requirements''': pdflatex and [http://www.ghostscript.com/ ghostscript], available as packages on most Linux distributions. Unpack your download. Go to the top level directory of !TracMath and type: }}} == Additional Requirements pdflatex and [http://www.ghostscript.com/ ghostscript], available as packages on most Linux distributions. If you encounter an error: "LaTeX Error: File preview.sty not found", install also packages: cm-super and texlive-latex-extra. == Example Adding the following lines in your wiki page or ticket description: {{{ {{{ #!latex$\mbox{Var}[\tau(X_p,X_d)] = \mbox{Var}[E(\tau(X_p,X_d)|X_p)] E[\mbox{Var}(\tau(X_p,X_d)|X_p)]$}}} }}} would produce something akin to: [[Image(test1.png)]] '''Other features:''' * links for any \label{} that appears, eg \label{eq1} will allow you link to the output image via SomeWikiPage#eq1. * can use '$' latex syntax instead, provided use_dollars is enabled in config. == Release Notes