Difference between revisions of "Enabling math markup"
From Organic Design wiki
m (→See also) |
m (→Build the texvc binary) |
||
Line 13: | Line 13: | ||
*Run ''make'' from within the MediaWiki's ''math'' directory to build the ''texvc'' binary on your system. | *Run ''make'' from within the MediaWiki's ''math'' directory to build the ''texvc'' binary on your system. | ||
*Make sure the directories ''tmp'' and ''math'' under 'images' exist and are writable. | *Make sure the directories ''tmp'' and ''math'' under 'images' exist and are writable. | ||
+ | *'''Note:''' on Debian 7 we also required the '''texlive-latex-extra''' package. | ||
== Example == | == Example == |
Revision as of 17:52, 3 July 2013
Enabling math markup Organic Design procedure |
As of MediaWiki version 1.18 the math rendering has been put into the Math extension. See MW:Manual:Math for more details. To download the latest version of the extensions, use:
Note that as of MediaWiki 1.19, the extension repository has become out of sync with the codebase and a specific version needs to be used which you can download from [1].
Build the texvc binary
Enabling math markup requires latex, dvips, gs, and convert. OCaml 3.06 or later from caml.inria.fr is required to compile texvc. On Debian-based systems the requirements can be installed with the following packages:
- Run make from within the MediaWiki's math directory to build the texvc binary on your system.
- Make sure the directories tmp and math under 'images' exist and are writable.
- Note: on Debian 7 we also required the texlive-latex-extra package.
Example
The following maths code
Should give the following output
See also
- MW:Manual:Math
- MW:Extension:Math
- MW:Manual:Enable TeX
- MW:Manual:Running MediaWiki on Debian GNU/Linux#TeX_Support
- MW:Manual:Troubleshooting math display errors
- There was a problem extracting the database on 13/11 due to duplicate entries in the math table, see 13 November 2006.