* \definecolorgroup with gray values
@ 2003-05-16 9:50 Peter Rolf
2003-05-17 15:41 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Peter Rolf @ 2003-05-16 9:50 UTC (permalink / raw)
I want to define a colorgroup of gray values, so I tried the following:
\definecolorgroup[test][gray]
[.1:.1:.1,
.2:.2:.2]
The result was:
----------------------------------------
ConTeXt ver: 2003.4.29 fmt: 2003.5.8 int: english mes: english
...
! Undefined control sequence.
<argument> \v!gray
\p!compareprocessaction ...edaction \!!stringb {#1
}\ifx \!!stringa
\!!string...
\next1 #1,->\p!doprocessaction {#1}
\doprocesscommaitem
<argument> ...gray =>\edef \currentcolorspace {S},
\v!spot =>\edef
\currentc...
\processnextcommalist ...dodoprocesscommaitem #4#5
,]\relax \global
\advance ...
\dodefinecolorgroup ...def \currentcolorspace {R}]
\colorcount \zerocount
\de...
----------------------------------------
Maybe there is a shorter way to define the gray values,
so I tried
\definecolorgroup[test][gray]
[.1,
.2]
No luck. When I use rgb tables, all works fine.
Has anyone an answer for that?
Regards,
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \definecolorgroup with gray values
2003-05-16 9:50 \definecolorgroup with gray values Peter Rolf
@ 2003-05-17 15:41 ` Hans Hagen
2003-05-19 8:50 ` Peter Rolf
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2003-05-17 15:41 UTC (permalink / raw)
At 11:50 16/05/2003 +0200, you wrote:
>I want to define a colorgroup of gray values, so I tried the following:
>
>\definecolorgroup[test][gray]
> [.1:.1:.1,
> .2:.2:.2]
>
>The result was:
>----------------------------------------
>ConTeXt ver: 2003.4.29 fmt: 2003.5.8 int: english mes: english
>...
>
>! Undefined control sequence.
><argument> \v!gray
oeps, change v!gray in colo-ini.tex into \v!grijs
Hans
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-19 8:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-16 9:50 \definecolorgroup with gray values Peter Rolf
2003-05-17 15:41 ` Hans Hagen
2003-05-19 8:50 ` Peter Rolf
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).