| 1 |
% Wrong behaviour: |
| 2 |
% - page 1: "a" |
| 3 |
% - page 2: thead, tbody1 |
| 4 |
% - page 3: thead, tbody2, tbody3 |
| 5 |
% Right behaviour: |
| 6 |
% - page 1: "a" |
| 7 |
% - page 2: thead, tbody1, tbody2, tbody3 |
| 8 |
% |
| 9 |
% |
| 10 |
\edef\oldoutput{\the\output} |
| 11 |
\output={\immediate\show O% |
| 12 |
\oldoutput} |
| 13 |
\let\oldifbreak=\cals@ifbreak |
| 14 |
\def\cals@ifbreak{% |
| 15 |
\oldifbreak\iftrue \immediate\show T\else \immediate\show F\fi |
| 16 |
\cals@tmp} |
| 17 |
%\tracingoutput=1 |
| 18 |
%\tracingpages=1 |
| 19 |
% |
| 20 |
% |
| 21 |
% |
| 22 |
a\par |
| 23 |
\dimen0=\pagegoal\relax |
| 24 |
\advance\dimen0 by -\pagetotal\relax |
| 25 |
\advance\dimen0 by -150pt |
| 26 |
\vskip\dimen0\relax |
| 27 |
\begin{calstable} |
| 28 |
\colwidths{{100pt}{100pt}} |
| 29 |
\thead{\brow\cell{thead}\cell{\vrule width10pt height100pt depth0pt}\erow} |
| 30 |
\brow\cell{tbody1}\cell{\vrule width10pt height100pt depth0pt}\erow |
| 31 |
\brow\cell{tbody2}\cell{\vrule width10pt height100pt depth0pt}\erow |
| 32 |
\brow\cell{tbody3}\cell{\vrule width10pt height100pt depth0pt}\erow |
| 33 |
\end{calstable} |