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 <texml@fiee.net> wrote:
Am 2017-10-18 um 15:03 schrieb Alan Bowen <bowenalan03@gmail.com>:

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