Ernesto Posse wrote:
Hi. I have an issue with previewing EPS files. I've seen in the list's
archives similar problems, but I think I'm missing something. I have
an EPS diagram generated by Metapost from a Dia diagram. When I
include the generated EPS image, the document is generated correctly
by latex + dvipdf or latex + dvips + ps2pdf (but not by pdflatex.) Yet
I get the typical "Unable to convert to loadable format" in the LyX
preview. What is strange is that I do have the converter from
Imagemagick and epstopdf installed. When I run these I get an error
from ghostscript (below.) Both seem to complain about cmmi10, but I
don't know what this is: a missing font? If so, why doesn't latex
complain about it? What can I do about it?

By the way, imagemagick's converter gives me this error: "convert:
Postscript delegate failed `ex1v2.eps': No such file or directory."
but the file is there...

Thanks

PS: I'm running LyX 1.5.3 on ubuntu.

==============
Typical error produced by epstopdf

[EMAIL PROTECTED]:umlrt2klt] > epstopdf --outfile=a.pdf ex1v2.eps
Error: /undefined in cmmi10
Operand stack:
   (n)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1905
1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3
%oparray_pop   1771   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1151/1684(ro)(G)--   --dict:0/20(G)--   --dict:92/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.61: Unrecoverable error, exit code 1

==============
Typical error produced by imagemagick's convert

[EMAIL PROTECTED]:umlrt2klt] > convert ex1v2.eps a.pdf
Error: /undefined in cmmi10
Operand stack:
   (n)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1905
1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3
%oparray_pop   1771   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1156/1684(ro)(G)--   --dict:0/20(G)--   --dict:93/200(L)--
Current allocation mode is local
Current file position is 9838
GPL Ghostscript 8.61: Unrecoverable error, exit code 1
Error: /undefined in cmmi10
Operand stack:
   (n)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1905
1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3
%oparray_pop   1771   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1156/1684(ro)(G)--   --dict:0/20(G)--   --dict:93/200(L)--
Current allocation mode is local
Current file position is 9838
GPL Ghostscript 8.61: Unrecoverable error, exit code 1
convert: Postscript delegate failed `ex1v2.eps': No such file or directory.
convert: missing an image filename `a.pdf'.


ImageMagick calls Ghostscript to do part of the conversion, so it's no surprise you're getting the same error message both times. The "no such file" message from convert may just mean that it didn't find an intermediate file it was expecting from Ghostscript (the reference to 'ex1v2.eps' is probably just a reminder which source file was being processed when the universe imploded).

I can't read Ghostscript dumps, but it would not surprise me if '/undefined in cmmi10' means that the EPS file contains a character that does not exist in the cmmi10 font. Are there any "funny" characters used in the plot? Would you care to post ex1v2.eps to the list, where we can take a look at it?

/Paul

Reply via email to