Oliver Buerschaper wrote: >>> OK. However, this doesn't seem to scale properly within the same font >>> … try the following: >>> >>> --- >>> \edef\defaultrulethickness{\the\fontdimen8\textfont3} >> That is because of the \edef. Changing to a plain \def should help: >> >> \def\defaultrulethickness{\the\fontdimen8\textfont3\relax} > > Yep, works! > > 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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________