-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/01/13 23:37, Jerry wrote: > > On Jan 22, 2013, at 1:38 AM, Rainer M Krug wrote: > >>> >>> >>> Also, I played with pandoc a while back and its conversion of a very simple >>> LyX file to >>> Word was not perfect. I went LyX -> LaTeX -> docx. I did not investigate >>> setting options >>> very much. I recall that equations made the trip and were editable in Word >>> 2011 (Mac) >>> built-in equation editor, but equation numbers were lost. Today's effort, >>> also on a simple >>> but different document, LyX -> LaTeX -> docx, one equation was not typeset >>> (only the >>> markup appeared), a .eps file was not found even though it was present, and >>> section labels >>> were translated as literal text. Converting to .odt was worse, and at least >>> once caused it >>> to crash when it was attempting to repair what it thought was a damaged >>> converted file. >>> (But what _doesn't_ cause LibreOffice to crash?) >> >> I also tried to go the LyX -> LaTeX -> docx route, but the results were not >> as usable as via >> xhtml. So I would suggest to try the route via xhtml. > > How did you get from XHTML -> docx? Pandoc (according to the first paragraph > of the user's > manual) does not accept XHTML input files. Jerry
Well - using pandoc -o newfile.docx newfile1.xhtml works as expected and produces a docx file. So I can only say it works. I only used the converters and format definitions as mentioned earlier. Truy it: simple lyx file, export to LyXhtml and use above command to convert to docx. Cheers, Rainer Cheers, Rainer > >> You should try both converters (the build in and eLyXe), as they performed >> differently on >> different objects. As my document did not contain any equations, I can not >> comment on that. >> >> I must say, that I also used pandoc to convert to odt and then converted the >> odt to docx >> with OpenOffice (this was before LibreOffice...) and it also worked well. >> >> I can only suggest to try the different paths out and see which works best, >> and then post >> your experiences here and add them to http://www.lyx.org/trac/ticket/6042 >> so that there is >> some progress with pandoc support in LyX. >> >> Cheers, >> >> Rainer >> >> >>> >>> Jerry > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ/5kMAAoJENvXNx4PUvmCrMcIAKPlUM39ihrVVGfAWgbyyv9B eqNmrpj4VvAgkUppfDmjwD2kK1TMjuvJA7ImQ+zx5/M3mz8otXgQOZIbJzzzYq0u NRjsBvIGmrYAPToC8gjcaTkn0S+qoWVO80gmrDVorSutIkZDAzpefgdLIeNQecz7 927loMioyZtLhikxtI6WeZfpI423zY7RT0tdQZW1MpNVOXxqP1XU5Dob3ljJe5ZW wHDTovgg85r1BEaJX+SfkIkhJOiKu/uPfLbKw3+APlrSKIlZpWGUrvfnKYweCbtr dnbFg21rJPlG2gwK+uoatxOAsCLIA+Ybd5eS9l19SxCx5nSNrSk2gWEFgwa9sBU= =Lwnd -----END PGP SIGNATURE-----