ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* label in Metapost
@ 2014-04-03 14:45 Jan Heinen
  0 siblings, 0 replies; only message in thread
From: Jan Heinen @ 2014-04-03 14:45 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-03 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-03 14:45 label in Metapost Jan Heinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).