[NTG-context] Vertically stretched split table

2014-04-07 Thread Joshua Krämer
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
hand, because it is a big project with several hundred table pages,
and splitting by hand would make changes (additional rows) really hard.

Thanks for your help and kind regards,
Joshua Krämer


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Vertically stretched split table

2014-04-07 Thread Hans Hagen

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Vertically stretched split table

2014-04-07 Thread Joshua Krämer
On 2014-04-07, 23:18, Hans Hagen wrote:

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

Thanks for the information, I've already feared it would be like that.
I have thus created a custom solution using frames, hrules and
vfills in between.  So far, it works well.  (A small problem is wrong
hrule spacing at the beginning of the page, and
start/stoplinecorrection leads to wrong vfill-spacing.  If I can't sort
it out, I'll write another message.)

Kind regards
Joshua Krämer


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___