Contents
Render mathematical expressions in Trac using MathJax
Notice: This plugin is unmaintained and available for adoption.
Description
This plugin uses MathJax to display mathematical expressions on Trac wiki pages, tickets, milestones or blogs. MathJax is a crossbrowser JavaScript library that displays mathematical notation in web browsers, using MathML, LaTeX and ASCIIMathML markup. MathJax is released as opensource software under the Apache License.
Usage of this plugin in your wiki is in the following ways:
 inline, also known as macro
 wikiprocessor
This WikiProcessor uses the math
keyword for LaTeX rendering, including TikZ.
Example of inline syntax:
[[math(f(z_{0})=\frac{1}{2\pi i}\int_{\leftz\right=1}\frac{f(z)}{zz_{0}}{\mathrm{d}z})]]
Example of wikiprocessor:
{{{#!math f(z_{0})=\frac{1}{2\pi i}\int_{\leftz\right=1}\frac{f(z)}{zz_{0}}{\mathrm{d}z} }}}
Both of these examples produce the following result:
See also:
 LatexFormulaMacro Render Latex formula to image
 LatexMacro LateX support in wiki pages
 TracBibPlugin Add bibliographic references to wiki pages
 TracMathJaxPlugin Render mathematical expressions in Trac using MathJax
Bugs/Feature Requests
Please use GitHub for any issues you have.
Download
Download the zipped source from here.
The plugin is also available on PyPI.
Source
You can clone from here using git, or browse the source on GitHub.
Installation
Enter the following on the command line:
pip install MathJaxPlugin
For more information, please follow documentation on how to install Trac plugins.
Configuration
Depending on the version of MathJax you require you may have to update the MATHJAX_URL
to the library, for example to https://cdnjs.com/libraries/mathjax.
Author/Contributors
Authors: kisielk, mitar
Maintainer: none (needsadoption)
Contributors:
Attachments (2)

mathjaxexample.gif (256 bytes)  added by 8 years ago.
MathJAX example

cauchyintegral.png (1.4 KB)  added by 3 years ago.
Cauchy integral formula
Download all attachments as: .zip