| 1 |
<!-- lua-widow-control |
| 2 |
https://github.com/gucci-on-fleek/lua-widow-control |
| 3 |
SPDX-License-Identifier: MPL-2.0+ OR CC-BY-SA-4.0+ |
| 4 |
SPDX-FileCopyrightText: 2022 Max Chernoff |
| 5 |
--> |
| 6 |
|
| 7 |
Changelog |
| 8 |
========= |
| 9 |
|
| 10 |
All notable changes to lua-widow-control will be listed here, in reverse chronological order. **Changes listed in bold** are important changes: they either remove options or commands, or may change the location of page breaks. |
| 11 |
|
| 12 |
## v3.0.1 (2024-03-11) |
| 13 |
|
| 14 |
- Disable `debug` hooks for TeX Live 2024. |
| 15 |
|
| 16 |
- Fix compatibility issue with `selnolig` ([#43](https://github.com/gucci-on-fleek/lua-widow-control/issues/43)). |
| 17 |
|
| 18 |
## v3.0.0 (2022-11-22) |
| 19 |
|
| 20 |
- Add the new _TUGboat_ and _Zpravodaj_ articles. |
| 21 |
|
| 22 |
- Add and document the public Lua interfaces. |
| 23 |
|
| 24 |
- Change `\parfillskip` settings for lengthened paragraphs to more strongly prevent short last lines. **May affect page breaks.** |
| 25 |
|
| 26 |
- Add the ability to configure the horizontal offset for the paragraph costs printed in draft mode. |
| 27 |
|
| 28 |
- Add support for [LuaMetaLaTeX and LuaMetaPlain](https://github.com/zauguin/luametalatex). All features should work identically to the LuaTeX-based version, although there are a few minor bugs. ([#40](https://github.com/gucci-on-fleek/lua-widow-control/pull/40)) |
| 29 |
|
| 30 |
- Fully support inserts/footnotes in LuaMetaTeX ([#38](https://github.com/gucci-on-fleek/lua-widow-control/issues/38)). |
| 31 |
|
| 32 |
- Add support for presets in ConTeXt. |
| 33 |
|
| 34 |
- Add support for node colouring in ConTeXt and OpTeX ([#39](https://github.com/gucci-on-fleek/lua-widow-control/issues/39)). |
| 35 |
|
| 36 |
## [v2.2.2 (2022-08-23)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-6c91837c205572a78a0bcaf9c80b8e475ef71689) |
| 37 |
|
| 38 |
- Add preliminary support for inserts/footnotes in LuaMetaTeX ([#38](https://github.com/gucci-on-fleek/lua-widow-control/issues/38)). |
| 39 |
|
| 40 |
- Use the built-in LaTeX key–value interface where available. |
| 41 |
|
| 42 |
This means that lua-widow-control now also reads the global class options. |
| 43 |
|
| 44 |
- Add support for split footnotes ([#37](https://github.com/gucci-on-fleek/lua-widow-control/issues/37)). |
| 45 |
|
| 46 |
## [v2.2.1 (2022-07-28)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-45c3146d5fc5a86606a931212395a28ffb48f925) |
| 47 |
|
| 48 |
- Fix crashes with recent LuaMetaTeX (ConTeXt MkXL). See also [this thread](https://mailman.ntg.nl/pipermail/ntg-context/2022/106331.html). |
| 49 |
- No longer show "left parfill skip" warnings with ConTeXt LMTX/MkXL ([#7](https://github.com/gucci-on-fleek/lua-widow-control/issues/7)). |
| 50 |
|
| 51 |
## [v2.2.0 (2022-06-17)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-9a5deba53545adc5ab25a5caa0b8ebf4104843f9) |
| 52 |
|
| 53 |
- Fix paragraphs not being properly saved for potential expansion. **May affect page breaks.** |
| 54 |
- Add a new `draft` option ([#36](https://github.com/gucci-on-fleek/lua-widow-control/issues/36)). |
| 55 |
- Fix a node memory leak ([#29](https://github.com/gucci-on-fleek/lua-widow-control/issues/29)). You should now be able to use lua-widow-control on documents with > 10 000 pages. |
| 56 |
- Use `\lua_load_module:n` when available. |
| 57 |
- Add additional metadata to the documentation. |
| 58 |
|
| 59 |
|
| 60 |
## [v2.1.2 (2022-05-27)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-3744f3e78bdf02fc63d508a0f80595260191607c) |
| 61 |
|
| 62 |
- Fully-support footnotes/inserts: lua-widow-control now moves the "footnote text" with the "footnote mark" when it moves a line to the next page. |
| 63 |
- No longer attempt to expand paragraphs in `\vbox`es |
| 64 |
- Minor documentation updates |
| 65 |
|
| 66 |
|
| 67 |
## [v2.1.1 (2022-05-20)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-980f24ac64816bd0d453754f8f1af676f0f7ee99) |
| 68 |
|
| 69 |
- Prevent spurious `under/overfull \vbox` warnings when widows/orphans are removed |
| 70 |
- Add TUGboat article to the distributed documentation |
| 71 |
- Rewrite many portions of the manual |
| 72 |
- Add support for `luahbtex` and `mmoptex` ([#35](https://github.com/gucci-on-fleek/lua-widow-control/pull/35) [@vlasakm](https://github.com/vlasakm)) |
| 73 |
- Fix the (undocumented) `microtype` LaTeX option |
| 74 |
|
| 75 |
|
| 76 |
## [v2.1.0 (2022-05-14)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-82563aa0396805008059e3a96c2bf30b59c58026) |
| 77 |
|
| 78 |
- Fully support grid snapping in ConTeXt |
| 79 |
- New warnings when a new widow/orphan is inadvertently created |
| 80 |
- Significant internal rewrites |
| 81 |
- Add Plain and OpTeX interfaces to `\nobreak` behaviour and debug mode |
| 82 |
|
| 83 |
|
| 84 |
## [v2.0.6 (2022-04-23)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-2aa9269b33a03f66d2ece634c3dcba6b258fddf0) |
| 85 |
|
| 86 |
- Emergency fix for renamed LMTX engine Lua functions |
| 87 |
- Internal LaTeX refactoring |
| 88 |
|
| 89 |
|
| 90 |
## [v2.0.5 (2022-04-13)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-e3234ac7dfb31118d08fcb5ed0fe03f394df2b57) |
| 91 |
|
| 92 |
- Support nested `\lwcdisablecmd` macros |
| 93 |
- Fix `\lwcdisablecmd` in Plain TeX |
| 94 |
- Support command patching in OpTeX |
| 95 |
- Patch memoir to prevent spurious asterisks at broken two-line paragraphs ([#32](https://github.com/gucci-on-fleek/lua-widow-control/issues/32)) |
| 96 |
|
| 97 |
|
| 98 |
## [v2.0.4 (2022-04-07)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-8a0e97e448976280a38d41f92c2781320b1a91f0) |
| 99 |
|
| 100 |
- Don't expand paragraphs typeset during output routines ([#31](https://github.com/gucci-on-fleek/lua-widow-control/issues/31)) |
| 101 |
|
| 102 |
|
| 103 |
## [v2.0.3 (2022-03-28)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-d6622dd9fd04a4bc7678ff18420c1b4bdf077844) |
| 104 |
|
| 105 |
- Automatically patch section commands provided by memoir, KOMA-Script, and titlesec. |
| 106 |
|
| 107 |
|
| 108 |
## [v2.0.2 (2022-03-20)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-7e79189406a2318c33dcaceb85d9d1021b357a3f) |
| 109 |
|
| 110 |
_Final release present in TeX Live 2021_ |
| 111 |
|
| 112 |
- Add `balanced` mode preset. |
| 113 |
|
| 114 |
|
| 115 |
## [v2.0.1 (2022-03-18)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-f3048dbcbfaf4d7d6f6a57e236cdb9684ff5d18d) |
| 116 |
|
| 117 |
- Documentation updates ([#25](https://github.com/gucci-on-fleek/lua-widow-control/issues/25)) |
| 118 |
- Bug fixes ([#28](https://github.com/gucci-on-fleek/lua-widow-control/issues/28)) |
| 119 |
|
| 120 |
|
| 121 |
## [v2.0.0 (2022-03-07)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-cea06ddad8dfcf15fa9ba2a86c6640648b9df523) |
| 122 |
|
| 123 |
- **Page breaks may be slightly different** |
| 124 |
- **Removed `\lwcemergencystretch` and `\lwcdisablecmd` in LaTeX. Please use the new key–value interface** |
| 125 |
- Use expl3 for the LaTeX files ([#20](https://github.com/gucci-on-fleek/lua-widow-control/pull/20)) |
| 126 |
- Use a key–value interface for configuration with LaTeX ([#11](https://github.com/gucci-on-fleek/lua-widow-control/issues/11)) |
| 127 |
- Silence some extraneous `luatexbase` info messages |
| 128 |
- Add a "debug mode" to print extra information ([#12](https://github.com/gucci-on-fleek/lua-widow-control/issues/12)) |
| 129 |
- Fix error message line wrapping |
| 130 |
- Don't reset `\interlinepenalty` and `\brokenpenalty` |
| 131 |
- Set and analyze `\displaywidowpenalty` |
| 132 |
- Keep section headings with moved orphans ([#17](https://github.com/gucci-on-fleek/lua-widow-control/issues/17)) |
| 133 |
- Add the ability to configure the maximum paragraph cost ([#22](https://github.com/gucci-on-fleek/lua-widow-control/issues/22)) |
| 134 |
- Add a "strict" mode |
| 135 |
- Use an improved cost function to select the best paragraph to lengthen ([#23](https://github.com/gucci-on-fleek/lua-widow-control/issues/23)) |
| 136 |
- Dozens of bug fixes |
| 137 |
- Miscellaneous documentation updates |
| 138 |
|
| 139 |
|
| 140 |
## [v1.1.6 (2022-02-22)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-2c7201854d89535ef7c02f6c38486205677f1aa1) |
| 141 |
|
| 142 |
- Add support for the OpTeX format/macro package. |
| 143 |
- Add support for the LuaTeX/MKIV version of ConTeXt. |
| 144 |
- Ensure compatibility with the new `linebreaker` package. |
| 145 |
- Fix a small bug with `\lwcdisablecmd`. |
| 146 |
- Test the `\outputpenalty` for the specific values that indicate a widow or orphan. |
| 147 |
|
| 148 |
|
| 149 |
## [v1.1.5 (2022-02-15)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-5cc95212c8141006ae3a600d26a4e0cd63b368c0) |
| 150 |
|
| 151 |
- Improve the appearance of the demo table in the documentation ([#4](https://github.com/gucci-on-fleek/lua-widow-control/issues/4)) |
| 152 |
- Improve compatibility with microtype |
| 153 |
- Block loading the package without LuaTeX |
| 154 |
- Improve logging |
| 155 |
- Bug fix to prevent crashing |
| 156 |
|
| 157 |
|
| 158 |
## [v1.1.4 (2022-02-04)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-a8caba8e689ce5c743a88dcf1dcd8e4a0db67fb2) |
| 159 |
|
| 160 |
- Enable protrusion/expansion in the demo table in the documentation ([#3](https://github.com/gucci-on-fleek/lua-widow-control/issues/3)) |
| 161 |
- Fix `\prevdepth` bug |
| 162 |
|
| 163 |
|
| 164 |
## [v1.1.3 (2022-01-30)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-8d1228bf1697e2720062b0c2a40f306005da72e8) |
| 165 |
|
| 166 |
- Fix bug when used with the LaTeX `calc` package. ([#2](https://github.com/gucci-on-fleek/lua-widow-control/issues/2)) |
| 167 |
|
| 168 |
|
| 169 |
## [v1.1.2 (2021-12-14)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-61a684d92f1a38ecf0ff53c6da22b2a973fae530) |
| 170 |
|
| 171 |
- Fix crash under ConTeXt LMTX |
| 172 |
|
| 173 |
|
| 174 |
## [v1.1.1 (2021-11-26)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/v1.1.1) |
| 175 |
|
| 176 |
- Minor documentation updates |
| 177 |
|
| 178 |
|
| 179 |
## [v1.1.0 (2021-11-08)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-8c958011bb4bd7f6e4ad843321c0d2643645a08f) |
| 180 |
|
| 181 |
- Extensive documentation updates |
| 182 |
- Clarify that lua-widow-control *does* in fact support columns |
| 183 |
- Add `\lwcdisablecmd` macro to disable lua-widow-control for certain commands |
| 184 |
- Automatically disable lua-widow-control inside section headings (uses `\lwcdisablecmd`) |
| 185 |
- Add automated tests to prevent regressions |
| 186 |
- Fix a rare issue that would cause indefinite hangs |
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
## [v1.0.0 (2021-10-09)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-bae44a6858432e095597521bf1ef7df2104b6b9c) |
| 191 |
|
| 192 |
Initial release |