Convert a .tex document to openoffice: Difference between revisions

From Rsewiki
(New page: 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 ...)
 
No edit summary
Line 5: Line 5:
  $ mk4ht oolatex 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 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 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.
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.
There were further a note indicating that '''sun-java''' must be installed.

Revision as of 13:49, 7 November 2011

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.