This plugin features simple LaTeX-like rendering of mathematical formulae without the need of having shell access to the server or an installed LaTeX distribution. Rendering is done using Mimetex.
- Compile or download mimetex.cgi (http://www.forkosh.com/mimetex.html)
- Upload mimetex.cgi to your cgi_bin directory
- Copy the content of math_env.php (see download link) into the textarea in the Administration -> Plugins section of Textpattern
- Change the path to the mimetex.cgi in the plugins’ preferences
- Activate the plugin
You use this plugin the following way:
<txp:math_env>x^2 = 0</txp:math_env>
…this will, e.g., print out the given equation “x^2 = 0” as a nicely rendered image.