Hi again, when setting a background layer combined with an early font setup there appears a “0” (ascii 0x30) right after “\starttext”:
·································································
\setupbodyfont[sans] %%% <-- comment this out and the “0” vanishes
\definelayer[bg][x=0,y=0,width=\paperwidth,height=\paperheight] %%% <-- or this
\setlayer[bg]{%
\startMPcode
draw fullcircle scaled (.5*PaperWidth) withpen pencircle xscaled 7
withcolor \MPcolor{gray:7};
\stopMPcode
}
\setupbackgrounds[paper][background=bg]
\starttext
\input dawkins
\stoptext
·································································
Removing either the “\definelayer” or “\setupbodyfont” statement
makes it go away.
What have I come across this time?
Philipp
pgp0qo5NQO3ng.pgp
Description: PGP signature
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
