This project is read-only.

Installation instructions

May 19, 2008 at 1:10 AM

To create (reasonably) well formatted XHTML documents from a given Word 2007 document with mathematical formulas, you need the following.

Word2MathML executable file
libtidy.dll must be registered in your machine
pmathml.xsl stylesheet file must be placed in the target directory for the XHTML file.

How it works.

1) Download Word2MathML.exe file

2) Download libtidy.dll file and register it on your machine. Instructions for registering dll files are given here :

I suppose the program would still work if you simply place the libtidy.dll file in the appropriate Windows system folder

3) Download the pmathml.xsl stylesheet file to the target folder for your XHTML file.


Now run Word2MathML.exe. Select Word 2007 file to convert, and select target folder name. If your filename is <filename>.docx then you will see a file called <filename>.xml in the target directory if everything works correctly. Now open the <filename>.xml in your browser and for the Word documents which follow certain rules, it will be completely converted to XHTML+MathML.

May 20, 2008 at 12:10 AM
Edited May 20, 2008 at 12:12 AM
It seems registering the libtidy.dll fails using the regsvr32 command. If you would still like to get this to work you can simply copy the libtidy.dll file into your C:\Windows\System32 directory.

And if you are getting an exception like System.Linq exception etc while running the program, you can fix that by installing the .NET Framework 3.5.

I will create an installer for the file soon and post it here.