[NTG-context] Orphan issue with \startitemize

Marco Patzer lists at homerow.info
Thu Nov 26 22:41:16 CET 2020


On Thu, 26 Nov 2020 21:11:25 +0000
Bruce Horrocks <ntg at scorecrow.com> wrote:

> With \dorecurse{34} all of the items move to the second page even
> though only one extra line has been added and there is now quite a
> large gap at the bottom of the first page.
> 
> Is there a setting that controls this a bit more precisely, please?
> (So that \dorecurse{34} and possibly even 35 would still split one
> and three.)

You could adjust the clubpenalty and widowpenalty:

\startsetups [mypenalties]
  %% \setdefaultpenalties
  \setpenalties\widowpenalties {2}{100}
  \setpenalties\clubpenalties  {2}{100}
\stopsetups

\setuplayout [setups=mypenalties]

Marco


More information about the ntg-context mailing list