ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange behaviour of TABLE with \currentTABLErow
@ 2018-12-03 19:23 Tomas Hala
  2018-12-03 22:14 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Tomas Hala @ 2018-12-03 19:23 UTC (permalink / raw)
  To: Mailing list ConTeXt

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-10 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-03 19:23 Strange behaviour of TABLE with \currentTABLErow Tomas Hala
2018-12-03 22:14 ` Wolfgang Schuster
2018-12-10 11:15   ` Tomas Hala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).