[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ODT export
From: |
Vikas Rawal |
Subject: |
Re: [O] ODT export |
Date: |
Mon, 12 Aug 2013 20:01:42 +0530 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
>
> ╭─────┤ 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