Oliver Buerschaper wrote: >>> 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
inclusions happen once, initializations for each graphic ----------------------------------------------------------------- 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 ___________________________________________________________________________________