From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34175 Path: news.gmane.org!not-for-mail From: MASON Peter J Newsgroups: gmane.comp.tex.context Subject: Re: natural tables - first row not gray Date: Tue, 10 Apr 2007 08:28:46 +1000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1621022910==" X-Trace: sea.gmane.org 1176173033 2027 80.91.229.12 (10 Apr 2007 02:43:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2007 02:43:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 10 04:43:09 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1Hb2MQ-0003DV-Vx for gctc-ntg-context-518@m.gmane.org; Tue, 10 Apr 2007 00:29:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F91F200C7; Tue, 10 Apr 2007 00:29:18 +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 19019-05-2; Tue, 10 Apr 2007 00:29:08 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9AF212021E; Tue, 10 Apr 2007 00:29:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D22B2021E for ; Tue, 10 Apr 2007 00:29:02 +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 19365-01-8 for ; Tue, 10 Apr 2007 00:28:55 +0200 (CEST) Original-Received: from mx2.rta.nsw.gov.au (mx2.rta.nsw.gov.au [163.189.23.21]) by ronja.ntg.nl (Postfix) with ESMTP id 805B7200BF for ; Tue, 10 Apr 2007 00:28:54 +0200 (CEST) Original-Received: from mailscanc.rta.nsw.gov.au (unknown [192.168.20.41]) by mx2.rta.nsw.gov.au (Postfix) with ESMTP id 59F52C8C for ; Tue, 10 Apr 2007 08:28:47 +1000 (EST) Original-Received: from coresj20.rta.nsw.gov.au (Not Verified[163.189.27.2]) by mailscanc.rta.nsw.gov.au with MailMarshal (v6, 1, 6, 1172) id ; Tue, 10 Apr 2007 08:28:47 +1000 Original-Received: from coresj20.rta.nsw.gov.au (coresj20.rta.nsw.gov.au [163.189.27.2]) by coresj20.rta.nsw.gov.au (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JG9001E753YLRA0@coresj20.rta.nsw.gov.au> for ntg-context@ntg.nl; Tue, 10 Apr 2007 08:28:47 +1000 (EST) Original-Received: from coresj20.rta.nsw.gov.au ([163.189.27.2]) by coresj20.rta.nsw.gov.au (SMSSMTP 4.1.11.41) with SMTP id M2007041008284629137 for ; Tue, 10 Apr 2007 08:28:47 +1000 Original-Received: from COREX302.corp.rta.nsw.gov.au ([163.189.2.26]) by coresj20.rta.nsw.gov.au (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JG900F9O53ZP170@coresj20.rta.nsw.gov.au> for ntg-context@ntg.nl; Tue, 10 Apr 2007 08:28:47 +1000 (EST) Original-Received: from centx302.corp.rta.nsw.gov.au ([163.189.111.17]) by COREX302.corp.rta.nsw.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Tue, 10 Apr 2007 08:28:47 +1000 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Thread-topic: [NTG-context] natural tables - first row not gray Thread-index: Acd3T6SwLQyILl5SSo2QSLUV1ITWtQDpqhEQ X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 09 Apr 2007 22:28:47.0150 (UTC) FILETIME=[70829CE0:01C77AF6] X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:34175 Archived-At: This is a multi-part message in MIME format. --===============1621022910== Content-type: multipart/alternative; boundary="Boundary_(ID_B5BD+5PM7yR49UNcpYAOAA)" Content-class: urn:content-classes:message This is a multi-part message in MIME format. --Boundary_(ID_B5BD+5PM7yR49UNcpYAOAA) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Thanks. Yes, that works better. Is there some general I can draw from this? -----Original Message----- From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl]On Behalf Of Wolfgang Schuster Sent: Thursday, 5 April 2007 4:26 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] natural tables - first row not gray 2007/4/5, MASON Peter J < Peter_MASON@rta.nsw.gov.au>: G'day, firstly thanks for your contextgarden.net website and the "live-context" facility. I checked my results against it. Could I seek help on this please. I'm expecting rows 2-4 of the table resulting from the segment below to have odd columns in rows 2-4 with white-on-black but all columns are coming out as black-on-white. I also tried completely specifying it by supplying \setupTABLE[even][2-4] ... as well. Something obvious I expect, but I'm missing it. Thanks. \setupcolors[state=start] \starttext \bTABLE \setupTABLE[first][first][align=middle, background=color,backgroundcolor=gray,foregroundcolor=black] \setupTABLE[odd][2,3,4][align=left,background=color,backgroundcolor=black,foregroundcolor=white] Hi Peter, can you try the follwing setups: \setupTABLE[c][odd][align=left,background=color,backgroundcolor=black,foregroundcolor=white] \setupTABLE[r][first][align=middle,background=color,backgroundcolor=gray,foregroundcolor=black] Wolfgang \bTR \bTD [nc=6] Prime Unit \eTD \eTR \bTR \bTD Plate: \eTD \bTD xxxxx \eTD \bTD State: \eTD \bTD sssss \eTD \bTD Type: \eTD \bTD ttttt \eTD \eTR \bTR \bTD Make: \eTD \bTD mmmm \eTD \bTD GCM: \eTD \bTD [nc=3] gggg \eTD \eTR \bTR \bTD Chassis: \eTD \bTD cccc \eTD \bTD GVM: \eTD \bTD [nc=3] vvv \eTD \eTR \eTABLE \stoptext IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. --Boundary_(ID_B5BD+5PM7yR49UNcpYAOAA) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT
Thanks. Yes, that works better. Is there some general I can draw from this?
 
 
-----Original Message-----
From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl]On Behalf Of Wolfgang Schuster
Sent: Thursday, 5 April 2007 4:26 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] natural tables - first row not gray



2007/4/5, MASON Peter J <Peter_MASON@rta.nsw.gov.au>:

G'day, firstly thanks for your contextgarden.net website and the "live-context" facility. I checked my results against it. Could I seek help on this please.

I'm expecting rows 2-4 of the table resulting from the segment below to have odd columns in rows 2-4 with white-on-black but all columns are coming out as black-on-white. I also tried completely specifying it by supplying \setupTABLE[even][2-4] ... as well.

Something obvious I expect, but I'm missing it. Thanks.


\setupcolors[state=start]
\starttext
\bTABLE
\setupTABLE[first][first][align=middle, background=color,backgroundcolor=gray,foregroundcolor=black]
\setupTABLE[odd][2,3,4][align=left,background=color,backgroundcolor=black,foregroundcolor=white]

Hi Peter,

can you try the follwing setups:

\setupTABLE[c][odd][align=left,background=color,backgroundcolor=black,foregroundcolor=white]
\setupTABLE[r][first][align=middle,background=color,backgroundcolor=gray,foregroundcolor=black]

Wolfgang 

\bTR
    \bTD [nc=6] Prime Unit \eTD
\eTR
\bTR
    \bTD Plate: \eTD
    \bTD xxxxx \eTD
    \bTD State: \eTD
    \bTD sssss \eTD
    \bTD Type: \eTD
    \bTD ttttt \eTD
\eTR
\bTR
    \bTD Make: \eTD
    \bTD mmmm \eTD
    \bTD GCM: \eTD
    \bTD [nc=3] gggg \eTD
\eTR
\bTR
    \bTD Chassis: \eTD
    \bTD cccc \eTD
    \bTD GVM: \eTD
    \bTD [nc=3] vvv \eTD
\eTR
\eTABLE
\stoptext


Before printing, please consider the environment.

IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient.

 

--Boundary_(ID_B5BD+5PM7yR49UNcpYAOAA)-- --===============1621022910== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1621022910==--