[NTG-context] The whole (sub)section on a single page

Christopher Creutzig christopher at creutzig.de
Thu Dec 1 09:35:42 CET 2005


Hans Hagen wrote:

>>How/where can I get \theremainingpageheight? I saw some strange
>>"keywords" like \pagegoal, \pagetotal spread through the source, ...
>>but I have no clue what they are for and if they have anyting to do
>>with what I'm looking for.
>> 
>>
> 
> that's always tricky, because it's not really possible to determine the 
> rest of the available space without entering the output routing, which 

 The standard trick would be not to explicitly check some numbers but to
do what in low-level looks like

\!!dimena=\ht0\advance\!!dimena\dp0%
\penalty10000\vskip\!!dimena\penalty10\vskip-\!!dimena

Is there any nice ConTeXt way of doing the above?


regards,
	Christopher


More information about the ntg-context mailing list