4 Jun
2011
4 Jun
'11
3:48 a.m.
2011/6/3 Marco
I looked at the example at: http://wiki.contextgarden.net/M-database
In this example the first row is highlighted. I tried something like that, but I do not get a highlighted first row. I attached my tex and pdf file. What am I doing wrong?
The example on the wiki is not exact. You have to tell the system what you want to do with the first row, how to highlight. Here's a starting point:
\startsetups Table:NT \setupTABLE [r] [first] [ background=color, backgroundcolor=darkgray, color=white, style=bold] \stopsetups
\defineseparatedlist [MyTable] [separator=tab, left=\bTD,right=\eTD, first=\bTR,last=\eTR, setups=Table:NT, before=\bTABLE,after=\eTABLE]
Works. Thanks. -- Cecil Westerhof