I have been using J. Distler’s itex2MML plugin to generate the mathML for this webpage. As I am using Wordpress 2.0.x the patches he provides don’t quite work.

One can fairly readily make the changes by hand by looking at the patch files. However I have included my modifications for the sake of those with litle patience:

WordPress 2.0.0 functions-formatting.php classes.php
WordPress 2.0.1 functions-formatting.php classes.php

Just rename the files so that they end with php instead of phps and replace them with the correpsonding files in wp-includes. I have not made patches for the classic or default themes as J. Distler has done as I don’t use them. But, if you look at his patch and how you need to change the classic theme files, it is pretty easy to figure out what to do with your theme.


I have repackaged J. Distler’s plugin by wrapping it in a class. This is the version of the plugin that you need for my arXiv plugin.

Installation: You still need to install the itex2MML binary as outlined in itex2MML, and modify your classes.php and functions-formatting as indicated above. Now, simply download:

to your plugins directory, rename to itexToMML.php and activate.

Note: There are some process blocking issues that need to be resolved… This will be for a future release.


I have finally gotten around to upgraded to Wordpress 2.0.5. Here are the files from the wp-includes directory (and their diff’s from the originals) that you need to change to make mathML work nicely/

functions-formatting.php functions-formatting.php.diff
classes.php classes.php.diff

Installation: Simply unpack wordpress_mathML.zipin the wp-includes directory. You also need to install the itexToMML plugin as above.