From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30053 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: metafun & \sometxt: should black be "black" or "textcolor"? Date: Mon, 07 Aug 2006 10:15:31 +0200 Message-ID: <44D6F6A3.9050502@elvenkind.com> References: <6faad9f00608051932ie703df0j94c670536a0f156f@mail.gmail.com> <44D5ADBE.3010809@elvenkind.com> <6faad9f00608060426g7d389fb4k803f2725f02ceef3@mail.gmail.com> <44D5FEBB.8020808@elvenkind.com> <44D666E7.5000400@wxs.nl> <6faad9f00608070104o40c3041cq70c6666ab3179090@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154938563 23542 80.91.229.2 (7 Aug 2006 08:16:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Aug 2006 08:16:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 07 10:16:01 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GA0HA-00042G-4l for gctc-ntg-context-518@m.gmane.org; Mon, 07 Aug 2006 10:15:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A63632002C; Mon, 7 Aug 2006 10:15:50 +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 07423-01; Mon, 7 Aug 2006 10:15:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B815C1FF39; Mon, 7 Aug 2006 10:15:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CEE4F1FF39 for ; Mon, 7 Aug 2006 10:15:39 +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 06497-07 for ; Mon, 7 Aug 2006 10:15:34 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 2499D1FE77 for ; Mon, 7 Aug 2006 10:15:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id B0C871B947 for ; Mon, 7 Aug 2006 10:15:32 +0200 (CEST) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05054-07 for ; Mon, 7 Aug 2006 10:15:32 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id 6F32C1B876 for ; Mon, 7 Aug 2006 10:15:32 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00608070104o40c3041cq70c6666ab3179090@mail.gmail.com> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30053 Archived-At: Mojca Miklavec wrote: > > The "real problem" appears in the following figure where the first > black is ignored and the second one is not, so it's rather > inconsistent: It is not really inconsistent, the rule is very simple: all use of "withcolor " upto the first non-zero color is ignored by metapost. > I can image a "fair solution" to draw "withcolor black" in black and > to let the parts with no explicit color and an empty drawoptions() > string to use the "default color" (perhaps with gsave/grestore). But > I'm not entitled to judge about it. Yes, that's what I thought. But I need to patch metapost for that, so that solution won't be available in a reliable way for quite some time yet. > In any case I'll have to use a solution which will not depend on this > behaviour. Is there any chance to get "withcolor somecolor", where > "somecolor" is the color set with "textcolor=somecolor"? Maybe withcolor \MPcolor{textcolor} ? (I am guessing) Cheers, Taco