|
Some authors who have been using programs like The
mimeTeX
pluginmimeTeX
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 havemimeTeX
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 usingmimeTeX
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 frommimeTeX
, and converts others to work more like howmimeTeX
does. It is not perfect, but goes a long way toward making jsMath compatible withmimeTeX
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 containsmimeTeX
pictures.There are several ways to load the
mimeTeX
plugin. If you are using theeasy/load.js
file to load jsMath, then add"extensions/mimeTeX.js"
to theloadFiles
array. For example:loadFiles: ["extensions/mimeTeX.js"],should do the trick.If you are using the
autoload
plugin instead ofeasy/load.js
, add"extensions/mimeTeX.js"
to thejsMath.Autoload.loadFiles
array. Alternatively, if you are loadingjsMath.js
by hand, include the line<SCRIPT> jsMath.Extension.Require("mimeTeX") </SCRIPT>just after the command that loadsjsMath.js
itself. No other modifications are needed to make themimeTeX
commands available to the mathematics processed by jsMath.
|
|