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.

References:
http://www.commandlinefu.com/commands/view/3985/convert-a-latex-source-file-.tex-into-opendocument-.odt-format
http://ubuntuforums.org/archive/index.php/t-1033441.html

Leave a Comment