[pmwiki-users] jsMath - scalable mathematics

Ben Woodruff bmwoodruff+pmwiki at gmail.com
Tue Dec 26 02:25:10 CST 2006


Has anyone adopted using jsMath to embed mathematics in their wiki?

I have been using MimeTeX for the last 6 months, and am trying to update
the mathematics to jsMath because it allows for on the fly resizing and
a larger portion of mathematics commands. The most crucial to me is the
ability to automatically resize math graphics, as I use PMWiki for class
presenations and I need larger math graphics.

Since jsMath is just a javascript, I figure it could be enabled using
the details from the javascript cookbook entry, by having a
(:mathenable:) command to tell the computer that math needs be enabled,
and then a (:mathcompile:) to execute jsMath.  These could be added
automatically to every header and footer so that they never need to be
called again.  However, I was hoping there might be an easier way, such
as having a cookbook recipe which uses the same markup as MimeTeX for
processing mathematics, just makes appropriate changes to the html body
so that the jsMath script is called when needed.

If anyone has adopted jsMath in their wiki, I could use your help.  I
would like to make a recipe for using jsMath.

The jsMath home page is http://www.math.union.edu/~dpvc/jsMath/.

Ben Woodruff
BYU-Idaho
Mathematics Department




More information about the pmwiki-users mailing list