From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9181 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: how to define a global color? Date: Wed, 11 Sep 2002 23:15:41 +0530 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020911231157.02a1c830@remote-1> References: <3D7C68C4.7050606@voiceinterconnect.de> <20020909115411.22941bd9.taco@elvenkind.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399525 1175 80.91.224.250 (23 Oct 2002 18:58:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:58:45 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Uwe Koloska In-Reply-To: <3D7C8399.7070804@voiceinterconnect.de> Xref: main.gmane.org gmane.comp.tex.context:9181 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9181 At 01:18 PM 9/9/2002 +0200, Uwe Koloska wrote: >Hi Taco, > >Taco Hoekwater schrieb: >>Hi Uwe, >>This has bitten me too, in the past. \global doesnt work >>with definecolor. >>Here is a rude, but reasonably safe solution (that is: it never caused >>any harm in my input files, but no warranty): >>\globaldefs=1 >>\definecolor [...][] >>\globaldefs=0 > >very nice -- Thank you! Works very well. as taco said, this can be rude (problematic), if really needed i can implement \doglobal\definecolor [nb: global must be applied several times inside definecolor] just curious: why do you need to globally redefine colors? maybe a solution like \definecolor[color-a][red] \definecolor[color-b][color-a] etc is better ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------