On 3/8/2017 5:46 PM, Thomas A. Schmitz wrote:
On 03/08/2017 03:47 PM, Henri Menke wrote:
No, this is Natural Tables.  The macros I am using are defined in
tabl-nte.mkiv and the header there states

You're right, I was too fast with my response.


Nevertheless, as you requested, here the same bug with the traditional
Natural Table macros:

I didn't request anything, but there seems to be a real bug. Here's my
code:

\setuppapersize [A4,landscape]

\starttext

\setupTABLE [row] [each] [align={lohi,middle}]
\setupTABLE [column] [1] [width=5cm]
\setupTABLE [column] [2] [width=2cm]
\setupTABLE [column] [3] [width=2cm]
\setupTABLE [column] [4] [width=2cm]
\setupTABLE [column] [5] [width=2cm]
\setupTABLE [column] [6] [width=2cm]
\setupTABLE [column] [7] [width=2cm]

\bTABLE
\bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \bTD 5 \eTD \bTD 6
\eTD \bTD 7 \eTD \eTR
\bTR \bTD OSI-Schicht          \eTD \bTD[nc=6] Umsetzung \eTD \eTR
\bTR \bTD Anwendungsschicht    \eTD \bTD[nc=2,nr=3] SOME/I\eTD
\bTD[nc=2,nr=3] AVB/TSN\eTD \bTD[nc=2,nr=3] DoIP \eTD \eTR
\bTR \bTD  Darstellungsschicht   \eTD  \eTR
\bTR \bTD  Sitzungsschicht       \eTD  \eTR
\bTR \bTD Transportschicht     \eTD \bTD[nc=3] TCP\eTD \bTD[nc=3] UDP
\eTD \eTR
\bTR \bTD Vermittlungsschicht  \eTD \bTD[nc=3] IPv4\eTD \bTD[nc=3] IPv6
\eTD \eTR
\bTR \bTD Sicherungsschicht    \eTD \bTD[nc=6] Ethernet \eTD \eTR
\bTR \bTD Bitübertragungsschicht \eTD \bTD[nc=2] 100BASE-TX\eTD
\bTD[nc=2] 100BASE-T\eTD \bTD[nc=2] 1000BASE-T \eTD \eTR
\eTABLE

\stoptext

If I comment out the first table row, the table is out of whack. Same if
I do not define the width of columns explicitly. So something is not
quite right here.

Fixing this will break something else (which is why i don't want to touch the code)

What works is adding a first row:

\bTR[height=0pt,offset=overlay,frame=off] \dorecurse{7}{\bTD\eTD} \eTR

makes me wonder if that should be an option but it needs testing.

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to