-----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's no reason we couldn't add this as a converter. File a bug to remind 
> me if you like.
> 

I t'll add it top #6042 as Liviu pointed out.

Would be great if pandoc converter could be added, as it seems to be quite 
robust in handling even
corrupt xhtml files.

Cheers,

Rainer

> Richard
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      rai...@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+NFhoACgkQoYgNqgF2egqObQCcCsJmRnC8Udzc02mPbbZneODq
zGIAn0cbjUXODB9r4DXgLTkdLNndMGgf
=f0y3
-----END PGP SIGNATURE-----

Reply via email to