[NTG-context] Vertically stretched split table

Hans Hagen pragma at wxs.nl
Mon Apr 7 23:18:29 CEST 2014


On 4/7/2014 2:56 PM, Joshua Krämer wrote:
> Dear list,
>
> if I specify "option=height" with an xtable, a single-page
> table is stretched vertically to fill the whole textheight.  However, I
> need this feature with a multipage table.  In the following example,
> the table on the first page should be stretched, but isn't:
>
> \showframe
> \starttext
> \startxtable [option=height, split=yes]
>    \startxrow
>      \startxcell \input knuth \stopxcell
>      \startxcell \input ward \stopxcell
>    \stopxrow
>    \startxrow
>      \startxcell \input zapf \stopxcell
>      \startxcell \input ward \stopxcell
>    \stopxrow
>    \startxrow
>      \startxcell \input knuth \stopxcell
>      \startxcell \input ward \stopxcell
>    \stopxrow
> \stopxtable
> \stoptext
>
> The table parts on all the pages but the last page should be stretched
> vertically.  If this isn't possible with xtable, is it possible in
> another way?  I hope it is possible without splitting the table by

the height stretch is a special case and not interfaced with the 
splitter (would demand multipass whihc in turn could lead to oscillation)

> hand, because it is a big project with several hundred table pages,
> and splitting by hand would make changes (additional rows) really hard.

just do that in the final version only


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list