Convert a .tex document to openoffice

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
 
Line 9: Line 9:
 
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.

Latest revision as of 13:50, 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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox