From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27314 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: colored, marginal chapter numbers Date: Thu, 20 Apr 2006 21:54:12 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145562673 21950 80.91.229.2 (20 Apr 2006 19:51:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Apr 2006 19:51:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 20 21:51:11 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1FWfBE-00042C-Px for gctc-ntg-context-518@m.gmane.org; Thu, 20 Apr 2006 21:51:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 67E901279F; Thu, 20 Apr 2006 21:51:08 +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 15617-07-3; Thu, 20 Apr 2006 21:51:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 43A5C1277B; Thu, 20 Apr 2006 21:51:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 59C371277B for ; Thu, 20 Apr 2006 21:51:03 +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 15617-07-2 for ; Thu, 20 Apr 2006 21:51:02 +0200 (CEST) Original-Received: from swip.net (mailfe05.tele2.fr [212.247.154.140]) by ronja.ntg.nl (Postfix) with SMTP id 7C0DD12775 for ; Thu, 20 Apr 2006 21:51:02 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [80.170.147.187] (HELO localhost) by mailfe05.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 81586187 for ntg-context@ntg.nl; Thu, 20 Apr 2006 21:51:01 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: User-Agent: Opera M2/7.54 (FreeBSD, build 955) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27314 Archived-At: On Thu, 20 Apr 2006 15:26:12 -0400, Sanjoy Mahajan wrote: > I get colored chapter text and numbers with: > > \setupcolors[state=start] > \setuphead[chapter][color=blue] > \starttext > \chapter{One} > \stoptext > > But if I drive the numbers into the left margin, they escape the blue > paintbrush (but the text is still blue): > > \def\sectionnumber#1{\inleft{#1}} > \setupcolors[state=start] > \setuphead[chapter][numbercolor=blue,color=blue, > deepnumbercommand=\sectionnumber] > \starttext > \chapter{One} > \stoptext What about this? \setuphead[chapter][numbercolor=blue,color=blue,alternative=inmargin] Regards, BG