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

Taco Hoekwater taco at elvenkind.com
Fri Oct 24 10:28:20 CEST 2008


Hi Robin,

Robin Green wrote:
> 
> No, it was generated by MetaPost. Here are the sequence of commands I
> used:

FuncMP.mp is the culprit here. It alters MetaPost's output via
explicit special command so that it is no longer acceptable
to the mptopdf converter.

>> 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

If the document was was 'plain' metapost input, it would actually
have been possible to fix this in texlive 2008 by adding

   prologues:=3;

at the top of the figure1.mp file.

However, FuncMP.mp has redefined (via specials) the PostScript commands
like /fshow etc,. so this won't work. Also, it seems to be altering
the label typesetting so that it uses metafont bitmap (pk) fonts
instead of type1.

My advice is to look into the functional metapost documentation or
ask its author for help and guidelines on how to use the result
images in pdftex (as opposed to dvips/xdvi).

Best wishes,
Taco








More information about the tex-live mailing list