\definecolorgroup with gray values
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
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 -------------------------------------------------------------------------
Thanks to Hans for fixing things so fast and to Jens-Uwe for his additional help. All works fine again :) Regards, Peter
participants (2)
-
Hans Hagen
-
Peter Rolf