At 10:05 AM 6/28/2002 +0100, you wrote:
>All,
>Ensuring document consistency between pictures and text is a very nice
>feature of context. The lines below work for fonts but not for colours. Is
>there a nice way to achieve the objective for colours.
>
>\startMPenvironment[+]
>\setupbodyfont
>     [pos,rm,12pt]
>\definecolor
>     [cola]
>     [r=.1797,g=.023,b=.406]
>\stopMPenvironment


\setupcolors[state=start]
\definecolor[red][r=.9]

\startMPcode
   draw fullcircle scales 3cm withcolor \MPcolor{red} ;
\stopMPcode


-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       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
-------------------------------------------------------------------------

Reply via email to