On 2009-02-25, Typhoon wrote: >> > And you're sure it's in your path? Basically, the short version >> > here is: Make sure it works from the command line; if not, it won't >> > work in LyX; if yes, it should.
> LyX uses the oolatex script to export to open document. On my Debian > Lenny, tex4ht is in the path, but oolatex is > in /usr/share/tex4ht/oolatex, which is NOT on the path. Since Ubuntu is > a Debian rip-off :-) it may be the same there. > Fix with a symbolic link: > ln -s /usr/local/bin/oolatex /usr/share/tex4ht/oolatex Or with the converter entry as in Debian: mk4ht oolatex $$i as mk4ht is a perl wrapper script around oolatex which is in the path. However, exporting a doc with the single line "hello world" produced a corrupted file (ooffice asked whether to repair it and showed an empty file then, while abiword displayed some garbage: pk???????...@y:¤íMF???S??? Debian/testing with tex4ht.c (2007-11-07-16:08 kpathsea) Günter