Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 1 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

math_env

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.

Installation

  1. Compile or download mimetex.cgi (http://www.forkosh.com/mimetex.html)
  2. Upload mimetex.cgi to your cgi_bin directory
  3. Copy the content of math_env.php (see download link) into the textarea in the Administration -> Plugins section of Textpattern
  4. Change the path to the mimetex.cgi in the plugins’ preferences
  5. Activate the plugin

Usage

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.

Article Request Count:
Initially released:
Aug. 31, 2010
Posted here:
15 Aug 2012

You know you want to visit the Archives.
Published with Textpattern