Oliver Buerschaper schrieb: > Dear folks, > > I'm wondering how to communicate a different default bodyfont size to > MetaFun ... consider this: > > --- > > \setupbodyfont[32pt] > > > \starttext > > \input ward > > \startuseMPgraphic{test} > draw unitsquare scaled BodyFontSize; > draw textext.rt("Test"); > draw btex \TeX etex xshifted 2*BodyFontSize; > \stopuseMPgraphic > \useMPgraphic{test} > > \stoptext > > --- > > Somehow MetaFun doesn't recognize the larger body font size :-( What > can I do? > Hi Oliver,
see http://wiki.contextgarden.net/Mpgraphic#.5CstartMPenvironment You can use one of the options [global|+|reset]. 'global' and '+' are also setting the env in the main doc (one font def for all), 'reset' brings the environment back to it's defaults (s. meta-ini.tex). Best wishes, Peter > Oliver > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________