Hello, In the following example, the bottom of the table is outside the page. How could this be solved? \starttext \input tufte \startcolumns[2] \bTABLE[split=yes] \dorecurse{50}{\bTR\bTD bla\eTD\eTR} \eTABLE \stopcolumns \stoptext TIA for any help! Cheers, Peter -- http://pmrb.free.fr/contact/
On Sat, May 3, 2008 at 9:04 PM, Peter Münster
Hello,
In the following example, the bottom of the table is outside the page. How could this be solved?
\starttext \input tufte \startcolumns[2] ^^^ n=2
\bTABLE[split=yes] \dorecurse{50}{\bTR\bTD bla\eTD\eTR} \eTABLE \stopcolumns \stoptext
Hi Peter, this is not possible with the TABLE and table environments because of a switch in core-tsp, table are always splittet to the complete textheight. \ifinsidecolumns % brrr, assumes empty columns \global\setfalse\splitfloatfirstdone \scratchdimen\textheight % <-- fixed height \!!donectrue \else You could try to use tabuate if possible because this did work also in column mode. Wolfgang
On Mon, May 05 2008, Wolfgang Schuster wrote:
this is not possible with the TABLE and table environments because of a switch in core-tsp, table are always splittet to the complete textheight.
\ifinsidecolumns % brrr, assumes empty columns \global\setfalse\splitfloatfirstdone \scratchdimen\textheight % <-- fixed height \!!donectrue \else
You could try to use tabuate if possible because this did work also in column mode.
Hello Wolfgang, Unfortunately, I need the TABLE environment for several reasons. Do you think, that it would be possible to replace the \textheight by the remaining height of the page? Cheers, Peter -- http://pmrb.free.fr/contact/
On Thu, May 8, 2008 at 7:23 AM, Peter Münster
On Mon, May 05 2008, Wolfgang Schuster wrote:
this is not possible with the TABLE and table environments because of a switch in core-tsp, table are always splittet to the complete textheight.
\ifinsidecolumns % brrr, assumes empty columns \global\setfalse\splitfloatfirstdone \scratchdimen\textheight % <-- fixed height \!!donectrue \else
You could try to use tabuate if possible because this did work also in column mode.
Hello Wolfgang,
Unfortunately, I need the TABLE environment for several reasons. Do you think, that it would be possible to replace the \textheight by the remaining height of the page?
I replaced just \scratchdimen\textheight in the code fragment above with \scratchdimen\dimexpr\textheight-\savedpagetotal\relax and this did work in your example as long as the table fit on the current page and it did start io the first column. Hard to tell if a general solution is possible, we have to many different cases for the tabe, it could be longer than one page and the values have changed or you could have text in the column before the table and the length in the first and the second column need to be different etc. You could also not only rely on TeX's \pagegoal and \pagetotal parameters because we're working with virtual pages and split the page at the end in two or more parts ... Wolfgang
participants (2)
-
Peter Münster
-
Wolfgang Schuster