13 Aug
2008
13 Aug
'08
4:56 p.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
5975
Age (days ago)
5975
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver Buerschaper