ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Cc: ntg-context@ntg.nl
Subject: Re: how to define a global color?
Date: Mon, 9 Sep 2002 11:54:11 +0200	[thread overview]
Message-ID: <20020909115411.22941bd9.taco@elvenkind.com> (raw)
In-Reply-To: <3D7C68C4.7050606@voiceinterconnect.de>

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

On Mon, 09 Sep 2002 11:24:20 +0200, Uwe wrote:

> Hello,
> 
> how can I define a color inside of say an itemization?
> 
> If I say \definecolor[name][color] inside of an itemization, the 
> definition is lost after the \stopitemize.
> 
> Is there something like a \global\definecolor?
> 
> Yours
> Uwe Koloska
> 
> -- 
> voiceINTERconnect www.voiceinterconnect.de
> ... smart speech applications from germany

-- 
groeten,

Taco


  reply	other threads:[~2002-09-09  9:54 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 [this message]
2002-09-09 11:18   ` Uwe Koloska
2002-09-11 17:45     ` Hans Hagen
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=20020909115411.22941bd9.taco@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).