Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Mar 03:32
cea06dd

v2.0.0 release for lua-widow-control.

Lua-widow-control is a Plain TeX/LaTeX/ConTeXt/OpTeX package that removes widows and orphans without any user intervention. Using the power of LuaTeX, it does so without stretching any glue or shortening any pages or columns. Instead, lua-widow-control automatically lengthens a paragraph on a page or column where a widow or orphan would otherwise occur.

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.


lua-widow-control.tds.zip is a TDS archive that is designed to be unpacked directly in your TEXMF/ directory tree. lua-widow-control.pdf is the compiled package documentation. lua-widow-control.ctan.zip is an archive designed to be uploaded to CTAN by the author (me). test-results.zip is a zip archive containing the results of the automated tests.