From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9833 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Johannes_H=FCsing?= Newsgroups: gmane.comp.tex.context Subject: colorful listings Date: Tue, 12 Nov 2002 15:56:23 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <20021112145623.GA1833@ruhrau.de> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1037219155 16276 80.91.224.249 (13 Nov 2002 20:25:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 13 Nov 2002 20:25:55 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18C458-0004Ds-00 for ; Wed, 13 Nov 2002 21:25:50 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C91FE10AED; Wed, 13 Nov 2002 21:27:30 +0100 (MET) Original-Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by ref.ntg.nl (Postfix) with ESMTP id E8E7B10AE6 for ; Wed, 13 Nov 2002 21:26:36 +0100 (MET) Original-Received: from qossuth (1Cust236.tnt7.hdn1.deu.da.uu.net [149.225.76.236]) by mail3.panix.com (Postfix) with ESMTP id 4FB81983C4 for ; Wed, 13 Nov 2002 15:25:08 -0500 (EST) Original-Received: from hannes by qossuth with local (Exim 3.35 #1 (Debian)) id 18BcSm-0000Tx-00 for ; Tue, 12 Nov 2002 15:56:24 +0100 Original-To: ntg-context@ntg.nl Content-Disposition: inline User-Agent: Mutt/1.3.28i Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: johannes.huesing@ruhrau.de List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9833 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9833 Greetings, unfortunately I cannot assign personal color palettes to my program listings. The following document, after processing, shows a colorful palet, then, unexpectedly, a B+W listing, then another colorful palet, and a colorful listing. What is wrong in the assignment of an own palet here? Best Johannes -----8-<----- \setupoutput[pdftex] \setupcolors[state=start] \definecolor [espresso] [r=.4, b=.1, g=.2] \definecolor [cacao] [r=.6, b=.2, g=.4] \definecolor [aulait] [r=.8, b=.4, g=.6] \definecolor [muckefuck] [r=.95, b=.65, g=.8] \definepalet [mokka] [ prettyone=espresso, prettytwo=cacao, prettythree=aulait, prettyfour=muckefuck] \starttext \showpalet[mokka] \setuptyping[PL][palet=mokka] \startPL #!/usr/bin/perl -w print "Hello, World!\n"; \stopPL \showpalet[colorpretty] \setuptyping[PL][palet=colorpretty] \startPL #!/usr/bin/perl -w print "Hello, Hasselt!\n"; \stopPL \stoptext ----->-8----- -- Johannes Hüsing There is something fascinating about science. One gets hannes@ruhrau.de such wholesale returns of conjecture from such a trifling investment of fact. Mark Twain