Angus Leeming wrote: > > On Wednesday 03 April 2002 12:11 pm, R. Lahaye wrote: > > Hi, > > > > For Grace and GIF files (those are the ones I've tested) I encounter an > > unusual behaviour, with respect to the given path of the graphics file. > > > > If the file-path is relative (not starting with a "/"), the View->DVI and > > View->Postscript end with an error. The LaTeX logfile says > > [snip...] > > Hi, Rob. > > I don't see this with current cvs. Note that Allan chacked in a fix to > insetgraphics.C this morning for something similar to this. Do you still see > the problem with a bang up-to-date lyx?
Just updated my CVS and recompiled. I still have it! Do the following: Start up LyX File->New Insert->Graphics... Click on [Browse] and select a GIF file (e.g. cid.gif) The file-path should then be relative (not starting with a "/") Click on [OK] View->DVI (or View->Postscript) Then the Alert window pops up, saying "One error detected". The latex logfile has the following line: ! LaTeX Error: File `/tmp/lyx_tmpdir772110wZwKn/lyx_tmpbuf1/cid' not found. ---- Now click on the figure in LyX and change the file-path to the absolute path: problem solved! An eps file does not suffer from this problem. Can you reproduce this? Regards, Rob.