On 02/02/2011 03:43 PM, Richard Heck wrote:
On 02/02/2011 02:54 PM, Richard Heck wrote:
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.

I just tried this myself, with both current branch and current trunk, and I was not able to reproduce the problem. The file was a JPEG and so had to be converted. I also tried it with a PNG, which did not, and that was also fine.

Any further info?

Richard

Just that I'm running 1.6.x (where x = 5, 6 or 7 depending on the machine), and I reproduced the bug on Linux Mint (with the image file sitting on a Windows server). I think the two people posting about it were also on 1.6.x. By "current" branch and trunk do you mean 2.0 beta, or the forthcoming 1.6.whatever_comes_next?

/Paul

Reply via email to