* frames in natural tables
[not found] <mailman.440.1152822475.1824.ntg-context@ntg.nl>
@ 2006-07-14 7:47 ` wwl
2006-07-14 18:58 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: wwl @ 2006-07-14 7:47 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: frames in natural tables
2006-07-14 7:47 ` frames in natural tables wwl
@ 2006-07-14 18:58 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2006-07-14 18:58 UTC (permalink / raw)
wwl@musensturm.de wrote:
> 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
>
use grouping
\start
\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
\stop
\blank
\start
\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
\stop
when no grouping is used settings are persistent; and a general
setupTABLE will not replace row/col settings; see \setupTBLcell in
core-ntb for the order of definitions and what kind of definitions take
place
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-14 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.440.1152822475.1824.ntg-context@ntg.nl>
2006-07-14 7:47 ` frames in natural tables wwl
2006-07-14 18:58 ` Hans Hagen
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).