[NTG-context] label in Metapost

Jan Heinen JaHeinen at gmx.de
Thu Apr 3 16:45:45 CEST 2014


Ten years ago I made a book with ConText and some Metapost.
I made a circle and wrote the number into it:


\startuseMPgraphic{Pagenumber}
defaultfont := "pxb";
defaultscale := 1.5;
fill fullcircle scaled 36pt withcolor .75white;
numeric i;
string pagex;
i := PageNumber;
pagenum = decimal i;
label( pagenum, center currentpicture) withcolor black;
\stopuseMPgraphic


"label" does not write the number into the circle - years 
ago this was working.
What changed in new Metapost? How can I get the number into 
the circle?



More information about the ntg-context mailing list