Andriy Gapon wrote: > Symptoms: > 1. originaldir options does not seem to make any difference - both with > and without it I can view a document, but can not export it.
originaldir means that the converter is run in the directory containing the .tex file. Some strange converters need that, but appareantly not latex2html. > 2. results directory is incorrectly copied: latex2html creates its > results directory under a temporary directory, then lyx apparently tries > to move (using rename(2)) the results directory to the same directory > where original document resides, in my case they are on different > filesystems, so rename(2) fails, then lyx decides to use copy instead, > but lyx's copy is a simple file copy that apparently is not capable of > recursive directory copying. Thus, as a result of export I get, using > the example document above, a file named "packet-structure" that has the > same binary contents as /tmp/.../packet-structure/ directory if it is > read as a plain file. Very bad. It looks like you have discovered a bug. Could you please file it at http://bugzilla.lyx.org so that it does not get forgotten (including this very nice problem analysis and the precise latex2html commandline arguments that were used). Georg