Re: [NTG-context] avoiding two lines on last page

2017-10-20 Thread Alan Bowen
Thanks, Hraban. I finally got a chance to try it—and it works very nicely.

Note: I placed the command in text of the last page of the component and
got the desired result without specifying a page number. I wonder if this
more abuse than use.

Alan

On Wed, Oct 18, 2017 at 4:42 PM, Henning Hraban Ramm  wrote:

> Am 2017-10-18 um 15:03 schrieb Alan Bowen :
>
> > Occasionally, one of my components (chapters) ends with only two lines
> on the last page. Since space is at a premium, I was wondering if there is
> a way to encourage ConTeXt to put these two lines on the preceding page.
> >
> > I do not have a mwe, so any tips about strategies and commands to
> consider will be much appreciated.
>
> Did you try \adaptlayout?
> http://wiki.contextgarden.net/Command/adaptlayout
>
> Greetlings, Hraban
> ---
> http://www.fiee.net
> http://wiki.contextgarden.net
> GPG Key ID 1C9B22FD
>
> 
> ___
> 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
> 
> ___
___
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
___

Re: [NTG-context] avoiding two lines on last page

2017-10-18 Thread Henning Hraban Ramm
Am 2017-10-18 um 15:03 schrieb Alan Bowen :

> Occasionally, one of my components (chapters) ends with only two lines on the 
> last page. Since space is at a premium, I was wondering if there is a way to 
> encourage ConTeXt to put these two lines on the preceding page.
> 
> I do not have a mwe, so any tips about strategies and commands to consider 
> will be much appreciated.

Did you try \adaptlayout?
http://wiki.contextgarden.net/Command/adaptlayout

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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
___