Enabling math markup
Enabling math markup Organic Design procedure |
Contents
Example
The following maths code
Should give the following output
Build the texvc binary
OCaml 3.06 or later from caml.inria.fr is required to compile texvc
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.
LocalSettings.php customization
The following lines need to be added;
Transparency (not working on current versions)
I replaced the line defining the ImageMagick convert command in /wiki/math/render.ml which makes it output a transparent PNG and also increases the quality by rendering the vector larger and downsizing with the default Mitchell filter. After making changes to render.ml, you must rebuild the texvc executable by issuing a make clean and make.
You will then need to rebuild the texvc binary again with make clean && make
See also
- Thread on mwusers
- Articles containing maths
- There was a problem extracting the database on 13/11 due to duplicate entries in the math table, see 13 November 2006.