ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Table width trouble
@ 2006-04-22 23:29 nico
  2006-04-23 16:28 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: nico @ 2006-04-22 23:29 UTC (permalink / raw)


Hello,

I come back with that damn table test case. With release 2006.04.22:

- it works fine when the column width is passed as table option,
- it's wrong when the width is passed via a column setup only,
- it works ok when both table and column option are passed, and it's the  
column option that is used (which is the expected behaviour).
- it's ok when no width specified at all.

\starttext

\startbuffer
\bTR \bTD[nc=2] A \eTD\bTD x \eTD \bTD[nc=2] B \eTD \eTR
\bTR \bTD X \eTD \bTD[nc=3] C \eTD \bTD x \eTD \eTR
\bTR \bTD[nc=2] D \eTD \bTD x \eTD \bTD[nc=2] E \eTD \eTR
\stopbuffer

% ok
\bTABLE[frame=on,width=3em]
\getbuffer
\eTABLE

% nok, messy table
\bTABLE[frame=on]
\setupTABLE[c][each][width=3em]
\getbuffer
\eTABLE

% ok, width=3em for each column
\bTABLE[frame=on,width=0.1pt]
\setupTABLE[c][each][width=3em]
\getbuffer
\eTABLE

% ok
\bTABLE[frame=on]
\getbuffer
\eTABLE

\stoptext


Regards,
BG

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-26 19:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-22 23:29 Table width trouble nico
2006-04-23 16:28 ` Hans Hagen
2006-04-23 22:49   ` nico
2006-04-25 22:11     ` Hans Hagen
2006-04-26 19:39       ` nico

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).