Hi,

The next beta will support this (for mp lovers)

\definecolor[maincolor]   [r=.5]
\definecolor[extracolor]  [g=.5]
\definecolor[anothercolor][b=.5]
\definecolor[morecolor]   [s=.8]

\startMPpage
    fill fullcircle scaled 10cm withcolor "maincolor" ;
    fill fullcircle scaled  9cm withcolor "extracolor" ;
    fill fullcircle scaled  8cm withcolor complementary "anothercolor" ;
    fill fullcircle scaled  7cm withcolor complemented "anothercolor" ;
    fill fullcircle scaled  6cm withcolor "morecolor" randomized 1 ;
    fill fullcircle scaled  5cm withcolor "morecolor" randomized 1 ;
addbackground withcolor .5[resolvedcolor("morecolor"),resolvedcolor("extracolor")] ;
\stopMPpage

So, in many cases you can use strings instead of \MPcolor{...}.

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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