I do not get a highlighted header with M-database
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? -- Cecil Westerhof
On 2011-06-03 Cecil Westerhof
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] Marco
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
participants (3)
-
Cecil Westerhof
-
Marco
-
Mojca Miklavec