Re: [NTG-context] color expansion at runtime

2007-12-17 Thread Peter Rolf
Taco Hoekwater schrieb: > > Peter Rolf wrote: >> I have written such a macro, but sadly it crashes when used inside >> \color or \definecolor. Tried to debug it, but this is my first >> experience with the trace commands (probably not the best example to >> start with). Sigh, still so much to lear

Re: [NTG-context] color expansion at runtime

2007-12-17 Thread Taco Hoekwater
Peter Rolf wrote: > > I have written such a macro, but sadly it crashes when used inside > \color or \definecolor. Tried to debug it, but this is my first > experience with the trace commands (probably not the best example to > start with). Sigh, still so much to learn.. :) The problem is that

Re: [NTG-context] color expansion at runtime

2007-12-17 Thread Hans Hagen
Peter Rolf wrote: > Hi, > > I desperately need runtime defined colors (state dependent) for my > macros. The macros are used with different graphic styles, which is the > reason why I want to avoid any style dependent part inside them. > > To give you an example. I need something like this > > \

Re: [NTG-context] color expansion at runtime

2007-12-15 Thread Wolfgang Schuster
2007/12/15, Peter Rolf <[EMAIL PROTECTED]>: > Wolfgang Schuster schrieb: > > 2007/12/14, Peter Rolf <[EMAIL PROTECTED]>: > >> Hi, > >> > >> I desperately need runtime defined colors (state dependent) for my > >> macros. The macros are used with different graphic styles, which is the > >> reason why

Re: [NTG-context] color expansion at runtime

2007-12-15 Thread Peter Rolf
Wolfgang Schuster schrieb: > 2007/12/14, Peter Rolf <[EMAIL PROTECTED]>: >> Hi, >> >> I desperately need runtime defined colors (state dependent) for my >> macros. The macros are used with different graphic styles, which is the >> reason why I want to avoid any style dependent part inside them. >>

Re: [NTG-context] color expansion at runtime

2007-12-15 Thread Wolfgang Schuster
2007/12/14, Peter Rolf <[EMAIL PROTECTED]>: > Hi, > > I desperately need runtime defined colors (state dependent) for my > macros. The macros are used with different graphic styles, which is the > reason why I want to avoid any style dependent part inside them. > > To give you an example. I need so

Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Peter Rolf
Thomas A. Schmitz schrieb: > On Dec 14, 2007, at 5:57 PM, Peter Rolf wrote: > >> Hi, >> >> I desperately need runtime defined colors (state dependent) for my >> macros. The macros are used with different graphic styles, which is >> the >> reason why I want to avoid any style dependent part insid

Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Thomas A. Schmitz
On Dec 14, 2007, at 5:57 PM, Peter Rolf wrote: > Hi, > > I desperately need runtime defined colors (state dependent) for my > macros. The macros are used with different graphic styles, which is > the > reason why I want to avoid any style dependent part inside them. > > To give you an example.

[NTG-context] color expansion at runtime

2007-12-14 Thread Peter Rolf
Hi, I desperately need runtime defined colors (state dependent) for my macros. The macros are used with different graphic styles, which is the reason why I want to avoid any style dependent part inside them. To give you an example. I need something like this \color[{\StateDependentColor[stateA=g