[tex-live] Missing \endcsname errors when trying to insert MetaPost graphic into PDF

Robin Green greenrd at greenrd.org
Fri Oct 24 02:37:45 CEST 2008

On Fri, 24 Oct 2008 09:39:06 +0200
Taco Hoekwater <taco at elvenkind.com> wrote:

> Robin Green wrote:
> > I am having problems getting a graphic output by MetaPost into my
> > PDF.
>  From the PostScript mentioned in the error messages I can
> deduce that the figure1.mps i not generated by MetaPost,
> but the "MP to PDF" converter can only handle MP output.

No, it was generated by MetaPost. Here are the sequence of commands I

mpost --tex=latex figure1.mp
mv figure1.1 figure1.mps

figure1.mp is attached. It in turn was generated by Functional
MetaPost (from which the include file FuncMP is taken).
> I suggest you rename the file to figure1.eps (and run
> epstopdf on it before inclusion in your latex document)

"epstopdf figure1.eps" outputs this error:

Error: /undefined in cmmi10
Operand stack:
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:1153/1684(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)--
Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.63:
Unrecoverable error, exit code 1

It seems to me that there are about 10 different purported ways to view
something output by MetaPost, and none of them work for my file. :(

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: figure1.mp
Url: http://tug.org/pipermail/tex-live/attachments/20081024/19ae97ab/attachment-0001.pl 

More information about the tex-live mailing list