[NTG-context] colored, marginal chapter numbers

2006-04-20 Thread Sanjoy Mahajan
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}}

Re: [NTG-context] colored, marginal chapter numbers

2006-04-20 Thread Miguel Queiros
[...] Is there a recommended way of doing this? I could put blue into the \sectionnumber command, but I'd prefer to specify the color only once (the numbercolor and color specifications were an attempt at overkill). Plus I'd like to understand what's going on. I can't test it right now,

Re: [NTG-context] colored, marginal chapter numbers

2006-04-20 Thread nico
On Thu, 20 Apr 2006 15:26:12 -0400, Sanjoy Mahajan [EMAIL PROTECTED] 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

Re: [NTG-context] colored, marginal chapter numbers

2006-04-20 Thread Sanjoy Mahajan
From:Miguel Queiros [EMAIL PROTECTED] \setupcolors[state=start] \setupheads[alternative=inmargin] \setuphead[chapter][color=blue] \starttext \chapter{One} \stoptext Thanks, that works great. Is there a recommended way of doing this? In ConTeXt the answer, I've found, is

Re: [NTG-context] colored, marginal chapter numbers

2006-04-20 Thread Sanjoy Mahajan
From:nico [EMAIL PROTECTED] What about this? \setuphead[chapter][numbercolor=blue,color=blue,alternative=inmargin] Thanks, that also works great. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.