[NTG-context] A TABLE bug (?) from the Wiki.

Brooks Moses bmoses at stanford.edu
Sun Sep 4 07:37:23 CEST 2005

The Wiki page on TABLE contains the following example:

\bTR \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR
\bTR \bTD[nc=2,nr=2] r1c1 \eTD \bTD r1c3 \eTD \bTD[nr=2] r1c4 \eTD 
\bTD[nr=2,nc=2] r1c5 \eTD \eTR
\bTR \bTD[nr=2] r2c3 \eTD \eTR
\bTR \bTD[nc=2] r3c1 \eTD \bTD[nc=2] r3c4 \eTD \bTD r3c6 \eTD \eTR
\bTR \bTD r4c1 \eTD \bTD[nc=2] r4c2 \eTD \bTD[nr=2] r4c4 \eTD \bTD[nc=2]
      r4c5 \eTD \eTR
\bTR \bTD[nr=2,nc=2] r5c1 \eTD \bTD[nr=2] r5c3 \eTD \bTD[nr=2,nc=2] r5c5
      \eTD \eTR
\bTR \bTD r6c4 \eTD \eTR

This comes with a note: "There is an ugly hack in the code. An empty first 
row with zero height and no borders is added. If the row is omitted, then 
something odd happens to the number of columns."

Is this an actual bug in ConTeXt, or is it a bug in the example?  If the 
latter, what's the fix?

- Brooks

More information about the ntg-context mailing list