Latex(.txt) to OpenDocument (.odt/.html) conversion

Basic requirement: Convert Latex docmuent to OpenDocument (.html/.odt) etc.

I have tried this in Ubuntu 10.04. I presume would work with all versions of GNU/Linux.

sudo apt-get install texlive tetex-extras tex4ht dvipng tex4ht
sudo texhash

The above will install the base software for Latex to work.

htlatex review_iisc_pkmadhu.tex “xhtml,ooffice” “ooffice/! -cmozhtf” “-coo -cvalidate”

Generate the OpenOffice file.

dvipng example.dvi
dvipos example.dvi

Convert to Portable Network Graphics and Postscript file.


Leave a Comment