[NTG-context] mutual color definition

Hans Hagen pragma at wxs.nl
Tue May 15 16:15:50 CEST 2012


On 14-5-2012 19:19, Peter Rolf wrote:
> Hi,
>
> while playing around with colors, I accidentally used two mutual color
> definitions. Stupid thing to do, but shit happens. :-D
>
> This example ends in an infinite loop.
>
> %----------------------
> \definecolor[foo][red]
> \definecolor[bar][foo]
>
> \starttext
>
> \definecolor[foo][bar]
> \color[foo] foo \color[bar] bar
>
> \stoptext
> %----------------------

That's hard to catch but anyway you can't complain that you don't get 
what you asked for -)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list