Convert a .tex document to openoffice

From Rsewiki
Revision as of 13:50, 7 November 2011 by Jca (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I found the following way to convert a Latex document to open office:

$ latex FILE.tex
$ tex4ht FILE.tex
$ mk4ht oolatex FILE.tex

The first command makes sure that the Latex document is converted to DVI (so this must be possible).

The next command converts to hypertext, and requires that the tex4ht package is installed

The final command is part of the tex4ht package and creates a FILE.odt document, when the oolatex option is selected.

There were further a note indicating that sun-java must be installed.