ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: MASON Peter J <Peter_MASON@rta.nsw.gov.au>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: natural tables - first row not gray
Date: Tue, 10 Apr 2007 08:28:46 +1000	[thread overview]
Message-ID: <B46993C748ACD6438DDCD6BA16AA6595016BE785@centx302.corp.rta.nsw.gov.au> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2469 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 5217 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2007-04-09 22:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-09 22:28 MASON Peter J [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-04-05  1:24 MASON Peter J
2007-04-05  6:26 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B46993C748ACD6438DDCD6BA16AA6595016BE785@centx302.corp.rta.nsw.gov.au \
    --to=peter_mason@rta.nsw.gov.au \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).