[NTG-context] Can I share METAPOST vardefs over multiple pages?

Gerben Wierda gerben.wierda at rna.nl
Sat Mar 14 13:20:21 CET 2020



> On 13 Mar 2020, at 14:59, Hans Hagen <j.hagen at xs4all.nl> wrote:
> 
> On 3/13/2020 2:33 PM, Aditya Mahajan wrote:
>> On Fri, 13 Mar 2020, Taco Hoekwater wrote:
>>> Hi,
>>> 
>>> 
>>> 
>>>> On 13 Mar 2020, at 12:53, Gerben Wierda <Gerben.Wierda at rna.nl> wrote:
>>>> 
>>>> Suppose I have this code:
>>>> 
>>>> 
>>>> Can I reuse that varied across follow-up MPPages?
>>> 
>>> Sure, put the vardef inside \startMPinclusions:
>> or \startMPdefinitions ... \stopMPdefinitions (don't remember what is the difference between inclusions and definitions, now).
> definitions: once
> inclusions : every time

That is not quite clear to me (ambiguous because of a lack of experience).

Does ‘once’ mean, valid in just one page or valid in all following pages?

G



More information about the ntg-context mailing list