Santy, Michael schrieb:
Thanks Peter for the pointer to the multipage table in the wiki. I don't know how I overlooked that example. However, I was still able to duplicate the problem with this sample table by including a page full of text before the table (see below).
If the dorecurse is set to 62 or 63, the contents slightly overflow the first page text area and only the first row of the table is rendered on the second page. If dorecurse on blah is performed 61 or 64 times, the table is rendered properly.
Any thoughts?
The same as in my first reply. Look at the first page with the text only. There isn't a space behind the sentence(s) and TeX can't break the paragraph (text expands it's lower border). This also breaks the splitting of the table, as it is (partly) on the same page. So you should better use the example texts that are shipped with ConText. Look at your tex\texmf-local\tex\context\sample directory for the file names. For example use something like \dorecurse{3}{\input knuth\relax} or a combination \dorecurse{2}{\input knuth\par \input zapf\par \input bryson\par\blank} If you like you can learn more about TeX's line breaking algorithm, so that you can create better (working) example texts. Search for 'texbytopic' and you will find an excellent (and free) book about TeX. Good luck for your further work with ConTeXt, Peter
Cheers, Mike
\starttext
\setupcolors[state=start]
\showframe
\def\blah{The quick brown fox jumped over the lazy stupid dog.} \dorecurse{62}{\blah}
% setup for all cells \setupTABLE[r][each][style=\tfx\it, align=center]
% setup table head \setupTABLE[r][first] [background=color, backgroundcolor=yellow] % setup table footer \setupTABLE[r][last] [style=bold, background=color, backgroundcolor=green]
\bTABLE[split=repeat,option=stretch]% head on every page, stretch columns % % IMPORTANT: use \bTH ... \eTH to enclose the head|next cells \bTABLEhead \bTR \bTH head1 \eTH \bTH head2 \eTH \bTH head3 \eTH \eTR \eTABLEhead % \bTABLEnext % setup for next table head \bTR [background=color,backgroundcolor=cyan] \bTH next1 \eTH \bTH next2 \eTH \bTH next3 \eTH \eTR \eTABLEnext % % the table body (main part) % \bTABLEbody % \dorecurse{100}{% 100 rows \bTR \bTC body body body body body \eTC \bTC body body body body body \eTC \bTC body body body body body \eTC \eTR }% % \eTABLEbody % % the table foot % \bTABLEfoot \bTR \bTC foot1 \eTC \bTC foot2 \eTC \bTC foot3 \eTC \eTR \eTABLEfoot % \eTABLE
\stoptext
------------------------------------------------------------------------
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________