Sorry to pester, but I'm having a very cryptic problem (for me) and
haven't had much luck searching.
Lyx 1.6.6.1, Gentoo Linux. I have a master document and child
documents, with several diagrams in SVG format. DVI preview/export
works, PS preview/export works. PDF preview and export both fail,
although I can "export to LaTeX (pdflatex)", and run pdflatex on the
produced file and it works.
I believe this may have to do with the temporary directory and name
mangling. The error produced (from within LyX or running pdflatex in
the temp directory) is
Error: Couldn't open file
'./10_localhome_vputz_papers_thesis_chapter_synchronizati': No such file
or directory.
Now, the place where it is loaded is in a child document, and in the temp
directory this looks fine:
\includegraphics[width=0.8\columnwidth]{10_localhome_vputz_papers_thesis_chapter_synchronization_figures_shape_space.pdf}
...and the requisite file is in the temp directory. So why is it not
seeing it, and why is the filename clipped in the error message?
Even stranger, it seems to be related to length of document. I can get
to the point where adding or subtracting a single character in a
*different* child document causes this to fail or not. All child
documents render correctly in PDF.
This is completely baffling and I'm not certain what's at fault since
all the parts seem to work fine independently. I suspect some problem
with memory and filenames, but I'm surprised--it's not even a big
document yet (30 pages, 10 or so figures, much more to come).
V. Putz