Some authors who have been using programs like
mimeTeXto 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
mimeTeXinstalled 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
mimeTeXare not standard TeX commands, and it treats others in a somewhat non-standard way, so if you have been using
mimeTeXand wish to convert to jsMath, you may find that jsMath does not handle some of your previous content.
mimeTeXplugin 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
mimeTeXdoes. It is not perfect, but goes a long way toward making jsMath compatible with
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
There are several ways to load the
mimeTeXplugin. If you are using the
easy/load.jsfile to load jsMath, then add
loadFilesarray. For example:loadFiles: ["extensions/mimeTeX.js"],should do the trick.
If you are using the
autoloadplugin instead of
jsMath.Autoload.loadFilesarray. Alternatively, if you are loading
jsMath.jsby hand, include the line<SCRIPT> jsMath.Extension.Require("mimeTeX") </SCRIPT>just after the command that loads
jsMath.jsitself. No other modifications are needed to make the
mimeTeXcommands available to the mathematics processed by jsMath.