From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32017 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Context, Metapost \sometxt and color Date: Sat, 2 Dec 2006 19:38:33 +0100 Message-ID: <6faad9f00612021038v7bdf6cf5mdb23dacce95b8575@mail.gmail.com> References: <4571C64D.5010106@cs.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 1165084741 30789 80.91.229.2 (2 Dec 2006 18:39:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Dec 2006 18:39:01 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 02 19:38:59 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 1GqZlE-0001Lr-Hf for gctc-ntg-context-518@m.gmane.org; Sat, 02 Dec 2006 19:38:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C91171FE9D; Sat, 2 Dec 2006 19:36:33 +0100 (CET) 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 17774-02; Sat, 2 Dec 2006 19:36:25 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 327A91FE99; Sat, 2 Dec 2006 19:36:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 355C31FE9D for ; Sat, 2 Dec 2006 19:36:23 +0100 (CET) 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 17789-04 for ; Sat, 2 Dec 2006 19:36:18 +0100 (CET) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by ronja.ntg.nl (Postfix) with SMTP id 78EDB1FE98 for ; Sat, 2 Dec 2006 19:36:18 +0100 (CET) Original-Received: by nf-out-0910.google.com with SMTP id l37so3400102nfc for ; Sat, 02 Dec 2006 10:38:35 -0800 (PST) Original-Received: by 10.49.41.18 with SMTP id t18mr10803060nfj.1165084713913; Sat, 02 Dec 2006 10:38:33 -0800 (PST) Original-Received: by 10.48.209.8 with HTTP; Sat, 2 Dec 2006 10:38:33 -0800 (PST) Original-To: "mailing list for ConTeXt users" In-Reply-To: <4571C64D.5010106@cs.com> Content-Disposition: inline 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:32017 Archived-At: On 12/2/06, Wim Neimeijer wrote: > Hi > > The following used to work, the text came out in the color red, now it > is shown in black. > Am I doing something wrong here ? Or should I use something else instead ? > Any help appreciated Add \chardef\TeXtextcolormode\zerocount to your document or cont-usr.tex. (an alternative is to use \sometxt{\color[red]{something}}) Or even better: vote for it to become the default value before "color stacks" are implemented (at least that's what I understood). Hans had to add a feature and fix a little bug in \sometxt on my request, but I don't understand why "one" is the default value now either. > % example code > \setupcolors[state=start] > \starttext > \startMPcode > picture p; > p := \sometxt{$R_{\mu \nu } - \frac{1}{2} R - \Lambda g_{\mu \nu} = > \kappa T_{\mu \nu}$} ; > p := p scaled 3; > draw p withcolor red; > \stopMPcode > \stoptext Mojca