Convert a .tex document to openoffice

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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox