ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Orphans and Windows
@ 2013-06-19  6:03 Malte Stien
  2013-06-19  7:30 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Malte Stien @ 2013-06-19  6:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

G'day everyone,

I use introductory sentences to numbered lists all the time, like this (where \startnlist...\stopnlist is a custom itemised list):

To remove a foo from a pool of foos:
\startnlist
  \item Do this...
  \item Do that...
  \item ...and so on...
\stopnlist

On occasions, I am getting that introductory sentence as an orphaned line at the end of a page and my numbered list as the first thing on the next page. How can I avoid that? There is not much about orphans and widows on the Wiki or in the reference manual.

Thank you,
Malte.

--
“The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Orphans and Windows
  2013-06-19  6:03 Orphans and Windows Malte Stien
@ 2013-06-19  7:30 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2013-06-19  7:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 19.06.2013 um 08:03 schrieb Malte Stien <malte@stien.de>:

> G'day everyone,
> 
> I use introductory sentences to numbered lists all the time, like this (where \startnlist...\stopnlist is a custom itemised list):
> 
> To remove a foo from a pool of foos:
> \startnlist
>  \item Do this...
>  \item Do that...
>  \item ...and so on...
> \stopnlist
> 
> On occasions, I am getting that introductory sentence as an orphaned line at the end of a page and my numbered list as the first thing on the next page. How can I avoid that? There is not much about orphans and widows on the Wiki or in the reference manual.

Use the “intro” keyword for the itemgroup, i.e. \startnlist[intro].

Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2013-06-19  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-19  6:03 Orphans and Windows Malte Stien
2013-06-19  7:30 ` Wolfgang Schuster

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).