From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: color conversion causes error with MPgraphic
Date: Mon, 9 Jan 2012 08:02:11 +0100 [thread overview]
Message-ID: <00E05E81-03E0-406E-94E9-283E1F13BC31@st.estfiles.de> (raw)
In-Reply-To: <4F0A288F.9070704@wxs.nl>
Am 09.01.2012 um 00:36 schrieb Hans Hagen:
> a side effect of mp's color models not being to clever .. why exactly do you need the never
For setting colors to black (better explained here):
Anfang der weitergeleiteten E-Mail:
> Von: Hans Hagen <pragma@wxs.nl>
> Datum: 1. März 2010 16:56:09 MEZ
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: Re: [NTG-context] MkIV gray, no MkII black ?
> Antwort an: mailing list for ConTeXt users <ntg-context@ntg.nl>
>
> On 1-3-2010 15:02, Peter Rolf wrote:
>> Hi Steffen,
>>
>> Am 01.03.2010 13:41, schrieb Steffen Wolfrum:
>>> Hi,
>>>
>>> in MkII I set \setupcolors[state=start] to activate defined colors (for text, numbers etc.),
>>> and \setupcolors[state=stop] to set these colors to black.
>>>
>>> Now, in MkIV \setupcolors[state=stop] does set these colors to gray. Not to black.
>>> [Log: "color : system gray is global activated"]
>>>
>>>
>>> What is the key to set either "color is color" or "color is black" again?
>>>
>> i don't think mkiv has such an option (but maybe i'm wrong).
>> how about defining some color palettes then? this should work with both
>> marks.
>>
>> \definepalet[coloredtext][...]
>> \setuppalet[coloredtext]
>>
>> \startmode[black]
>> \definepalet[blacktext] [red=black, blue=black,...]
>> \setuppalet[blacktext]
>> \stopmode
>
> as colorspace info travels indepently you can say
>
> \attribute\colormodelattribute\attributeunsetvalue
>
>
> i'll add
>
> \setupcolors[state=stop,conversion=never]
Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-01-09 7:02 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-08 18:32 Steffen Wolfrum
2012-01-08 23:36 ` Hans Hagen
2012-01-09 7:02 ` Steffen Wolfrum [this message]
2012-01-09 9:12 ` rvhassel
2012-01-09 10:43 ` Fwd: " Steffen Wolfrum
2012-01-09 10:49 ` luigi scarso
2012-01-09 11:00 ` Steffen Wolfrum
2012-01-09 11:07 ` luigi scarso
2012-01-09 11:41 ` rvhassel
2012-01-09 11:57 ` luigi scarso
2012-01-09 12:01 ` Steffen Wolfrum
2012-01-09 12:03 ` Steffen Wolfrum
2012-01-09 12:53 ` Patrick Gundlach
2012-01-09 12:55 ` Patrick Gundlach
2012-01-10 7:26 ` rvhassel
2012-01-10 7:39 ` luigi scarso
2012-01-10 8:40 ` Hans Hagen
2012-01-10 9:33 ` rvhassel
2012-01-10 12:32 ` idea for a ConTeXt keyboard rvhassel
2012-01-10 20:22 ` Pontus Lurcock
2012-01-10 20:28 ` Hans Hagen
2012-01-11 10:30 ` Philipp A.
2012-01-11 10:34 ` luigi scarso
2012-01-11 12:22 ` rvhassel
2012-01-10 8:33 ` Fwd: color conversion causes error with MPgraphic Steffen Wolfrum
2012-01-10 8:36 ` Jörg Hagmann
2012-01-10 8:44 ` Fwd: " Hans Hagen
2012-01-09 12:39 ` 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=00E05E81-03E0-406E-94E9-283E1F13BC31@st.estfiles.de \
--to=context@st.estfiles.de \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).