From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36649 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: \MPcolor bug with LuaTeX Date: Tue, 18 Sep 2007 13:04:08 +0200 Message-ID: <20070918130408.9b194aa5.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190113480 32237 80.91.229.12 (18 Sep 2007 11:04:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 11:04:40 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 18 13:04:38 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IXasf-0006uY-SJ for gctc-ntg-context-518@m.gmane.org; Tue, 18 Sep 2007 13:04:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1DD551FAF4; Tue, 18 Sep 2007 13:04:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10279-04-4; Tue, 18 Sep 2007 13:04:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 03B301FAFB; Tue, 18 Sep 2007 13:04:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5AF4E1FAFB for ; Tue, 18 Sep 2007 13:04:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10279-04-3 for ; Tue, 18 Sep 2007 13:04:18 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by ronja.ntg.nl (Postfix) with ESMTP id 084231FAF4 for ; Tue, 18 Sep 2007 13:04:18 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id h2so66677ugf for ; Tue, 18 Sep 2007 04:04:17 -0700 (PDT) Original-Received: by 10.67.105.10 with SMTP id h10mr604637ugm.1190113457645; Tue, 18 Sep 2007 04:04:17 -0700 (PDT) Original-Received: from eve ( [89.51.234.21]) by mx.google.com with ESMTPS id 27sm1271677ugp.2007.09.18.04.04.14 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2007 04:04:16 -0700 (PDT) X-Mailer: Sylpheed 2.4.4 (GTK+ 2.10.13; i686-pc-mingw32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36649 Archived-At: 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 ___________________________________________________________________________________