From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54811 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Metapost and mkiv Date: Fri, 27 Nov 2009 14:54:53 +0100 Message-ID: <3A9B12AC-0F94-4CDC-88B1-5AE7DE38F91B@boede.nl> References: <86d68cc30911250727xcbb007elc822b887a3d54c30@mail.gmail.com> <86d68cc30911251052q2be98522ked8a0e93508a9e4d@mail.gmail.com> <4B0E5ACD.607@wxs.nl> <200911271031.49277.alan.braslau@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259330135 29746 80.91.229.12 (27 Nov 2009 13:55:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2009 13:55:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 27 14:55:28 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NE1IE-00051G-En for gctc-ntg-context-518@m.gmane.org; Fri, 27 Nov 2009 14:55:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3DA94C9CB5; Fri, 27 Nov 2009 14:52:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pU4Jno86EiaM; Fri, 27 Nov 2009 14:52:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E10DC9CA7; Fri, 27 Nov 2009 14:52:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56699C9CA7 for ; Fri, 27 Nov 2009 14:52:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1PSnUcKT73pB for ; Fri, 27 Nov 2009 14:52:22 +0100 (CET) Original-Received: from mail.7values.nl (pluto.digitpaint.nl [83.98.197.3]) by balder.ntg.nl (Postfix) with ESMTP id E398EC9CA4 for ; Fri, 27 Nov 2009 14:52:21 +0100 (CET) Original-Received: from localhost (unknown [192.168.0.7]) by mail.7values.nl (Postfix) with ESMTP id 5B95618012 for ; Fri, 27 Nov 2009 14:55:16 +0100 (CET) Original-Received: from mail.7values.nl ([192.168.0.1]) by localhost (dp5.digitpaint.nl [192.168.0.7]) (amavisd-new, port 10024) with LMTP id DV+a9XuamtXP for ; Fri, 27 Nov 2009 14:55:15 +0100 (CET) Original-Received: from [192.168.1.198] (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) by mail.7values.nl (Postfix) with ESMTP id 179DE18011 for ; Fri, 27 Nov 2009 14:55:16 +0100 (CET) In-Reply-To: <200911271031.49277.alan.braslau@cea.fr> X-Mailer: Apple Mail (2.753.1) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54811 Archived-At: Hi Alan, I run in this myself. A possible solution is: \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(textext("\color[red]" & decimal i &""), (i, -1) scaled 1cm); endfor ; \stopuniqueMPgraphic \setupcolors[state=start] \starttext \uniqueMPgraphic{test} \stoptext KR Willi On Nov 27, 2009, at 10:31 AM, Alan BRASLAU wrote: > Is this a bug in mkiv metapost? > > Alan > > minimal example: > > \setupcolors [state=start] > \starttext > > \startuniqueMPgraphic{test} > for i = 0 upto 10 : > draw thelabel(decimal i, (i, 0) scaled 1cm) > withcolor red ; % red in mkii, black in mkiv? > endfor ; > \stopuniqueMPgraphic > > \uniqueMPgraphic{test} > > \stoptext > ______________________________________________________________________ > _____________ > 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 > ______________________________________________________________________ > _____________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________