Russell's Blog

New. Improved. Stays crunchy in milk.

Vort.org... now with more math!

Posted by Russell on April 13, 2007 at 5:03 a.m.
Back when Tim Berners-Lee and Robert Cailliau brought forth the World Wide Web, the idea was to create an easier way for researchers to discuss and share their work. For reasons I've never really understood, through many revisions, the specification for web layout has never included a good way of writing mathematics. Now there is this MathML thing that we are supposed to use. It is only now starting to seep into the default configurations of most browsers. Sadly, it ignores the fact that there is already a perfectly wonderful and truly elegant markup language for typesetting mathematics.

So, until MathML takes over the world, or is replaced by something that people might actually want to use, there is a fantastic little program called mimeTeX. Once it is happily nestled in your cgi-bin directory (remember CGI?), mimeTeX will burble forth all the equations you could ever want. You just pass it a string of LaTeX math mode in as a query, and out pops beautiful equations:

It's not the solution that would make the most sense -- a LaTeX engine on the client-side -- but it's the next best thing. So go ahead and blog about math, and stop writing stupid things like f(x-a)/sigma_thingy.

Oh, and if you are too lazy to install it yourself, I warn you now not to use mine. I will use url_rewrite to introduce embarrassing mistakes into your posts.