On Fri, 28 Jun 2002 10:05:59 +0100 Nigel King <[EMAIL PROTECTED]> wrote:
> 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 in your MP-figure you can use \MPcolor in order to get a color defined in your ConTeXt input, see section 3.5 "Communicating color" in the MetaFun manual. Jens
