Bruce Pourciau wrote:
In LyX 1.3.4, figures in eps format had to be saved without a preview or
else LyX would choke. Is this still true in more recent versions of LyX,
like 1.5.4?
I don't think the problem is LyX choking, and I'm not sure the problem
has gone away. LyX should know that EPS is a vector format (Tools ->
Preferences -> Formats -> EPS will tell you). I had to go back to the
group archive to dredge up something I posted in Jan '07. Here's a link
to my reply
http://article.gmane.org/gmane.editors.lyx.general/35744/match=eps+preview+bitmap
from which you can recover the thread. The gist is that if you are
generating PDF output using pdflatex (or maybe dvipdfm, not sure), LyX
will use ImageMagick to do an EPS -> PDF conversion. At least as of a
year and a half ago, IM would see the bitmap, work from that and muff
the conversion. As you can see in the linked message, I found a few
workarounds. Don't know if the problem still exists with the current
IM. If so, you could probably sort this out by defining in LyX an EPS
-> PDF (pdflatex) converter that implements one of the workarounds in my
'07 message. LyX has an EPS -> PDF (ps2pdf) converter; you'd want to
check that to make sure it doesn't flub things.
Note that the original poster in that thread had an EPS with a preview
image that was flat out not working. At least one of my work-arounds
(setting the density for IM's convert utility) probably still converts
the bitmap rather than the vector drawing, which is in general not a
good thing since it loses information. So my vote will always be to zap
the bitmaps if that's feasible.
/Paul