Some authors who have been using programs like The
mimeTeXpluginmimeTeXto 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 havemimeTeXinstalled 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 usingmimeTeXand wish to convert to jsMath, you may find that jsMath does not handle some of your previous content.The
mimeTeXplugin for jsMath can help make this transition smoother. It implements many of the extra commands frommimeTeX, and converts others to work more like howmimeTeXdoes. It is not perfect, but goes a long way toward making jsMath compatible withmimeTeXinput.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 containsmimeTeXpictures.There are several ways to load the
mimeTeXplugin. If you are using theeasy/load.jsfile to load jsMath, then add"extensions/mimeTeX.js"to theloadFilesarray. For example:loadFiles: ["extensions/mimeTeX.js"],should do the trick.If you are using the
autoloadplugin instead ofeasy/load.js, add"extensions/mimeTeX.js"to thejsMath.Autoload.loadFilesarray. Alternatively, if you are loadingjsMath.jsby hand, include the line<SCRIPT> jsMath.Extension.Require("mimeTeX") </SCRIPT>just after the command that loadsjsMath.jsitself. No other modifications are needed to make themimeTeXcommands available to the mathematics processed by jsMath.
|
|