[metapost] Error when converting metapost files to PDF files

Liunian liunian at zju.edu.cn
Thu Apr 19 13:29:58 CEST 2007


"Wentao Zheng" <zhengwt at gmail.com> writes:

> Hi,
>
> I'm using MikTeX system and recently I met a problem when converting metapost
> files to PDF files with the program ' epstopdf.exe'
>
> Problem description:
>
>              mp.exe             epstopdf.exe 
                                             \__> try  "mptopdf"  
> figure.mp  ---------> figure.1 ---------------> figure.pdf
>
> When I used some codes such as 'label(...)' to produce some text, mp.exe works
> fine with no error, but epstopdf.exe print error message like:
>
> epstopdf.exe figure.1
> Error: /undefined in cmr10
> Operand stack:
>    (hello)
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--  
> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
> --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3  
> %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2  
> --nostringval--   --nostringval--   --nostringval--   2   %stopped_push  
> --nostringval--
> Dictionary stack:
>    --dict:1115/1686(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
> Current allocation mode is local
> Last OS error: No such file or directory
> MiKTeX GPL Ghostscript 8.15: Unrecoverable error, exit code 1
>
> How to solve this problem?
> Thanks!


More information about the metapost mailing list