CTAN update: lua-widow-control

CTAN Announcements ctan-ann at ctan.org
Wed Mar 9 08:48:39 CET 2022

Max Chernoff submitted an update to the



Version number: 2.0.0 2022-03-07
License type: other-free cc-by-sa-4

Summary description: Automatically remove widows and orphans from any 

Announcement text:

**Breaking Changes**
- Page breaks may be slightly different
- Removed `\lwcemergencystretch` and `\lwcdisablecmd` in LaTeX. Please use the new key–value interface

Other Changes
- Use expl3 for the LaTeX files (#20)
- Use a key–value interface for configuration with LaTeX (#11)
- Silence some extraneous `luatexbase` info messages
- Add a "debug mode" to print extra information (#12)
- Fix error message line wrapping
- Don't reset `\interlinepenalty` and `\brokenpenalty`
- Set and analyze `\displaywidowpenalty`
- Keep section headings with moved orphans (#17)
- Add the ability to configure the maximum paragraph cost (#22)
- Add a "strict" mode
- Use an improved cost function to select the best paragraph to lengthen (#23)
- Dozens of bug fixes
- Miscellaneous documentation updates

You can view the full changelog on GitHub:


This package is located at 

More information is at


   Thanks for the upload.

     For the CTAN Team
    Erik Braun


CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs

More information about the Ctan-ann mailing list