On Fri, 9 Aug 2013, Sanjoy Mahajan wrote:

The internal mptopdf converter in MkIV omit some glyphs in the labels.
Here's a minimal example (test.tex):




And testfig.1 is produced by testfig.mp

Any particular reason that you are compiling metapost files using mp and then including them in ConTeXt rather than directly using any one of the inbuilt ConTeXt environments for handling mp (\startMPcode, \useMPgraphic, \processMPbuffer, etc.)

label(btex $\Omega$ etex, (0,0));
currentpicture := currentpicture scaled 5;

Here's testfig.1 to save a step in debugging:

%%BoundingBox: -18 -18 18 18
%%HiResBoundingBox: -17.98805 -17.0195 17.98798 17.0195
%%Creator: MetaPost 1.803
%%CreationDate: 2013.08.09:1612
%%Pages: 1
%*Font: cmr10 49.81323 9.96265 0a:8
%%Page: 1 1
0 0 0 setrgbcolor
-17.98805 -17.0195 moveto
(\012) cmr10 49.81323 fshow

Then do:

 mptopdf testfig.1
 context test.tex
 xpdf test.pdf

The first framed box, using the internal mps->pdf conversion, is empty.
The second framed go, using the pdf file produced by mptopdf, correctly
contains \Omega.

Try adding

    prologues := 2;


    prologues := 3;

in your mp file.

If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net

Reply via email to