From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64341 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: colors for pretty-printing Date: Tue, 7 Dec 2010 22:45:17 +0100 Message-ID: <20101207214517.GA14547@micropit.couberia.bzh> References: <27ce4c9b-5e21-4df4-91b5-af4bbbb550c6@email.android.com> <20101203213121.GA6937@micropit.couberia.bzh> <4CF9634B.1030605@wxs.nl> <4CF9A816.1080800@nibua-r.org> <4CFAF3A5.5030405@nibua-r.org> <4CFCA4BA.1010609@wxs.nl> <20101206140427.GB29676@micropit.couberia.bzh> <4CFD3FB6.6000207@nibua-r.org> <20101207112502.GA10103@micropit.couberia.bzh> <4CFE9AA9.2080908@nibua-r.org> 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: dough.gmane.org 1291758346 21505 80.91.229.12 (7 Dec 2010 21:45:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2010 21:45:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 07 22:45:41 2010 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.69) (envelope-from ) id 1PQ5Lv-0001wH-SY for gctc-ntg-context-518@m.gmane.org; Tue, 07 Dec 2010 22:45:39 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D595ACA8EA; Tue, 7 Dec 2010 22:45:37 +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 DTuEpAlEbZJU; Tue, 7 Dec 2010 22:45:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22AC1CA8EB; Tue, 7 Dec 2010 22:45:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9B06CA8EB for ; Tue, 7 Dec 2010 22:45:30 +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 k8hrmwtGf9eQ for ; Tue, 7 Dec 2010 22:45:19 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 146CCCA8EA for ; Tue, 7 Dec 2010 22:45:19 +0100 (CET) Original-Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB7LjIpv006682 for ; Tue, 7 Dec 2010 22:45:18 +0100 Original-Received: from micropit.couberia.bzh ([81.48.176.207]) by mwinf5d09 with ME id gMlH1f00A4UrdLH03MlHKP; Tue, 07 Dec 2010 22:45:18 +0100 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id 584731604C3; Tue, 7 Dec 2010 22:45:17 +0100 (CET) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <4CFE9AA9.2080908@nibua-r.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.127; 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: 0rDElJizS - 404ceb52e1dd - 20101207 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:64341 Archived-At: On Tue, Dec 07 2010, Renaud AUBIN wrote: > > > So you can simplify t-pretty-c.mkiv: > > > > \unprotect > > > > \setupcolor[ema] > > > > \definestartstop > > [CSnippetName] > > [\c!color=darkgoldenrod, > > \c!style=] > > > > and so on... > > > OK, but anyway, I have to protect the color names (to prevent darkred > redefinition for example ;) ) I still don't understand. Where do you need to redefine darkred? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________