ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \MPcolor bug with LuaTeX
@ 2007-09-18 11:04 Wolfgang Schuster
  2007-09-18 17:15 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Schuster @ 2007-09-18 11:04 UTC (permalink / raw)
  To: ConTeXt

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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \MPcolor bug with LuaTeX
  2007-09-18 11:04 \MPcolor bug with LuaTeX Wolfgang Schuster
@ 2007-09-18 17:15 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2007-09-18 17:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-18 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18 11:04 \MPcolor bug with LuaTeX Wolfgang Schuster
2007-09-18 17:15 ` Hans Hagen

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