Tell me more ×
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.

Is there any way to produce doc/docx files from LaTeX?

share|improve this question
3  
I'm not a fan of Micro$oft, but in case this might be of any help: HOWTO convert LaTeX to OpenOffice .odt and MS Word .doc. – chl Jan 12 '11 at 19:08
5  
Have a look at Workflow for converting LaTeX into Open Office / MS Word Format. I would use tex4ht to use html as intermediate format to produce odf and doc/docx files. – Stefan Kottwitz Jan 12 '11 at 20:09

3 Answers

For my (word-loving) Thesis Advisor I always ran the .tex-Files through htlatex (as suggested by chl and Stefan). The resulting html-file can then be opened with Word and saved in the desired .doc or .docx Format. Since you've mentioned that you're on linux, you might not have Word anyways, then you can also send the html file to the person doing the revisions, with instructions on how to open a .html and save as revised .doc.

For not too complicated files (not inlcuding figures and delicate macros) I also had great results using the awesome pandoc.

And just as a snickering remark: In the long run, it might be good to learn your revisor some LaTeX skills, have some kind of revision system (SVN, Git, etc.) and work on the same repository (but that didn't work out for me either :)

share|improve this answer
+1 for pandoc, you can convert latex straight to odt and the new version has also support for simple latex tables and listings. – Matti Pastell Feb 11 '11 at 18:46
Note that you can change the extension of a .html file to .doc so that it opens in Word when you double-click it. – Rabarberski Feb 14 at 8:40

Near acceptable quality conversions can be achieved by producing a "pdf" document via LaTeX and then using Adobe Professional Pro Extended (save as) to convert.

share|improve this answer
1  
Sounds good. Unfortunately, I am on Linux now, and this is why I want this tool (i.e. sending the docx to another person for reviewing and commenting). Anyway, so if you think you have a suggestion of how to exchange comments using LaTeX, then please let me know to open a new question and you could answer it. – Promather Jan 12 '11 at 19:12
@Rafid If it is not a long document, why don't you use the minimum LaTeX commands possible and just post is as LaTeX code at latex.pastebin.com or as a google docs document. They are very good for sharing documents (your reviewer can just read the text portion). – Yiannis Lazarides Jan 12 '11 at 19:38
1  
@Rafid: If all you want is someone to review and comment, why not just send them the PDF? What's gained by a conversion to Word? – TH. Jan 12 '11 at 21:17
@Yiannis, I haven't tried latex.pastebin.com, but Google Docs doesn't have reviewing like word. – Promather Jan 12 '11 at 22:25
3  
@TH, Word has good reviewing system. If I send a pdf, that means he (my supervisor) has to copy the line he wants to copy, then insert his comments, which is a tedious task. In word, we simply select a text, and add a comment to it, and word will take care of the remaining. – Promather Jan 12 '11 at 22:26
show 2 more comments

if it is not a secure document you can upload a pdf to freepdf and convert it online. It depends to your document if the result is useful or garbage.

If your document has not a complecated structure than you can also try to convert it with t4ht into html and then read it with word/OpenOffice and saving it as doc.

share|improve this answer
That is a good suggestion. The only problem is that it doesn't seem to be working :-) I tried it, and it generated an empty document! – Promather Jan 12 '11 at 19:26
There maybe other online converters. An alternative maybe a temporary installation of nitro pdf or TeX2word (you can google the web addresses) but both work only under windows. – Herbert Jan 12 '11 at 19:33
@Herbert: do you mean – Stefan Kottwitz Jan 12 '11 at 20:07
@Stefan Kottwitz: what?? – Herbert Jan 13 '11 at 15:29
1  
Stefan Kottwitz: sorry, should be t4ht which is a synonym for tex4ht and its home is http://tug.org/applications/tex4ht/mn.html. But Eitan Gurari died in 2009, the reason why it is now not really maintained. – Herbert Jan 13 '11 at 19:08
show 1 more comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.