From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22133 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: How to customize the default verbatim colors Date: Thu, 25 Aug 2005 13:23:08 +0200 Message-ID: <430DAA1C.9050809@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1124969130 3288 80.91.229.2 (25 Aug 2005 11:25:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2005 11:25:30 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 25 13:25:21 2005 Return-path: 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 1E8FqJ-0002XS-VI for gctc-ntg-context-518@m.gmane.org; Thu, 25 Aug 2005 13:24:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C145C12808; Thu, 25 Aug 2005 13:24:22 +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 04008-06; Thu, 25 Aug 2005 13:24:18 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5244A127FA; Thu, 25 Aug 2005 13:24:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F001127FA for ; Thu, 25 Aug 2005 13:24:17 +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 03822-07-4 for ; Thu, 25 Aug 2005 13:24:16 +0200 (CEST) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with ESMTP id 45E4F127ED for ; Thu, 25 Aug 2005 13:24:16 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:55555 helo=[192.168.1.3]) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1E8Fq9-000AlY-On for ntg-context@ntg.nl; Thu, 25 Aug 2005 11:24:14 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22133 Archived-At: Hi! Eugene Toporov wrote: > I expect there is a way to redefine whole palette or something. Yes, sure (you need to define an XXXcolorpretty palet for each type you want to change): \definecolor[MYcolorone] [r=.8,g=.5,b=.5] \definecolor[MYcolortwo] [r=.8,g=.5,b=.2] \definecolor[MYcolorthree][r=.8,g=.5,b=.8] \definecolor[MYcolorfour] [r=.8,g=.2,b=.5] \definepalet[MYcolors] [ prettyone=MYcolorone, prettytwo=MYcolortwo, prettythree=MYcolorthree, prettyfour=MYcolorfour] \definepalet[XMLcolorpretty] [MYcolors] % the name is magic ! \setupcolors[state=start] \setuptyping[option=color] \starttext \startXML ... \stopXML \stoptext Cheers, Taco