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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to