Version 3 (modified by Adrian Fritz, 8 years ago) (diff)

See also: TracMathPlugin, LatexFormulaMacro, Trac2LatexPlugin, LatexMacro


Notice: This plugin is unmaintained and available for adoption.


A plugin for rendering math in Trac using MathJax. Unlike the TracMathPlugin, this plugin performs all rendering on the client side using web fonts.

See also: TracMathPlugin, LatexFormulaMacro, Trac2LatexPlugin, LatexMacro

Download and Source

Download the 0.1 release in zip, gz, or bz2 format.

For the latest changes, check out the source using Hg, or browse it on Bitbucket.


Unpack your download. Go to the top level directory of TracMathJax and type:

 $ python bdist_egg

This should create an egg file under the dist subdirectory of your current directory. Copy the egg to the plugins directory of your trac project. If you have any difficulties installing consult these trac plugin installation steps.

Next, download a copy of MathJax and install it on your server to a location readable by the web server.

To activate the component, edit your project's trac.ini file to include:

 tracmathjax.* = enabled

Also create a new section called [tracmathjax] and configure the path to where you unpacked MathJax:

mathjax_path = /path/to/mathjax

For additional customization of the display output, see the MathJax documentation.

Bugs/Feature Requests

Existing bugs and feature requests for TracMathJaxPlugin are here.

If you have any issues, create a new ticket.


To display math inline, enter LaTeX equation in between a pair of \( and \) brackets:

Here is an inline equation: \( y = x^2 \)

To display a block of math, either enter it between a pair of $$ characters:

Here is a block equation: $$ y = x^2 $$

or use the latex processor:

y = x ^ 2

Release Notes


  • Initial release


Author: kisielk
Maintainer: kisielk

Attachments (1)

Download all attachments as: .zip