ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: wwl@musensturm.de
Subject: frames in natural tables
Date: Fri, 14 Jul 2006 09:47:34 +0200	[thread overview]
Message-ID: <44B76836.8776.3D8AEB@wwl.musensturm.de> (raw)
In-Reply-To: <mailman.440.1152822475.1824.ntg-context@ntg.nl>

Hallo!

In the following example with two nearly identical tables:
----------------------------------------------------------
\starttext
\setupTABLE[r][each][frame=off]
\setupTABLE[r][first][bottomframe=on,rulethickness=.05em]
\bTABLE
\bTR \bTD Nr.\ \eTD \bTD Eintrag \eTD \eTR
\bTR \bTD 1 \eTD \bTD Bla \eTD  \eTR
\bTR \bTD 2 \eTD \bTD Blub \eTD \eTR
\bTR \bTD 3 \eTD \bTD Boing \eTD \eTR
\bTR \bTD 4 \eTD \bTD Blubber \eTD \eTR
\eTABLE
\blank
%\setupTABLE[frame=off]
\setupTABLE[r][first][bottomframe=off]
\bTABLE[frame=off]
\bTR \bTD Nr.\ \eTD \bTD Eintrag \eTD \eTR
\bTR \bTD 1 \eTD \bTD Bla \eTD  \eTR
\bTR \bTD 2 \eTD \bTD Blub \eTD \eTR
\bTR \bTD 3 \eTD \bTD Boing \eTD \eTR
\bTR \bTD 4 \eTD \bTD Blubber \eTD \eTR
\eTABLE
\stoptext
----------------------------------------------------------

the first \setupTABLE[r][each][frame=off]
switched frames off 
and the second 
\setupTABLE[r][first][bottomframe=on,rulethickness=.05em]
switched the bottomframe on in the first row.

but

in the second table neighter

\setupTABLE[frame=off]

nor

\setupTABLE[r][each][frame=off]

switched frames off

the bottomframe in row 1 survives from the first table!

One has explicitly use

\setupTABLE[r][first][bottomframe=off]

to switch this frameline off too.

So,

1. Is there no general 'frame=off'?
2. Is the first \setupTABLE not really working? It should, because 
the defaults are 'frame=on', aren't they?

Wolfgang

       reply	other threads:[~2006-07-14  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.440.1152822475.1824.ntg-context@ntg.nl>
2006-07-14  7:47 ` wwl [this message]
2006-07-14 18:58   ` Hans Hagen

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=44B76836.8776.3D8AEB@wwl.musensturm.de \
    --to=wwl@musensturm.de \
    --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).