Raphael Clifford wrote:

> I know this has been asked a number of times so I apologise if I
> have missed the answer that is relevant to me but I get
> 
> "Error converting to loadable format" when I insert an eps file into
> a lyx document.
> 
> I am starting to think  there may be a problem with latex, dvips or
> convert.  Here is what I have done
> 
> latex approx-pic.tex
> dvips approx-pic -E -o approx-pic.eps
> 
> I then tested by hand (assuming that is roughly what lyx does)
> 
> convert approx-pic.eps pic.jpg

You're confused.

1. latex can handle eps files fine. No conversin needed.
2. pdflatex requires either pdf files (preferable as they retain the 
vector graphics info) or png/jpg files (bitmapped versions of the 
oiginal).
3. The preview you see on the lyx screen is generated from a format 
loadable by the gui-library. Either xforms or qt. Neither can load 
eps files natively, so we invoke a conversion step to a loadable 
format behind the scenes.

> and I get

> Unrecoverable error: rangecheck in .putdeviceprops
> Unrecoverable error: rangecheck in .putdeviceprops
> convert: Postscript delegate failed [No such file or directory].

> What should I do?

As stated above, you don't need any conversion step to enable the 
latex compiler to handle eps files. More generally, if you believe 
that your version of convert is broken then I guess you should file 
bug report with either Fedora or ImageMagick.

Incidentally, does 
$ gs approx-pic.eps
work?

-- 
Angus

Reply via email to