From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: how to define a global color?
Date: Wed, 11 Sep 2002 23:15:41 +0530 [thread overview]
Message-ID: <5.1.0.14.1.20020911231157.02a1c830@remote-1> (raw)
In-Reply-To: <3D7C8399.7070804@voiceinterconnect.de>
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2002-09-11 17:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-09 9:24 Uwe Koloska
2002-09-09 9:54 ` Taco Hoekwater
2002-09-09 11:18 ` Uwe Koloska
2002-09-11 17:45 ` Hans Hagen [this message]
2002-09-12 8:02 ` Taco Hoekwater
2002-09-18 12:58 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20020911231157.02a1c830@remote-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).