[NTG-context] xtreme tables repeating header

Hans Hagen pragma at wxs.nl
Tue Nov 1 14:34:35 CET 2011


On 29-10-2011 12:41, Patrick Gundlach wrote:
> \setuppapersize [a5][a5]
>
> \starttext
>
> \setupxtable
>    [width=.5\textwidth,
>     split=yes,
>     header=repeat,
>     footer=repeat]
>
> \startxtable
>   \startxtablehead
>   \startxrow
>    \startxcell  Column A \stopxcell
>    \startxcell  Column B  \stopxcell
> \stopxrow
> \stopxtablehead
> \startxtablenext
>   \startxrow
>    \startxcell  new column A \stopxcell
>    \startxcell  new column B  \stopxcell
> \stopxrow
> \stopxtablenext
> \startxtablebody
> \startxrow
>    \startxcell \vrule height  7cm \stopxcell
>    \startxcell x \stopxcell
> \stopxrow
> \startxrow
>    \startxcell \vrule height  7cm \stopxcell
>    \startxcell x \stopxcell
> \stopxrow
> \startxrow
>    \startxcell \vrule height  7cm \stopxcell
>    \startxcell x \stopxcell
> \stopxrow
> \stopxtablebody
>
> \stopxtable
> \stoptext

quick hack:

\placefigure[split,fixed,none]{}{...}

currently only the the float related splitter will check the available 
space, so in your case you have a regular flush with skips between the 
rows and a header/footer 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