On Mon, Oct 22, 2012 at 11:23 AM, Procházka Lukáš Ing. - Pontex s. r. o. <
l...@pontex.cz> wrote:

> On Mon, 22 Oct 2012 11:11:08 +0200, luigi scarso <luigi.sca...@gmail.com>
> wrote:
>
>  On Mon, Oct 22, 2012 at 11:10 AM, Procházka Lukáš Ing. - Pontex s. r. o. <
>> l...@pontex.cz> wrote:
>>
>>  Hello,
>>>
>>> there is a color "red:3" noticed at http://wiki.contextgarden.net/**
>>> **Colors <http://wiki.contextgarden.net/**Colors><http://wiki.**
>>> contextgarden.net/Colors <http://wiki.contextgarden.net/Colors>>
>>>
>>> .
>>>
>>> However, the following code doesn't work with color "red:3"
>>> specification:
>>>
>>> ----
>>> \starttext
>>>   \showcolor[rgb]
>>>
>>>   \color[red]{AAA}
>>>   \color[red:3]{AAA}
>>> \stoptext
>>> ----
>>>
>>> So, how it the matter with using "red:3" correctly?
>>>
>>> I don't see it -- where do you see "red:3" ?
>>>
>>
> Wiki at 
> http://wiki.contextgarden.net/**Colors<http://wiki.contextgarden.net/Colors>
> :
>
> "
> ...
> Using predefined colors: \setupcolor
> ...
> \setupcolors[state=start]
> \showcolor[rgb]
>
> yields this:
>
> <picture>   <- The 3rd line from the bottom of the generated output:
> "0.790 1.000 0.700 0.700 red:3"
>
> Defining colors: \definecolor
> ...
>
> "
>
> Lukas
>

Ah ok , it was an image. The text says
"You find lists of predefined colors in the files colo-xxx.tex,.."
but colo*tex it's an old file -- it should be colo-rgb.mkii , ie pdftex

So
%%test.mkii
\setupcolors[state=start]
\starttext
  \showcolor[rgb]

  \color[red]{AAA}
  \color[red:3]{AAA}
\stoptext

and
# texexec test.mkii
works

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to