Gunnar wrote:
It seems to be related to the fact that pdflatex can't handle eps and
everygraphics file must be converted to pdf with the epstopdf command.
How can I tell LyX to do this for me?
AFAIK, at least as of version 1.3.7, you can't get LyX to do that. When
you use the View menu, LyX unleashes a script that does appropriate
graphics conversions as needed, in the temp directory. I'm pretty sure
the export function does *not* do equivalent conversions.
Let's back up a bit. Your initial post said you get the "could not find
the figure" error when you preview in Postscript (meaning
View->Postscript)? That would imply that the problem has nothing to do
with PDF.
The first error in the output you supplied in your initial post was
dvips: Could not find figure
file
/tmp/lyx_tmpdir96260XiyjK/lyx_tmpbuf0/0_home_gunnar_Skola_appollonius.eps;
Does your document include an image whose path is
/home/gunnar/Skola/appollonius.eps? In other words, is that path
correct? Is it the path you supplied in LyX when you inserted the image?
In your second post, you said (if I understood you correctly) that you
exported a .tex file, ran latex against it, and got a valid DVI file
(that in particular contained all the images), but when you ran dvips
against the DVI file it couldn't find
/home/gunnar/Skola/Undervisning/vandblad.eps. Is that right? (In
particular, did that image display in the DVI file?) Is the file in
that directory? (You said you created the file in
/home/gunnar/Skola/Undervisning/Matte/, but I was not sure if you were
referring to the document, to the graphic, or both.)
/Paul