[NTG-context] Orphans and Windows

2013-06-19 Thread Malte Stien
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
___

Re: [NTG-context] Orphans and Windows

2013-06-19 Thread Wolfgang Schuster

Am 19.06.2013 um 08:03 schrieb Malte Stien ma...@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
___