[dev-context] Keep extreme tables on the same page as previous content

Pablo Rodriguez oinos at gmx.es
Sat Apr 4 18:55:15 CEST 2020


On 4/4/20 6:44 PM, Alan Braslau wrote:
> On 04/04/20 02:42, Wolfgang Schuster wrote:
>> Hi,
>>
>> when you use extreme tables without a float environment but repeat the
>> header the table always starts on a new page.
>>
>> %%%% begin example
>> \starttext
>>
>> \samplefile{weisman}
>>
>> \blank
>>
>> \startxtable[header=repeat,split=repeat]
>>      \startxtablehead
>>          \startxrow \startxcell Table head \stopxcell \stopxrow
>>      \stopxtablehead
>> [...]
>
> I use
>
> \starttext
> \startxtable [split=repeat,header=repeat,footer=repeat]
>      \startbuffer [header]
>         ...
>      \stopbuffer
> [...]
> without a float environment, and I do NOT get a spurious page break, so
> I do not understand what is happening in your sample above. Is it the
> \break (as you suggest)?

Alan,

I’m afraid that the spurious pagebreak comes when you have text before
the xtable and the xtable has to be split in pages.

Pablo
--
http://www.ousia.tk


More information about the dev-context mailing list