On 2011-06-03 Cecil Westerhof <cldwester...@gmail.com> wrote:

> 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


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to