On 10-3-2010 9:32, Peter Münster wrote:
On Wed, Mar 10 2010, Taco Hoekwater wrote:
This second example is a broken table specifier when no modes
are enabled: it produces and empty row, which is a no-no.
Ok, here an even better and smaller example-test-file:
\starttext
Problem:\blank
\bTABLE
\bTR \bTH 1. col \eTH \bTH 2. col \eTH \eTR
\bTR \bTD 1 row in 1. col \eTD \bTD[nr=2] 2 rows in 2. col \eTD \eTR
\bTR \bTD[nr=2] 2 rows in 1. col\eTD \eTR
\bTR \bTD[nr=3] 3 rows in 2. col \eTD \eTR
\bTR \bTD 1 row in 1. col \eTD \eTR
\bTR \bTD 1 row in 1. col \eTD \eTR
\eTABLE
\stoptext
actually it's a feature ... took me a while to figure out that there is
a check that takes care of it
so, i will not change the code but provide a flag (to be used at your
own risk)
test:
\starttext
\startbuffer
\bTABLE
\bTR[height=20pt] \bTH 1. col \eTH \bTH 2. col
\eTH \eTR
\bTR[height=20pt] \bTD 1 row in 1. col \eTD \bTD[nr=2] 2 rows in
2. col \eTD \eTR
\bTR[height=20pt] \bTD[nr=2] 2 rows in 1. col\eTD
\eTR
\bTR[height=20pt] \bTD[nr=3] 3 rows in
2. col \eTD \eTR
\bTR[height=20pt] \bTD 1 row in 1. col \eTD
\eTR
\bTR[height=20pt] \bTD 1 row in 1. col \eTD
\eTR
\eTABLE
\bTABLE
\bTR[height=20pt] \bTH 2. col \eTH \bTH 1. col
\eTH \eTR
\bTR[height=20pt] \bTD[nr=2] 2 rows in 2. col \eTD \bTD 1 row in 1. col
\eTD \eTR
\bTR[height=20pt] \bTD[nr=2] 2 rows in
1. col\eTD \eTR
\bTR[height=20pt] \bTD[nr=3] 3 rows in 2. col \eTD
\eTR
\bTR[height=20pt] \bTD 1 row in 1. col
\eTD \eTR
\bTR[height=20pt] \bTD 1 row in 1. col
\eTD \eTR
\eTABLE
\stopbuffer
\start
\getbuffer
\tightTBLrowspanfalse
\getbuffer
\stop
\stoptext
will be in next beta
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________