[Tex/LaTex] compile a .tex file to Word document?


Possible Duplicate:
Workflow for converting LaTeX into Open Office / MS Word Format

Are there any solutions to this? I know that's probably not the most favorable thing to do… But I really want to be able to give the document to someone, and they would need it in Microsoft word.

There is something called latex2rtf (that's the closest thing I could find), but it segfaults and is very unstable. It does not produce well-formed files for my document or even subsets of my document.

Any help appreciate.

Best Answer

You have several options, none of them ideal:

  • Probably the best conversion you can get is TeX2Word software by Chikrii Softlab. It is a commercial software, I think it has a free trial period with limited functionality. Also, I think you need to have Windows and Word, as it is some sort of Word plugin. For that reason, I have never used it, but from the samples that they have on their website it seems quite powerful.

  • You can use htlatex or plastex to convert the tex file either to html or OpenDocument. You can load html directly into Word, and you can use OpenOffice to convert OpenDocument to a Word format.

  • If you have LyX installed, it will do the conversion to html or Opendocument for you, so you don't have to figure out what command line option to use to get the correct format. Just import the document into LyX, and export it in the format you need.

  • I think OpenOffice may be able to import a simple TeX document, although I do not have OpenOffice installed so I cannot check.