Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-14 Thread Marco Patzer
On 2013–02–14 Marco Patzer wrote: Now I can use “n” in all MP instances (unless switched off for the particular instance). I'd like to define some variables only visible in instance “foo”. Something like \startMPinitializations [foo] numeric n; n=4cm; \stopMPinitializations What

Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-14 Thread Alan BRASLAU
I am glad to see that I am not alone being confused... We have: \defineMPinstance [name] [\s!format=metafun, \s!extensions=\v!yes, \s!initializations=\v!yes, \c!method=\s!default, \c!textstyle=, \c!textcolor=] also, \setupMPinstance So that extensions=yes|no and

Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-14 Thread Marco Patzer
On 2013–02–14 Alan BRASLAU wrote: So that extensions=yes|no and initializations=yes|no controls the use of MPextensions and MPinitializations. It seems that extensions is intended for all instances (when enabled). From what I can see, extensions are read once, initializations each, and

Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-14 Thread Alan BRASLAU
On Thu, 14 Feb 2013 19:14:46 +0100 Marco Patzer home...@lavabit.com wrote: I still have not figured out how to specify MPinclusions for a particular instance. Try \startMPdefinitions{myinstance} This is *not* the same as MPinclusions! We may have an instance with its own MPdefinitions,

Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-14 Thread Wolfgang Schuster
Am 14.02.2013 um 18:59 schrieb Alan BRASLAU alan.bras...@cea.fr: I still have not figured out how to specify MPinclusions for a particular instance. That’s not supported, the settings are applied to all instances and you only enable or disable them. Wolfgang

Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-14 Thread Hans Hagen
On 2/14/2013 7:14 PM, Marco Patzer wrote: On 2013–02–14 Alan BRASLAU wrote: So that extensions=yes|no and initializations=yes|no controls the use of MPextensions and MPinitializations. It seems that extensions is intended for all instances (when enabled). From what I can see, extensions are

[NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-13 Thread Marco Patzer
Hi, I know that MPinclusions are included only once and MPinitializations are included once for each graphic. But how do MPextensions fit in? How can I define variables or definitions that are local to a particular MP instance? Marco signature.asc Description: Digital signature

Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-13 Thread Hans Hagen
On 2/13/2013 6:59 PM, Marco Patzer wrote: Hi, I know that MPinclusions are included only once and MPinitializations are included once for each graphic. But how do MPextensions fit in? How can I define variables or definitions that are local to a particular MP instance? by defining a new

Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-13 Thread Marco Patzer
On 2013–02–14 Hans Hagen wrote: I know that MPinclusions are included only once and MPinitializations are included once for each graphic. But how do MPextensions fit in? How can I define variables or definitions that are local to a particular MP instance? by defining a new instance I