On Wednesday 03 April 2002 1:11 pm, R. Lahaye wrote:
> 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.

Nope. All is fine with me.
What happens if, you save the file (with graphics file as relative) and then 
open it again? Is this a function of your new buffer not having a path or 
something? (Although I have no problems at all...)

> Now click on the figure in LyX and change the file-path to the absolute
> path: problem solved!

Hardly the point.

> An eps file does not suffer from this problem.
>
> Can you reproduce this?
>
> Regards,
> Rob.

Angus

Reply via email to