From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34123 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: natural tables - first row not gray Date: Thu, 5 Apr 2007 08:26:10 +0200 Message-ID: <115224fb0704042326r5db4973bj1c4ee63168d626a@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0058050149==" X-Trace: sea.gmane.org 1175754394 22269 80.91.229.12 (5 Apr 2007 06:26:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2007 06:26:34 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 05 08:26:31 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 1HZLQT-0007n3-10 for gctc-ntg-context-518@m.gmane.org; Thu, 05 Apr 2007 08:26:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6943B200A5; Thu, 5 Apr 2007 08:26:28 +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 01918-02-3; Thu, 5 Apr 2007 08:26:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AF08D200B6; Thu, 5 Apr 2007 08:26:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4281200B6 for ; Thu, 5 Apr 2007 08:26:17 +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 01918-02-2 for ; Thu, 5 Apr 2007 08:26:12 +0200 (CEST) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by ronja.ntg.nl (Postfix) with ESMTP id 915E4200A5 for ; Thu, 5 Apr 2007 08:26:11 +0200 (CEST) Original-Received: by an-out-0708.google.com with SMTP id d33so525700and for ; Wed, 04 Apr 2007 23:26:10 -0700 (PDT) Original-Received: by 10.100.7.18 with SMTP id 18mr1033562ang.1175754370481; Wed, 04 Apr 2007 23:26:10 -0700 (PDT) Original-Received: by 10.100.106.19 with HTTP; Wed, 4 Apr 2007 23:26:10 -0700 (PDT) In-Reply-To: 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:34123 Archived-At: --===============0058050149== Content-Type: multipart/alternative; boundary="----=_Part_40359_10201969.1175754370429" ------=_Part_40359_10201969.1175754370429 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/4/5, MASON Peter J : > > 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 > ------=_Part_40359_10201969.1175754370429 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

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


------=_Part_40359_10201969.1175754370429-- --===============0058050149== 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 --===============0058050149==--