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