[NTG-context] Heading in setuplayout from a variable

2013-04-26 Thread Cecil Westerhof
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[layout][ header=0mm, ] \fi But that does

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}, ]

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

2013-04-26 Thread Cecil Westerhof
2013/4/26 Cecil Westerhof cldwester...@gmail.com: 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 2:35 PM, Cecil Westerhof wrote: 2013/4/26 Cecil Westerhof cldwester...@gmail.com: 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}

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

2013-04-26 Thread Cecil Westerhof
2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 2:35 PM, Cecil Westerhof wrote: 2013/4/26 Cecil Westerhof cldwester...@gmail.com: 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