ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \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

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).