Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a large .tex draft full of equations, both block and inline, and figures and text. A journal wants us to send a draft in Word format with editable equations. Maybe a long-shot but, is there some quick way to do this?

share|improve this question

migrated from stackoverflow.com Mar 30 '13 at 13:09

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

up vote 3 down vote accepted

Here a solution for ubuntu: HOWTO convert LaTeX to OpenOffice .odt and MS Word .doc This page is the place to start: http://www.tug.org/utilities/texconv/textopc.html This page is also helpful (if rather techie): http://www.cse.ohio-state.edu/%7Egurari/TeX4ht/mn.html

Basically, I used tex4ht, which is (as far as I can see) clearly the best way to do the conversion.

However, getting the tex4ht installation set up correctly can be a royal pain, so here's how it worked for me.

Step 1. Install tex4ht from the Ubuntu repositories.
Step 2. Install the upgrade from here:
http://www.cse.ohio-state.edu/%7Egur...n-upgrade.html
This is not a simple procedure. You need to follow every single step exactly, and it takes a little while, especially if you are approaching it in a gingerly and careful way, as I was - not really understanding what I was doing! But the instructions are very clear and accurate, and do work. The conversion to OpenOffice won't work without this upgrade.

There are various other steps that may be necessary depending on what is in your LaTeX file. If, like me, you are using biblatex, you will need to install Eitan Gurari's bug fixes from here:
http://www.cse.ohio-state.edu/~gurar.../bugfixes.html
I also needed to (re)install an up-to-date version of csquotes from here:
http://www.ctan.org/tex-archive/macr...trib/csquotes/
For some reason, it seemed to be the case that I needed to install dvipng from the repositories (though I don't really understand why).

At that point, things should be ready. Run the following from the command line as user (not root).

Step 3. latex filename.tex (it may prompt you to do this more than once)
Step 4. bibtex filename.aux
Step 5. mk4ht oolatex filename.tex (again, possibly you may need to do this more than once)
share|improve this answer
    
Thanks. I had tried this method earlier in OSX and gotten warnings and then an .odt file that couldn't be opened by OpenOffice which complained that is was corrupt. I will check my installation and try again. –  Carl Smith Mar 30 '13 at 8:26
    
One word of warning is that tex4ht and mk4ht are picky about your TeXing style, and throw hard-to-identify errors if it doesn’t like your TeX. My solution is to import your .tex file into LyX, and then export it back to TeX. LyX formats it nicely and tex4ht and mk4ht run smoothly. Thanks again @duDE! Problem solved. –  Carl Smith Mar 30 '13 at 10:24
add comment

I am resurrecting this question since I do not believe what I read. Converting LaTeX document to Word is one thing and can be done fairly straightforward for example by striping LaTeX format and then using something like Pandoc to produce the output. However converting LaTeX document with lots of formulas to MSWord is damn hard. MSWord if I remember correctly requires add on called MathType to edit equations. I am guessing there are people on this portal who are familiar with internals of Word due to their contributions to things like OpenOffice but I would be stun to hear that you can batch process LaTeX formulas into MSWord MathType equations.

share|improve this answer
1  
The built in equation editor for Word can handle some LaTeX syntax now. While Mathtype my still be helpful it is no longer a requirement. –  StrongBad May 15 '13 at 5:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.