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