Hi all,

at https://wiki.contextgarden.net/Command/currentTABLEcolumn I learnt
about \currentTABLErow etc. for counting lines in natural tables.

I have got the following two minimal non-working examples (on TeXlive 2018):

\starttext\setupTABLE[split=yes]
  \bTABLE
  \bTABLEhead\bTR\bTH head      \eTH\eTR\eTABLEhead
  \bTABLEbody
    \dorecurse{100}{\bTR\bTD \currentTABLErow xxx \eTD\eTR}
  \eTABLEbody
  \eTABLE
\stoptext

In this case, the head-line is alse counted which makes no sense
and I do not know how to supress it.

If I add \bTABLEnext (below), I receive very strange result -- both heads
are at the beginning of the table and both counted. Moreover, the "next"
head is not used on the following pages.

\starttext\setupTABLE[split=yes]
  \bTABLE
  \bTABLEhead\bTR\bTH head      \eTH\eTR\eTABLEhead
  \bTABLEnext\bTR\bTH next head \eTH\eTR\eTABLEnext
  \bTABLEbody
    \dorecurse{100}{\bTR\bTD \currentTABLErow xxx \eTD\eTR}
  \eTABLEbody
  \eTABLE
\stoptext

I tried \TC and \TD instead of \TH, also without success. 
What I am doing wrong?  
Thanks in advance for help.

Best wishes,

Tomáš

___________________________________________________________________________________
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