Hi,

I'm still playing/struggling with vertical glue to have pages of a constant 
height. The following settings give reasonable results:

=============
\setuppapersize[A5][A5]

\setupalign[line]
\setuptolerance[vertical,stretch]
\setupinterlinespace[
                stretch=0.001,
                shrink=0.001,
                ]

\showframe

\starttext

\section{Section}
\input knuth\par
\input knuth\par
\input knuth\par
\input ward
\input ward
\input ward
%\vfill % can a \vfill be added automatically here?


\section{Section}
\input knuth\par

% here we don't have a \vfill as this is on the middle of the page
\section{Section}
\input knuth\par

\stoptext
======================

However, I don't want the stretching if the next page starts with a section 
heading. Is there any way to add a \vfill on a page immediately before a 
section heading? \doifatpageborder \doifatpagestart or something similar ?

Thanks for you help,
Denis
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to