wiki:TracMathPlugin

Version 8 (modified by goranw, 7 years ago) (diff)

--

Support for LaTeX Math Formulas in Wiki Pages

Description

Allow embedded equations in wiki pages. Basically a port of mt-math to trac.

Installation

Normal plugin installation. The settings default to a linux environment where latex_cmd is /usr/bin/latex and dvipng_cmd is /usr/bin/dvipng, and cache_dir is /tmp/tracmath. You can override these settings by including in your trac.ini file settings such as:

[tracmath]
latex_cmd = <location of your latex binary>
dvipng_cmd = <location of dvipng>
cache_dir = <cache directory>
max_png = <max number of pngs in cache - defaults to 500>

Bugs/Feature Requests

Existing bugs and feature requests for TracMathPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracMathPlugin from here using Subversion, or browse the source with Trac.

Example

  {{{
  #!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:

Similar Plugins

Trac2LatexPlugin

Recent Changes

[11777] by rjollos on 2012-07-25 09:46:39
Added setup.cfg.
[3463] by rlotun on 2008-04-04 10:58:46
Applied patch by guyer@…
[3462] by rlotun on 2008-04-04 10:43:37
Applied patch by Immanuel Scholz <immanuel.scholz@…> to allow
Latex style '$$' syntax in wiki pages.

Author/Contributors

Author: rlotun
Contributors:

Attachments (1)

Download all attachments as: .zip