Hi, colors defined in gray values give a inverted output in MetaPost with the \MPcolor macro. The output in the text is fine and the red and cyan circles in the MetaPost graphics are also correct but the gray circle has the value s=0.1 and not s=.9 as defined in the colo-rgb file. \setupcolors[state=start] \starttext \color[gray]{Gray} \color[red]{Red} \color[cyan]{Cyan} \startMPpage fill fullcircle scaled 4cm ; fill fullcircle scaled 4cm shifted (5cm,0) withcolor \MPcolor{gray} ; fill fullcircle scaled 4cm shifted (2*5cm,0) withcolor \MPcolor{red} ; fill fullcircle scaled 4cm shifted (3*5cm,0) withcolor \MPcolor{cyan} ; \stopMPpage \stoptext Wolfgang
Wolfgang Schuster wrote:
Hi,
colors defined in gray values give a inverted output in MetaPost with the \MPcolor macro.
afaik this was fixed (take the beta) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster