From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83353 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Chapter number in list colored (setuplist) Date: Tue, 9 Jul 2013 18:23:17 +0200 Message-ID: <5B2445A4-2B12-4C89-B637-384334207C64@gmail.com> References: <20130709180838.0c7c330b@zenlima.eu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1373387011 16558 80.91.229.3 (9 Jul 2013 16:23:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jul 2013 16:23:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 09 18:23:34 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 1UwahQ-0004j5-Js for gctc-ntg-context-518@m.gmane.org; Tue, 09 Jul 2013 18:23:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 028AA101EA; Tue, 9 Jul 2013 18:23:32 +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 ld4XcvbOayMe; Tue, 9 Jul 2013 18:23:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 26D70101E4; Tue, 9 Jul 2013 18:23:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0309B101E4 for ; Tue, 9 Jul 2013 18:23:29 +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 c7CaHbXsEOBo for ; Tue, 9 Jul 2013 18:23:28 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id F0209101E0 for ; Tue, 9 Jul 2013 18:23:17 +0200 (CEST) Original-Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r69GNHXK030510 for ; Tue, 9 Jul 2013 18:23:17 +0200 Original-Received: by mail-ea0-f173.google.com with SMTP id g15so3919696eak.32 for ; Tue, 09 Jul 2013 09:23:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=PFXhQyHLgWphz0IOq0LshD5vaEzVvdkNhMdx9wNv5IE=; b=Gw8qA/ogd6u8gPG6NOA7jKawUfvMIhc6p/0NDwgLMKDPp0clkKf3jSrB+gSVDiydwc 96QqhM9Ghm1DyuS7uX4uUyATcUBv34S9KN/YsTPOfHGM/eRfL65ojiSKke/OwmSOh1kM BLjdLuCBzT5HQINg4aoY268LB1rMSAOgqnK2CLEdbB+r/r7G/3oeMGE64hyD5rRmRAMs XmJYScskjb7I9fhcPP7wS8+NoNq8dT74FpFUwqaWMa/na6A+OuipcP3/oz3M25b2XKm1 1EjGCYx2GXPwpadmKVDuANtaseu05cwBLILMdrXeL/YO1aXmZVapJuv1QexEg/n08QFj JhTA== X-Received: by 10.15.98.203 with SMTP id bj51mr31726193eeb.22.1373386997000; Tue, 09 Jul 2013 09:23:17 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf9f6b.pool.mediaWays.net. [77.191.159.107]) by mx.google.com with ESMTPSA id bj46sm52118214eeb.13.2013.07.09.09.23.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 09:23:16 -0700 (PDT) In-Reply-To: <20130709180838.0c7c330b@zenlima.eu> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJWgnhuK - ad2e802ace8f - 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:83353 Archived-At: Am 09.07.2013 um 18:08 schrieb Zenlima : > 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=3Dblack,numberstyle=3D\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? 1. You forgot a minimal example which demonstrates the problem. 2. You didn=92t test numbercolor. \setuplist [chapter] [color=3Dgreen, numbercolor=3Dred, %pagecolor=3Dorange, textcolor=3Dblue] \starttext \completecontent \chapter{Test} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________