Thanks for your reply; I think that has found at least one of the problems
-- Windows doesn't know how to zip.

I just exported 'splash.lyx', which created a bunch of stuff in my temp
directory. I ran "oolatex splash.tex" from a terminal, which exited with the
following error:

System call: cd    sxw-splash.dir\
System return: 0
System call: cd    sxw-splash.dir\META-INF
System return: 0
System call: zip   sxw-splash.dir\splash.odt
sxw-splash.dir\META-INF\*.*
'zip' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1

I recall that .odt is actually just a zip file containing a bunch of xml
files and other bits such as images. I'm guessing that the script works
fine, but because I don't have zip, it cannot do the last step and put it
all together.

I grabbed the latest copy of InfoZip, zip232xN.zip, from one of the mirrors
listed at http://www.info-zip.org/, unzipped the file zip.exe into a
directory in my path (C:\Windows), and tried again. The script will now
properly complete from LyX, and, like the other export options, the file
splash.odt shows up in the same directory as the original .lyx file, (in
this case, C:\Program Files\LyX15\Resources\examples\splash.odt).

When I try to open it, however, OpenOffice doesn't recognize the file type.
I choose OpenDocument Text from the looooooong OOo filter selection list.
OOo then advised me the file is corrupt, and asks if I want OOo to try and
repair it. It tries, doesn't succeed, I have a blank document.

Step in the right direction, though, at least from the Lyx end, as it allows
the script to finish and produce a file, even if the file isn't actually a
proper .odt file. At least with zip on the Windows machine, if/when the
oolatex or htlatex script produces the right output, it will work through
LyX.

-- V

Reply via email to