diff options
Diffstat (limited to 'macros/luatex/generic/lua-widow-control/lua-widow-control.sty')
-rw-r--r-- | macros/luatex/generic/lua-widow-control/lua-widow-control.sty | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/luatex/generic/lua-widow-control/lua-widow-control.sty b/macros/luatex/generic/lua-widow-control/lua-widow-control.sty index e7179e6a9e..0e3462d22b 100644 --- a/macros/luatex/generic/lua-widow-control/lua-widow-control.sty +++ b/macros/luatex/generic/lua-widow-control/lua-widow-control.sty @@ -13,7 +13,7 @@ \DeclareRelease{}{0000-00-00}{lua-widow-control-2022-02-22.sty} \DeclareRelease{v1.1.6}{2022-02-22}{lua-widow-control-2022-02-22.sty} -\DeclareCurrentRelease{v2.1.0}{2022-05-14} %%version %%dashdate +\DeclareCurrentRelease{v2.1.1}{2022-05-20} %%version %%dashdate % If this version of LaTeX doesn't support command hooks, then we load % the last v1.1.X version of the package. @@ -24,7 +24,7 @@ \ProvidesExplPackage {lua-widow-control} {2022/05/14} %%dashdate - {v2.1.0} %%version + {v2.1.1} %%version {Use Lua to remove widows and orphans} % Unconditional Package Loads @@ -121,8 +121,8 @@ % Here, we enable font expansion/contraction. It isn't strictly necessary for % \lwc/'s functionality; however, it is required for the % lengthened paragraphs to not have terrible spacing. -\bool_if:NT \g__lwc_use_microtype_bool { - \hook_gput_code:nnn { begindocument / before } { \c__lwc_name_str } { +\hook_gput_code:nnn { begindocument / before } { \c__lwc_name_str } { + \bool_if:NT \g__lwc_use_microtype_bool { \@ifpackageloaded { microtype } {} { \RequirePackage[ final, |