On Thursday 19 November 2009 02:44:55 pm Helge Hafting wrote:
> It works on debian linux with lyx 1.6.4, so check if you have necessary
> software. Also check that the converter is found in the PATH, otherwise
> LyX won't find it.
> 
> Checking in Tools->Preferences, I see that EPS is listed as a vector
> graphics format, and under "converters", the converter is listed as
> EPS->PDF(ps2pdf): epstopdf --outfile=$$o $$i
> 
> If you have the same, check that "epstopdf" is found if you give the
> command on the command line. If that works, run LyX from the command
> line and see if it works that way. LyX starting from a window manager
> menu / icon may theoretically operate with a different PATH where
> epstopdf cannot be found.
> 
> Strangely, the converter is only for the format PDF(ps2pdf). When
> pdflatex is used, the target format is  PDF(pdflatex), not PDF(ps2pdf).
> 
> It works anyway for me. As an experiment, you may want to create a new
> converter:
> from EPS to PDF(pdflatex). Just copy everything from the
> EPS->PDF(ps2pdf) converter.
> 
> Helge Hafting

epstopdf is in the path and is found by LyX I suppose, in fact I see at the 
buttom that it converts eps files.
When running LyX from the terminal I get:

l...@luca-desktop:~$ lyx
lyx(32608)/ EPSHandler::read: kimgio EPS: starting...
lyx(32608)/ seekToCodeStart: kimgio EPS: normal EPS file
lyx(32608)/ bbox: kimgio EPS BBOX:  90   236   493   560
lyx(32608)/ EPSHandler::read: kimgio EPS: success!

Anyway, this is a problem related to this specific file, i.e. my thesis, as if 
I create a new file and I insert in there an eps file, pdflatex correctly 
produces the PDF. This is happening under both Linux and MacOSX.
Any idea why?

Thanks!
Luca

Reply via email to