> > ╭─────┤ http://askubuntu.com/a/239332/18411 ├───── > │Believe it or not, with complex documents and lots of packages included, I > got > │much better results with LaTeX2HTML than with LaTeX2RTF, Pandoc or TeX4ht. > │ > │ latex2html texfile.tex -split 0 -no_navigation -info "" -address "" > -html_version 4.0,unicode > │ > │This will generate a folder with the same texfile name, so you'll be able to > │convert the generated HTML to ODT: > │ > │libreoffice --headless --convert-to odt:"OpenDocument Text Flat XML" > texfile/index.html > │ > │This will produce a index.odt file. Take a look at this answer to check how > to > │use LibreOffice's convert filters. > ╰─────
I tried this and it is indeed quite a promising solution. For my document, however, the cross-references do not work in the odt file (they do work in the html produced by latex2html). Vikas