ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco <netuse@lavabit.com>
To: ntg-context@ntg.nl
Subject: Re: I do not get a highlighted header with M-database
Date: Fri, 3 Jun 2011 18:23:23 +0200	[thread overview]
Message-ID: <20110603182323.3cea1e84@glyph> (raw)
In-Reply-To: <BANLkTi=dOJDVfg_Ue-4WpoTT_sBBcP4U+g@mail.gmail.com>

On 2011-06-03 Cecil Westerhof <cldwesterhof@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	other threads:[~2011-06-03 16:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 15:45 Cecil Westerhof
2011-06-03 16:23 ` Marco [this message]
2011-06-03 18:30   ` Mojca Miklavec
2011-06-04  1:48   ` Cecil Westerhof

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=20110603182323.3cea1e84@glyph \
    --to=netuse@lavabit.com \
    --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).