Tuesday, August 27, 2013

How to convert latex to M$ office / openoffice readeable

The easiest and best solution I found so far to do this (under linux) is the method on
http://ubuntuforums.org/archive/index.php/t-1033441.html
Using htlatex

latex foo.tex
latex foo.tex
latex foo.tex
htlatex foo.tex
 This then will create a relatively good looking html, that can be read under soffice for instance and convert to doc / docx, etc...
This converts the equations to figures, and the layout could be better, but it works fine.

Another option is to use the  tex2rtf package
http://www.ctan.org/pkg/tex2rtf
This one generates an .rtf file, but the result on my files were not that good, and the equations were a disaster, and can not handle eps figures (pslatex)...