* Parameters in \definecolor
@ 2011-11-09 17:37 Marcin Borkowski
2011-11-09 18:13 ` Wolfgang Schuster
0 siblings, 1 reply; 8+ messages in thread
From: Marcin Borkowski @ 2011-11-09 17:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi all,
the manual (the "current draft") says that possible parameters for
\definecolor are:
r,g,b,
c,m,y,k,
s,
h,t,a,p,e
While the first three (rgb), the second four (cmyk) and the third one
(s) are pretty obvious for me - rgb, cmyk and greys, I suppose - I'm
wondering what is the use of the others?
Also, do I get it correctly that if I give all r,g,b,c,m,y,k and s, I
will define the same colorname for rgb, cmyk and grey documents, so
that \setupcolors[cmyk=no], \setupcolors[rgb=no] and
\setupcolors[reduction=yes] (or something similar) will choose only the
rgb/cmyk/s components and ignore the others?
Best,
--
Marcin Borkowski
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Parameters in \definecolor
2011-11-09 17:37 Parameters in \definecolor Marcin Borkowski
@ 2011-11-09 18:13 ` Wolfgang Schuster
2011-11-10 7:55 ` Marcin Borkowski
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2011-11-09 18:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 09.11.2011 um 18:37 schrieb Marcin Borkowski:
> Hi all,
>
> the manual (the "current draft") says that possible parameters for
> \definecolor are:
> r,g,b,
> c,m,y,k,
> s,
> h,t,a,p,e
>
> While the first three (rgb), the second four (cmyk) and the third one
> (s) are pretty obvious for me - rgb, cmyk and greys, I suppose - I'm
> wondering what is the use of the others?
They are explained in the wiki: http://wiki.contextgarden.net/Colors
Hans posted also a while ago a list with all parameters and AFAIR a short explanation, search in the mail archive for the message.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Parameters in \definecolor
2011-11-09 18:13 ` Wolfgang Schuster
@ 2011-11-10 7:55 ` Marcin Borkowski
2011-11-10 9:04 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Marcin Borkowski @ 2011-11-10 7:55 UTC (permalink / raw)
To: ntg-context
Dnia 2011-11-09, o godz. 19:13:23
Wolfgang Schuster <schuster.wolfgang@googlemail.com> napisał(a):
>
> Am 09.11.2011 um 18:37 schrieb Marcin Borkowski:
>
> > Hi all,
> >
> > the manual (the "current draft") says that possible parameters for
> > \definecolor are:
> > r,g,b,
> > c,m,y,k,
> > s,
> > h,t,a,p,e
> >
> > While the first three (rgb), the second four (cmyk) and the third
> > one (s) are pretty obvious for me - rgb, cmyk and greys, I suppose
> > - I'm wondering what is the use of the others?
>
> They are explained in the wiki: http://wiki.contextgarden.net/Colors
Hm, I can't find it there... Only "t" seems to stand for transparency,
and "e" for the postscript color name (or so).
> Hans posted also a while ago a list with all parameters and AFAIR a
> short explanation, search in the mail archive for the message.
I also couldn't find that; I searched Hans' emails for "color" and
"definecolor", but to no avail, except for that "a" seemingly stands
for "alternative".
Not that this is a serious problem for me, but I'm a bit curious, so
maybe someone could point me to the relevant part in the source and I'd
try to understand it from there?
>
> Wolfgang
Best,
--
Marcin Borkowski
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Parameters in \definecolor
2011-11-10 7:55 ` Marcin Borkowski
@ 2011-11-10 9:04 ` Hans Hagen
2011-11-12 19:27 ` Marcin Borkowski
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2011-11-10 9:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 10-11-2011 08:55, Marcin Borkowski wrote:
> Dnia 2011-11-09, o godz. 19:13:23
> Wolfgang Schuster<schuster.wolfgang@googlemail.com> napisał(a):
>
>>
>> Am 09.11.2011 um 18:37 schrieb Marcin Borkowski:
>>
>>> Hi all,
>>>
>>> the manual (the "current draft") says that possible parameters for
>>> \definecolor are:
>>> r,g,b,
red
green
blue
>>> c,m,y,k,
cyan
magenta
yellow
black
>>> s,
gray (shade)
>>> h,t,a,p,e
hexadecimal (html like)
transparencyfactor
transparancyalternative
spotcolorfactor
extraspotcolorname (in pdf resource)
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Parameters in \definecolor
2011-11-10 9:04 ` Hans Hagen
@ 2011-11-12 19:27 ` Marcin Borkowski
2011-11-12 19:39 ` Aditya Mahajan
0 siblings, 1 reply; 8+ messages in thread
From: Marcin Borkowski @ 2011-11-12 19:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dnia 2011-11-10, o godz. 10:04:55
Hans Hagen <pragma@wxs.nl> napisał(a):
> On 10-11-2011 08:55, Marcin Borkowski wrote:
> > Dnia 2011-11-09, o godz. 19:13:23
> > Wolfgang Schuster<schuster.wolfgang@googlemail.com> napisał(a):
> >
> >>
> >> Am 09.11.2011 um 18:37 schrieb Marcin Borkowski:
> >>
> >>> Hi all,
> >>>
> >>> the manual (the "current draft") says that possible parameters for
> >>> \definecolor are:
> >>> r,g,b,
>
> red
> green
> blue
Obvious;).
>
> >>> c,m,y,k,
>
> cyan
> magenta
> yellow
> black
As above;).
>
> >>> s,
>
> gray (shade)
Didn't think of "shade", but I got that it was gray.
>
> >>> h,t,a,p,e
>
> hexadecimal (html like)
> transparencyfactor
> transparancyalternative
> spotcolorfactor
> extraspotcolorname (in pdf resource)
Wow, now it's more clear. Just one question: what are the
"transparency alternatives"?
Best,
--
Marcin Borkowski
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Parameters in \definecolor
2011-11-12 19:27 ` Marcin Borkowski
@ 2011-11-12 19:39 ` Aditya Mahajan
2011-11-12 20:31 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2011-11-12 19:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, 12 Nov 2011, Marcin Borkowski wrote:
>> hexadecimal (html like)
>> transparencyfactor
>> transparancyalternative
>> spotcolorfactor
>> extraspotcolorname (in pdf resource)
>
> Wow, now it's more clear. Just one question: what are the
> "transparency alternatives"?
IIRC, they are documented in the metafun manual.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Parameters in \definecolor
2011-11-12 19:39 ` Aditya Mahajan
@ 2011-11-12 20:31 ` Hans Hagen
2011-11-12 20:34 ` Marcin Borkowski
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2011-11-12 20:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12-11-2011 20:39, Aditya Mahajan wrote:
> On Sat, 12 Nov 2011, Marcin Borkowski wrote:
>>> hexadecimal (html like)
>>> transparencyfactor
>>> transparancyalternative
>>> spotcolorfactor
>>> extraspotcolorname (in pdf resource)
>>
>> Wow, now it's more clear. Just one question: what are the
>> "transparency alternatives"?
>
> IIRC, they are documented in the metafun manual.
and in the pdf spec
none
normal
multiply
screen
overlay
softlight
hardlight
colordodge
colorburn
darken
lighten
difference
exclusion
hue
saturation
color
luminosity
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Parameters in \definecolor
2011-11-12 20:31 ` Hans Hagen
@ 2011-11-12 20:34 ` Marcin Borkowski
0 siblings, 0 replies; 8+ messages in thread
From: Marcin Borkowski @ 2011-11-12 20:34 UTC (permalink / raw)
To: ntg-context
Dnia 2011-11-12, o godz. 21:31:02
Hans Hagen <pragma@wxs.nl> napisał(a):
> On 12-11-2011 20:39, Aditya Mahajan wrote:
> > On Sat, 12 Nov 2011, Marcin Borkowski wrote:
> >>> hexadecimal (html like)
> >>> transparencyfactor
> >>> transparancyalternative
> >>> spotcolorfactor
> >>> extraspotcolorname (in pdf resource)
> >>
> >> Wow, now it's more clear. Just one question: what are the
> >> "transparency alternatives"?
> >
> > IIRC, they are documented in the metafun manual.
>
> and in the pdf spec
>
> none
> normal
> multiply
> screen
> overlay
> softlight
> hardlight
> colordodge
> colorburn
> darken
> lighten
> difference
> exclusion
> hue
> saturation
> color
> luminosity
Thanks a lot, they are there indeed!
BTW (not ConTeXt-related): seemigly they are all rendered the same in
evince.
Best,
--
Marcin Borkowski
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-11-12 20:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 17:37 Parameters in \definecolor Marcin Borkowski
2011-11-09 18:13 ` Wolfgang Schuster
2011-11-10 7:55 ` Marcin Borkowski
2011-11-10 9:04 ` Hans Hagen
2011-11-12 19:27 ` Marcin Borkowski
2011-11-12 19:39 ` Aditya Mahajan
2011-11-12 20:31 ` Hans Hagen
2011-11-12 20:34 ` Marcin Borkowski
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).