>> What's the correct way of piping this to MetaFun? Putting
>>
>> DefaultRuleThickness := \defaultrulethickness;
>>
>> into each "\startuseMPgraphic{}" block works, but how can I define
>> this globally? Moving it into "\startMPinclusions" creates a scope
>> problem … see also the other thread about BodyFontSize etc.
>
> \def\defaultrulethickness{\the\fontdimen8\textfont\plusthree}
>
> \startMPinitializations
>   DefaultRuleThickness := \defaultrulethickness;
> \stopMPinitializations

This works like a charm!

Now I'm a bit confused though as to which definitions need this  
"MPinitializations" block and which ones can/should go to  
"MPinclusions". For example, a subsequent

---
\startMPinclusions
     medium               := DefaultRuleThickness;
     thick                := 1.5medium;
\stopMPinclusions
---

doesn't work. However, color definitions for instance seem to be OK  
there.

Could you give me a hint?

Thanks,
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