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?

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

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