ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* avoiding two lines on last page
@ 2017-10-18 13:03 Alan Bowen
  2017-10-18 20:42 ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Bowen @ 2017-10-18 13:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 327 bytes --]

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.

Alan

[-- Attachment #1.2: Type: text/html, Size: 738 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: avoiding two lines on last page
  2017-10-18 13:03 avoiding two lines on last page Alan Bowen
@ 2017-10-18 20:42 ` Henning Hraban Ramm
  2017-10-20 13:10   ` Alan Bowen
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2017-10-18 20:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: avoiding two lines on last page
  2017-10-18 20:42 ` Henning Hraban Ramm
@ 2017-10-20 13:10   ` Alan Bowen
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Bowen @ 2017-10-20 13:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1488 bytes --]

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
> ____________________________________________________________
> _______________________

[-- Attachment #1.2: Type: text/html, Size: 2986 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-20 13:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-18 13:03 avoiding two lines on last page Alan Bowen
2017-10-18 20:42 ` Henning Hraban Ramm
2017-10-20 13:10   ` Alan Bowen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).