Sat 25 Feb 2006
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.
Wed 12 Mar 2006
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.
Mon 6 Nov 2006
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.




November 5th, 2006 at 7:08 am
For PHP5 Users, it the function can not be the same with the class
so, the “itexToMML” method in the class “itexToMML” should be rename like “itexCovMML”
November 5th, 2006 at 2:01 pm
Gongyi:
Thanks for your suggestion — I have updated the source file. I also updated the arXiv plugin which uses itexToMML.
January 6th, 2007 at 11:56 am
[…] I decided to use the WordPress thing especially because it has so many beautiful plugins, one of them by J. Distler allowing the embedding of MathML into the blog (see also Frederick Leitner’s update for the 2.0.* WordPress). […]
February 8th, 2007 at 11:41 pm
[…] As I’m on WP 2.0.5 I’ll start with Frederick’s post. He tells me I have to install first the itex2MML binary as explained by Jacques but I find that there is more recent material and therefore download the most recent imath2MML-package and follow the readme. There is a Mac OSX binary but it’s not clear for what processor (PPC/Intel/Binary) but a quick mail to Jacques learns me that it’s PPC which is fine by me but on the spot he puts a universal binary online, so whatever your Mac is you can just download the binary, copy it to /usr/local/bin and make sure its chmodded 755. […]