Problem with widows and orphans
Tomáš Hála <[email protected]> Tue, 30 Jun 2026 09:24:57 +0200
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I tried the example from https://wiki.contextgarden.net/Text_blocks/Typography/Widows_and_orphans
and both widows and orphans appeared.
Is the settings complete, or should I add anything else?
Thanks in advance,
Tomáš
% MWE:
\startsetups[grid][mypenalties]
\setdefaultpenalties
\setpenalties\widowpenalties{2}{10000}
\setpenalties\clubpenalties {2}{10000}
\stopsetups
\setuplayout[
grid=yes,
setups=mypenalties,
% height=20cc,
% height=30cc,
]
\starttext
\dorecurse{10}{\input knuth}
\stoptext
%%%%%%
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________