Re: [NTG-context] Heading in setuplayout from a variable

2013-04-26 Thread Cecil Westerhof
2013/4/26 Hans Hagen : > On 4/26/2013 2:35 PM, Cecil Westerhof wrote: >> >> 2013/4/26 Cecil Westerhof : > > I have the following code: > \setvariables[meta][type=cecil] >> >> >> This variable is hard coded. Is it possible to set it with a value I >> send as a command line parameter? > >

Re: [NTG-context] Heading in setuplayout from a variable

2013-04-26 Thread Hans Hagen
On 4/26/2013 2:35 PM, Cecil Westerhof wrote: 2013/4/26 Cecil Westerhof : I have the following code: \setvariables[meta][type=cecil] This variable is hard coded. Is it possible to set it with a value I send as a command line parameter? \getdocumentargument{myargument} of use modes (often mor

Re: [NTG-context] Heading in setuplayout from a variable

2013-04-26 Thread Cecil Westerhof
2013/4/26 Cecil Westerhof : >>> I have the following code: >>> \setvariables[meta][type=cecil] This variable is hard coded. Is it possible to set it with a value I send as a command line parameter? -- Cecil Westerhof ___

Re: [NTG-context] Heading in setuplayout from a variable

2013-04-26 Thread Hans Hagen
On 4/26/2013 1:27 PM, Cecil Westerhof wrote: It is a long time since I used ConTeXt. I am starting again. I have the following code: \setvariables[meta][type=cecil] \if\getvariable{meta}{type}=cecil \setvariables[meta][ name={Cecil Westerhof}, ] \setvariables[layou