[HOME] jsMath (Authors) [Prev][Up][Skip][Next]

The mimeTeX plugin

Some authors who have been using programs like mimeTeX to generate images for their pages on the fly may find it convenient to use jsMath instead, as there is no need to generate images when you use jsMath. This is particularly useful for bulletin-board systems or blogs, as it simplifies the installation, since you don't have to have mimeTeX installed and working on the server. Some service providers do not allow you to run external programs like mimeTeX on their servers, so jsMath may be particularly valuable in those situations.

Some of the commands processed by mimeTeX are not standard TeX commands, and it treats others in a somewhat non-standard way, so if you have been using mimeTeX and wish to convert to jsMath, you may find that jsMath does not handle some of your previous content.

The mimeTeX plugin for jsMath can help make this transition smoother. It implements many of the extra commands from mimeTeX, and converts others to work more like how mimeTeX does. It is not perfect, but goes a long way toward making jsMath compatible with mimeTeX input.

One major limitation is that jsMath does not implement the LaTeX picture environment (which is available in mimeTeX), so jsMath will not be able to display content that contains mimeTeX pictures.

There are several ways to load the mimeTeX plugin. If you are using the easy/load.js file to load jsMath, then add "extensions/mimeTeX.js" to the loadFiles array. For example:

     loadFiles: ["extensions/mimeTeX.js"],
should do the trick.

If you are using the autoload plugin instead of easy/load.js, add "extensions/mimeTeX.js" to the jsMath.Autoload.loadFiles array. Alternatively, if you are loading jsMath.js by hand, include the line

    <SCRIPT> jsMath.Extension.Require("mimeTeX") </SCRIPT>
just after the command that loads jsMath.js itself. No other modifications are needed to make the mimeTeX commands available to the mathematics processed by jsMath.

Get jsMath at SourceForge.net. Fast, secure and Free Open Source software downloads [HOME] jsMath web pages
Created: 10 Jul 2005
Last modified: 13 Sep 2008 08:29:14
Comments to: dpvc@union.edu
[Next] The smallFonts plugin
[Skip] Browser Support for jsMath
[Up] Information for jsMath Authors
[Prev] The autoload plugin