From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80191 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Metafun textext() Date: Thu, 10 Jan 2013 14:01:14 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <20130110140114.52c0a9be@sole> References: <20130110124830.7678f539@sole> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357822889 947 80.91.229.3 (10 Jan 2013 13:01:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2013 13:01:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 10 14:01:44 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TtHlP-0006c1-5p for gctc-ntg-context-518@m.gmane.org; Thu, 10 Jan 2013 14:01:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47959101FC; Thu, 10 Jan 2013 14:01:21 +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 0aWwMfMDIZiw; Thu, 10 Jan 2013 14:01:21 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C15E9101EE; Thu, 10 Jan 2013 14:01:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86AD8101EE for ; Thu, 10 Jan 2013 14:01:17 +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 cwgoUdil84TC for ; Thu, 10 Jan 2013 14:01:16 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id DD3BB101E9 for ; Thu, 10 Jan 2013 14:01:16 +0100 (CET) Original-Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.167.192.145]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0AD1Fen025226 for ; Thu, 10 Jan 2013 14:01:16 +0100 Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id r0AD1FWv013172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 10 Jan 2013 14:01:15 +0100 Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id r0AD1F6Q019365; Thu, 10 Jan 2013 14:01:15 +0100 (envelope-from alan.braslau@cea.fr) Original-Received: from sole (iram-ha-003840.extra.cea.fr [132.166.25.152]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id r0AD1Epa002048; Thu, 10 Jan 2013 14:01:14 +0100 In-Reply-To: X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.167.192.145; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TIKd1gdp - 6450034373a6 - 20130110 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80191 Archived-At: On Thu, 10 Jan 2013 06:51:50 -0500 Aditya Mahajan wrote: > Since the beginning of MkIV, colors in metapost labels need to be set at > the ConTeXt end (Untested): > > T := thelabel(textext("\color[blue]{I'm seeing double}"), origin); > > Aditya I don't believe that this is true, but I am most likely wrong. Indeed "\blue text" has worked, but 'draw T withcolor blue;' *should* work as well. The processing of textext() has changed recently, it seems. \startMPcode label(textext("I'm seeing double"),origin) withcolor green ; label(textext("I'm seeing double"),(-1mm,1mm)) withcolor blue ; \stopMPcode DOES work. Of course, these are much simplified minimal examples of what I would like to do. Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________