natural tables: when I say nc=2, I really mean it
Hi folks, When I compile this table: \starttext \setupTABLE[c][1][width=12pt,rightframe=off] \setupTABLE[c][2][width=108pt,leftframe=off] \setupTABLE[c][each][width=60pt] \bTABLE \bTR \bTD x \eTD \bTD y \eTD \bTD z \eTD \eTR \bTR \bTD[nc=2] thisisaverylongwordishthing \eTD \bTD word \eTD \eTR \eTABLE \endtext I get the 2 rows I expect: the first with 1 narrow column, 1 wide column, and 1 medium column; the second with 1 even wider column and 1 medium column. When I do the same thing, but with the first row omitted: \starttext \setupTABLE[c][1][width=12pt] \setupTABLE[c][2][width=108pt] \setupTABLE[c][each][width=60pt] \bTABLE \bTR \bTD[nc=2] thisisaverylongwordishthing \eTD \bTD word \eTD \eTR \eTABLE \endtext it's as if the nc=2 is ignored -- it tries to squeeze "thisisaverylongwordishthing" into 1 12pt column instead of a combined 120pt column. How can I convince it to do what I mean with nc=2 despite having only one row with only 2 cells? thanks. (Long time subscriber, first time poster, love the macro package.)
On Thu, Sep 3, 2009 at 11:06 PM, Zed Lopez
Hi folks,
When I compile this table:
\starttext \setupTABLE[c][1][width=12pt,rightframe=off] \setupTABLE[c][2][width=108pt,leftframe=off] \setupTABLE[c][each][width=60pt] \bTABLE \bTR \bTD x \eTD \bTD y \eTD \bTD z \eTD \eTR \bTR \bTD[nc=2] thisisaverylongwordishthing \eTD \bTD word \eTD \eTR \eTABLE \endtext
I get the 2 rows I expect: the first with 1 narrow column, 1 wide column, and 1 medium column; the second with 1 even wider column and 1 medium column.
When I do the same thing, but with the first row omitted:
\starttext \setupTABLE[c][1][width=12pt] \setupTABLE[c][2][width=108pt] \setupTABLE[c][each][width=60pt] \bTABLE \bTR \bTD[nc=2] thisisaverylongwordishthing \eTD \bTD word \eTD \eTR \eTABLE \endtext \endtext or \stoptext ?
it's as if the nc=2 is ignored -- it tries to squeeze "thisisaverylongwordishthing" into 1 12pt column instead of a combined 120pt column.
How can I convince it to do what I mean with nc=2 despite having only one row with only 2 cells?
\starttext \setupTABLE[c][1][width=12pt] \setupTABLE[c][2][width=108pt] \setupTABLE[c][each][width=60pt] \bTABLE \bTR \bTD[nc=2] this is a very long wordish thing \eTD \bTD word \eTD \eTR \bTR[frame=off,strut=no,offset=0pt] \bTD\relax\eTD\bTD\relax\eTD\bTD\relax\eTD\eTR \eTABLE \stoptext -- luigi
participants (2)
-
luigi scarso
-
Zed Lopez