Re: [NTG-context] table background color in first row

2010-11-12 Thread Wolfgang Schuster
Am 12.11.2010 um 22:41 schrieb Aditya Mahajan: > Perhaps we can add an align key to \startTABLE macro ... \startTABLE has a optional argument which is passed down to \bTABLE Wolfgang ___ If your question is of inte

Re: [NTG-context] table background color in first row

2010-11-12 Thread Aditya Mahajan
On Fri, 12 Nov 2010, Wolfgang Schuster wrote: Am 12.11.2010 um 19:19 schrieb Hans Hagen: So, if there's interest in the \starttable .. \stoptable mechanism (i have no idea how often it is used) I can consider weeding and redoing some of that code (or just rewrite it from scratch which is pr

Re: [NTG-context] table background color in first row

2010-11-12 Thread Aditya Mahajan
On Fri, 12 Nov 2010, Hans Hagen wrote: On 11-11-2010 10:54, Aditya Mahajan wrote: This is mainly for completeness: On Thu, 11 Nov 2010, Manfred Lotz wrote: and like to have a light gray background for the heading row. \starttext \starttable[|l|l|] \BL[2] \SR % or % \CL[gray] \SR \NC \b

Re: [NTG-context] table background color in first row

2010-11-12 Thread Wolfgang Schuster
Am 12.11.2010 um 19:19 schrieb Hans Hagen: > So, if there's interest in the \starttable .. \stoptable mechanism (i have no > idea how often it is used) I can consider weeding and redoing some of that > code (or just rewrite it from scratch which is probably easier). There is still a use for th

Re: [NTG-context] table background color in first row

2010-11-12 Thread Hans Hagen
On 12-11-2010 7:19, Hans Hagen wrote: \ctxlua{nodes.tasks.enableaction("shipouts","nodes.handlers.backgrounds")} i'll upload a beta where this is not needed - Hans Hagen | PRAGMA ADE

Re: [NTG-context] table background color in first row

2010-11-12 Thread Hans Hagen
On 11-11-2010 10:54, Aditya Mahajan wrote: This is mainly for completeness: On Thu, 11 Nov 2010, Manfred Lotz wrote: and like to have a light gray background for the heading row. \starttext \starttable[|l|l|] \BL[2] \SR % or % \CL[gray] \SR \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR

Re: [NTG-context] table background color in first row

2010-11-11 Thread Aditya Mahajan
This is mainly for completeness: On Thu, 11 Nov 2010, Manfred Lotz wrote: and like to have a light gray background for the heading row. \starttext \starttable[|l|l|] \BL[2] \SR % or % \CL[gray] \SR \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cel

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 21:01:52 +0100 Manfred Lotz wrote: > On Thu, 11 Nov 2010 20:56:48 +0100 > Herbert Voss wrote: > > > [frame=off] > > We come closer. However, I like to have the horizontal line below the > header row. > > > OK, I found it: \setupTABLE[row][first][bottomframe=on]

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 20:58:24 +0100 Wolfgang Schuster wrote: > > Am 11.11.2010 um 20:40 schrieb Manfred Lotz: > > > Thanks for your example which works fine but raises some more > > questions: > > > > 1. Your example creates borders around each cell which I don't want > > to have. Any way to ge

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 21:01 schrieb Manfred Lotz: > We come closer. However, I like to have the horizontal line below the > header row. \bTABLE[frame=off] \bTR[bottomframe=on,...] \bTH Celheader 1 \eTH ... Wolfgang _

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 20:56:48 +0100 Herbert Voss wrote: > [frame=off] We come closer. However, I like to have the horizontal line below the header row. -- Manfred ___ If your question is of interest to others a

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 20:40 schrieb Manfred Lotz: > Thanks for your example which works fine but raises some more questions: > > 1. Your example creates borders around each cell which I don't want to > have. Any way to get rid of them? You can disable the border rules with „frame=off“. > 2. It seem

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:40, schrieb Manfred Lotz: >> \starttext >> >> \setupTABLE[header][style=bold,background=color,backgroundcolor=gray] >> >> \bTABLE >> \bTABLEhead >> \bTR >> \bTD Colheader 1 \eTD >> \bTD Colheader 2 \eTD >> \eTR >> \eTBALEhead >> \bTABLEbody >> \bTR >>

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:45, schrieb Hans Hagen: > On 11-11-2010 8:42, Herbert Voss wrote: >> Am 11.11.2010 20:13, schrieb Wolfgang Schuster: >> >>> The \setupTABLE command for the natural tables environment, you can find >>> a overview of the different environments on the wiki. >>> >>> Here is a example f

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
Hi Herbert, On Thu, 11 Nov 2010 20:42:17 +0100 Herbert Voss wrote: > > \eTBALEhead there was a typo which I corrected: TBALE --> TABLE -- Manfred ___ If your question is of interest to others as well, plea

Re: [NTG-context] table background color in first row

2010-11-11 Thread Hans Hagen
On 11-11-2010 8:42, Herbert Voss wrote: Am 11.11.2010 20:13, schrieb Wolfgang Schuster: The \setupTABLE command for the natural tables environment, you can find a overview of the different environments on the wiki. Here is a example for a natural table: \starttext \setupTABLE[header][style=b

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:13, schrieb Wolfgang Schuster: > The \setupTABLE command for the natural tables environment, you can find > a overview of the different environments on the wiki. > > Here is a example for a natural table: > > \starttext > > \setupTABLE[header][style=bold,background=color,backgr

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
Hi Wolfgang, On Thu, 11 Nov 2010 20:13:22 +0100 Wolfgang Schuster wrote: > > Am 11.11.2010 um 19:44 schrieb Manfred Lotz: > > > Hi there, > > > > I have s simple table like this: > > > > \starttext > > > > \starttable[|l|l|] > > \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL > > \NC c

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 19:44 schrieb Manfred Lotz: > Hi there, > > I have s simple table like this: > > \starttext > > \starttable[|l|l|] > \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL > \NC cell 11 \NC cell 12 \NC \FR > \NC cell 11 \NC cell 12 \NC \LR > \stoptable > > \stoptext > >

[NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
Hi there, I have s simple table like this: \starttext \starttable[|l|l|] \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext and like to have a light gray background for the heading row. I found doc