Why have I started a new question?

I have studied as many pages here as I can on answers to this question and none have really satisfactory answers. I want to start a new discussion on this problem.

Why is it that important?

If we really believe that TeX/LaTeX is the prince of typesetting and want to convince others of this, then there has to be some kind of pathway to conversion if you already have a large body of work in another system.

Summary of my particular problem

I have a partly written physics text book comprising a collection of very large Word documents with hundreds of graphics and hundreds of MathType equations. Having been converted to TeX/LaTeX I just can't go back to working in Word, in fact my study/work laptop is a microsoft free experiment which is also in the process of becoming Adobe free, which is a trickier prospect. I really need to find a conversion solution for those documents.

The Question

I suppose I should point out that Mac solutions would be preferable but I do have ready access to a Windows machine. Keeping in mind that I have researched this fairly extensively on this site so far, does anyone know of any up to date solutions? I believe in theory it must be possible to at least convert a word document with styles, graphics and MathType equations into a reasonable .tex file that then might still need significant refinement but not massive, fundamental rewriting.

Word's styles must have some kind of specification that could be translated at least partially to LaTeX styles. Various graphics converters exist. MathType has a converter for its equations to LaTeX. These three components combined could surely produce at least a decent starting point for rewriting a large document.

Why this matters to me personally

My text is already 260 A4 pages. With what I've learned as a LaTex user about rules of typesetting associated with research into readability and so on, even with a perfect translation they would have to be reorganised into about 400 pages. This is because there is far too much on each page; far too many words per line, too many complications in the layout of equations and diagrams.

A solution that at least converts headings, paragraph styles, equations and graphics, leaving me to restructure the pages and fine tune would be brilliant.

I'm well aware of the irony of my situation. Why should I expect that someone in a similar situation to me has created a solution to save me the trouble.


Not a final conclusion. I will keep adding to this as the story progresses. So far a solution combining docx2tex and GraphicConverter gets me the diagrams, writer2latex gets me the headings and body text. If I get MathParser working then I need to find a utility that converts MathType equations from Word to MathML. That would get me a significant way towards a worthwhile conversion.

So the problem remains how to batch extract MathType equations from a word document. I can do them one at a time with MathType. The bizarre thing is why Design Science appears to have done such a bad job on the LaTeX export. Their MathML export seems pretty good so if I find a working converter for MathML to LaTeX, the one at a time thing wouldn't be too bad.

However, the commercial solution of Word2TeX, proves that it can be done.

Addendum 27th July 2023

I guess there just hasn't been any interest in this since I last updated it in 2014. I haven't found a good solution, so I've mainly been doing copy and paste with my book. I guess though, many people would still continue to end up at LaTeX via Microsoft Word, so it must still be relevant. So, has anyone out there come up with something in the mean time?

  • Have you tried word2tex from chikrii labs and/or grindeq? Both are not free though.
    – user11232
    Sep 30, 2013 at 4:09
  • you could try writer2latex by opening the document in OpenOffice Writer first. Looking at the feature list it seems to import images, tables and formulas. Not so sure how the formulas would take the conversion to Writer though, but I guess it should be worth a shot.
    – drat
    Sep 30, 2013 at 5:43
  • if it was possible, you would have it by now. converting equations is a lost cause in my humble opinion. but you can change your heading styles such that it introduces \section etc. and you go hardcore copy/paste. but at least there will be some structure.
    – percusse
    Sep 30, 2013 at 5:48
  • @percusse Change heading styles where and how? Lost cause is a bit strong don't you think? Do you think I should just write several hundred formulas again from scratch? Sep 30, 2013 at 9:10
  • I've added a third option to my list of methods. Has anyone here tried MathParser with success? Sep 30, 2013 at 9:11

2 Answers 2


The answer has gradually been accumulating in the question. The question title was edited from "latest" to "2013", but perhaps that person didn't notice that the discussion was still active in January this year. I thought it was time to move the points accumulated so far into an answer. Then as new points become available I'll add them here. I will commit to keeping this thread up to date. Next year I'll change it to 2015 and so on, adding anything new and removing anything redundant.

What have I tried already?

  1. docx2tex: This is remarkable in some ways and sorely lacking in others. I was not a low end user of word, I used styles to structure my documents in a consistent manner. It gets all the text out and separates headings but with zero formatting. It gets all the graphics out, but I had to do a batch convert to pdf using GraphicConverter before I could use them. All my MathType equations were converted to graphics. Various other problems that I won't go into yet.

    On the plus side, if I do end up having to start from scratch, at least it produces a good starting point, with none the less a lot of work remaining to do.

  2. MathType: Has a feature for converting equations to LaTeX, but it's very clunky. It uses a very limited set of maths environments. There are masses of layers of unnecessary brackets. And you're doing them one at a time.

  3. MathParser: MathType produces MathML output as well. I thought that if I converted MathType to MathML first, then the result might convert more nicely using MathParser, but I've downloaded the Java applet and all I get is blank output.

  4. writer2latex: A suggestion from drat. I downloaded OpenOffice and installed the writer2latex extension. When it imports the Word file it imports the MathType equations as graphics. It's good at exporting the heading and body styles but bad at exporting the graphics.

  5. word2tex: A suggestion from Harish Kumar. I downloaded the 30 day trial and I have to say, in comparison to what I've looked at so far, this is stunning. If anyone wants to try it, go to Chikrii Softlab. Download the 30 day trial. It only does 1 table, 1 image and 7 equations but does all headings and body text. Put together a tex file from a sub set of what you want to translate that maximises this to put it to the test. It will count a complex equation with several lines in it as 1 equation.

    At some point, if I can't eventually find a suitable solution, I will consider buying this one. It's not cheap. At $45 for an individual academic license it begs the question if you are an academic who later uses it to sell a text book, do you technically owe them the other $44 dollars?

  • 1
    What about grindeq: grindeq.com . You will keep yourself stunning further ;)
    – user11232
    Mar 2, 2014 at 1:18
  • In my opinion it would be better to start a new question then and link to each other.
    – Speravir
    Mar 2, 2014 at 2:36
  • @Speravir There's no typo in Point 3, so I've added some words to help explain the point. I'm not going to start a new question because my question is specifically about Word documents with complex formatting, graphics and MathType formulas. There are some expensive utilities available that take such Word documents and translate them into LaTeX documents in a single step. There are some that only translate equations and so on. At least one person here is even considering doing something new. This is a coherent localised discussion. Mar 2, 2014 at 3:43
  • @HarishKumar I really appreciate your continued interest in this question but I want to keep the main focus on open source solutions. I may give in and spend the 49 Euros on Word-to-LaTeX but I may also end up preferring a more hands on solution. Mar 2, 2014 at 4:02

I've been through this same exercise. I converted a 200-page book from Word to Latex (and back again, actually -- I couldn't make up my mind which approach I preferred).

It was a few years ago, but here's what I remember:

I used either the Chikrii software, or grindeq, I can't remember which. If spending $50 saves me even a few hours of work, then I'm happy. That gave me equations that were syntactically correct, and could be TeX-ed, but, as you say, there are extraneous braces all over, and the results are difficult to read and edit. In some cases, I edited in MathType, rather than in a text editor.

If you don't like the MathType LateX translator, did you know that you can write your own, if you want to. See here for details. Another option would be to export MathML from MathType, and then process this using your own code, or try to find a MathML-to-TeX converter.

  • I'm still waiting for someone to come up with a suggestion for a currently available MathML to TeX converter. Oct 15, 2015 at 2:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .