From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83351 Path: news.gmane.org!not-for-mail From: Zenlima Newsgroups: gmane.comp.tex.context Subject: Chapter number in list colored (setuplist) Date: Tue, 9 Jul 2013 18:08:38 +0200 Message-ID: <20130709180838.0c7c330b@zenlima.eu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1373386423 8996 80.91.229.3 (9 Jul 2013 16:13:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jul 2013 16:13:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 09 18:13:46 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UwaXv-00047a-JR for gctc-ntg-context-518@m.gmane.org; Tue, 09 Jul 2013 18:13:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE6AC101EF; Tue, 9 Jul 2013 18:13:42 +0200 (CEST) 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 EVIjYd5k3TDK; Tue, 9 Jul 2013 18:13:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B4BD7101E4; Tue, 9 Jul 2013 18:13:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CC712101E4 for ; Tue, 9 Jul 2013 18:13:37 +0200 (CEST) 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 f0iXLbZWso4o for ; Tue, 9 Jul 2013 18:13:36 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id D6E29101E0 for ; Tue, 9 Jul 2013 18:13:26 +0200 (CEST) Original-Received: from outgoing.selfhost.de (out.selfhost.de [82.98.82.95]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r69GDP1U004827 for ; Tue, 9 Jul 2013 18:13:26 +0200 Original-Received: (qmail 7151 invoked from network); 9 Jul 2013 16:13:25 -0000 Original-Received: from unknown (HELO zenlima.eu) (post@zenlima.eu@31.18.185.12) by mailout.selfhost.de with ESMTPA; 9 Jul 2013 16:13:25 -0000 X-Bayes-Prob: 0.1185 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=82.98.82.95; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JWgdpbW - 56e554a98bac - 20130709 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83351 Archived-At: Hi, I want to color the chapter number in the table of content. The attribute "numbercolor" does not exist in setuplist. So I tried to color the chapter number via "numberstlye" ("numbercommand" is also not working): ---8<---------------------------- \define[1]\listChapterColor{\color[bordeaux]{X #1}} \setuplist[chapter][color=black,numberstyle=\listChapterColor] ----8<------------------------------ The X appears in the new color (bordeaux), but the chapter number is still uncolored - same color like rest of that line (black). What am I doing wrong here? H. ___________________________________________________________________________________ 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 ___________________________________________________________________________________