![](https://secure.gravatar.com/avatar/da275274bab3cdbc839a9d0e8f2c2299.jpg?s=120&d=mm&r=g)
13 Aug
2008
13 Aug
'08
10:56 a.m.
Dear wizards of ConTeXt, I'm wondering why ConTeXt doesn't seem to know about "BodyFontSize" in the "MPinclusions" block … try: --- \startMPinclusions DefaultRuleThickness := 0.47998pt*BodyFontSize/12pt; pickup pencircle scaled DefaultRuleThickness; defaultpen := savepen; \stopMPinclusions \startuseMPgraphic{localRule1a} draw fullsquare scaled BodyFontSize; \stopuseMPgraphic \starttext \startformula \Phi(\useMPgraphic{localRule1a}) \stopformula \stoptext --- As soon as I move the content of "MPinclusions" over to the beginning of my "useMPgraphic" code everything works as expected … Where's the best location to put this sort of definitions then? Is it the "MPenvironment" block? Oliver
5817
Age (days ago)
5817
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver Buerschaper