Downloads » Resources » mimeTeX » mimeTeX | 0.5.1

mimeTeX 0.5.1

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
2 vote(s).

This plugin lets you easily embed LaTeX math in your MODx documents.

Works with MODx Version(s): 0.9.5
Submitted: Apr 26th 2007 | License: GPL - GNU Public | Downloads: 628

Description

MimeTeX, licensed under the gpl, lets you easily embed LaTeX math in your html pages. It parses a LaTeX math expression and immediately emits the corresponding gif image, rather than the usual TeX dvi. And mimeTeX is an entirely separate little program that doesn't use TeX or its fonts in any way.

Instructions

1. In the MODx manager, go to `Resources > Plugins` and create a new plugin. Name it "mimeTeX", copy the contents of `mimeTeX.plugin.php` into it. Switch to "System Events" tab and check "OnWebPagePrerenderer" event. Save the plugin.

2. Copy mimetex.cgi (precompiled CGI for Linux) to your CGI folder. If it doesn't work try to download the mimeTeX source at http://www.forkosh.com/mimetex.html and compile it by your self. Open your mimeTeX plugin and change the $mimetex_url to your CGI file. If you don't have CGI support on your server or if you don't know how to install the CGI script, feel free to use mine at www.amdias.com/cgi-bin/mimetex.cgi, WITHOUT ANY WARRANTY!

3. That's all! Now just put your laTeX formulas inside <tex> tags as shown below:

<tex> laTeX formula </tex>

More...
Visit the mimeTeX page at www.forkosh.com/mimetex.html


( back to top )