On 01/24/2011 05:28 PM, Paul Rubin wrote:
Hi all,
I've verified a complaint by two Linux users on the user list that image files
homed on a Windows share (Samba) are not copied to the temp directory when you
View> DVI or View> PDF the document. Running lyx in debug mode did not
produce any helpful output, though. Can someone tell me the steps that lead LyX
to create a copy of an image file with suitably mangled name in the temp buffer.
I manually ran the tex_copy.py script, and that had no problem copying the
file, but I'm not sure that's what LyX uses. Any hints?
The copying is triggered in InsetGraphics::latex(), which calls
InsetGraphics::prepareFile() to do the work. This eventually calls
copyToDirIfNeeded(), which calls copyFileIfNeeded(). I'm not sure why
this would fail with files on Windows shares, but will see if I can find
out.
Richard