Re: [NTG-context] macro beginner question

2010-06-05 Thread Taco Hoekwater
Bernhard Rosensteiner wrote: Hello all, in the process of learning macro programming in context i encountered the following problem (minimal example is attached): When i have \setuphead[section][color={red}] the color key influences in a strange way my „novice macro“ (see the text which

Re: [NTG-context] macro beginner question

2010-06-05 Thread Bernhard Rosensteiner
deleting the \def\Mycolor line does not help - same result. best regards Bernhard Am 05.06.2010 um 14:34 schrieb Taco Hoekwater: Bernhard Rosensteiner wrote: Hello all, in the process of learning macro programming in context i encountered the following problem (minimal example is

Re: [NTG-context] macro beginner question

2010-06-05 Thread Taco Hoekwater
Bernhard Rosensteiner wrote: deleting the \def\Mycolor line does not help - same result. No, that would definitely not help. Your problem was not the definition, but that you never actually called the macro. You should put the definition back, and add \Mycolor to the \OpticalTest macro,

Re: [NTG-context] macro beginner question

2010-06-05 Thread Bernhard Rosensteiner
Am 05.06.2010 um 15:04 schrieb Taco Hoekwater: Bernhard Rosensteiner wrote: deleting the \def\Mycolor line does not help - same result. No, that would definitely not help. Your problem was not the definition, but that you never actually called the macro. You should put the definition