Hello all:

I have a 5 pages tables at 5 points with a repeating header and also some "nc=2" and "nr=2" in header.

But when de table font is below 6 points there is a gap between the header and the body; and when there is some nr= in the header, the first row of the body repeats on every page.

The code below shows it. Thankyou in advance for some advices.

\setuppapersize[A5][A5]

%%%%%%%%%%
\starttext

\setupcolors[state=start]

This table at 5 points. Below 6 points there is a gap between the header and the body; and the first row of the body repeats in every page.

\bTABLE[split=repeat]\switchtobodyfont[5pt]
\bTABLEhead
\bTR
\bTH[nr=2] 1\eTH
\bTH[nr=2] 2\eTH
\bTH[nc=2] 3\eTH
\eTR
\bTR
\bTH 3a\eTH
\bTH 3b\eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR[color=red]
\bTD body\eTD
\bTD first\eTD
\bTD row\eTD
\bTD Should not repeat every page\eTD
\eTR
\dorecurse{55}{\bTR\bTD[nc=4]the first row is repeating on every page\eTD\eTR}
\eTABLEbody
\eTABLE

\blank[12pt]

This table at 12 points. The gap is gone but still the first row of the body repeats in every page.

\bTABLE[split=repeat]\switchtobodyfont[12pt]
\bTABLEhead
\bTR
\bTH[nr=2] 1\eTH
\bTH[nr=2] 2\eTH
\bTH[nc=2] 3\eTH
\eTR
\bTR
\bTH 3a\eTH
\bTH 3b\eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR[color=red]
\bTD body\eTD
\bTD first\eTD
\bTD row\eTD
\bTD Should not repeat every page\eTD
\eTR
\dorecurse{25}{\bTR\bTD[nc=4]the first row is repeating on every page\eTD\eTR}
\eTABLEbody
\eTABLE

\blank[12pt]

In this table at 12 points and without nr=2 in the header, the repeating header is ok,

\bTABLE[split=repeat]\switchtobodyfont[12pt]
\bTABLEhead
\bTR
\bTH 1\eTH
\bTH 2\eTH
\bTH 3\eTH
\eTR
\bTR
\bTH 1a\eTH
\bTH 2a\eTH
\bTH 3a\eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR[color=red]
\bTD body\eTD
\bTD first\eTD
\bTD row\eTD
\eTR
\dorecurse{6}{\bTR\bTD[nc=3]the first row is ok\eTD\eTR}
\eTABLEbody
\eTABLE

\stoptext
%%%%%%%%%%%%%%%%%


Get news, entertainment and everything you care about at Live.com. Check it out!