On 04/17/2012 03:04 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 16/04/12 22:42, Richard Heck wrote:
On 04/16/2012 09:07 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
I just discovered pandoc, and I use it to convert to odt format (and then in
OpenOffice to
doc).
The conversion goes LyX -> LyXHTML -> odt
I defined the following format:
\format "odt lo" "odt" "Libreoffice writer" "" "libreoffice" "libreoffice"
"document,menu=export"
and the following converter:
\converter "xhtml" "odt lo" "pandoc -o $$o $$i" ""
How much better is this than simply exporting LyXHTML and then opening the
resulting file in
LibreOffice?
Well - LibreOffice gives an error when trying to open the xhtml file, and I
can't open it in my browser either (seems to be corrupt for this document?).
Another document, produces an empty output when opening the xhml in LibreOffice.
There are definitely still bugs in the exporter, especially with more
complicated documents. I think longer term maybe HTML5 would be a better
target, as it's more robust.
Richard