summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl')
-rw-r--r--Master/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl16
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl b/Master/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl
index b38d6eda018..6eff5c9b00c 100644
--- a/Master/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl
+++ b/Master/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl
@@ -1,10 +1,10 @@
%D \module
%D [ file=t-lua-widow-control,
-%D version=1.1.5, %%version
+%D version=1.1.6, %%version
%D title=lua-widow-control,
%D subtitle=\ConTeXt module for lua-widow-control,
%D author=Max Chernoff,
-%D date=2022-02-15, %%date
+%D date=2022-02-22, %%date
%D copyright=Max Chernoff,
%D license=MPL-2.0+,
%D url=https://github.com/gucci-on-fleek/lua-widow-control]
@@ -57,10 +57,14 @@
% We should only reenable \lwc/ at the end if it was already enabled.
\newif\iflwc@should@reenable
-\define\lwc@patch@pre{\iflwc%
- \lwc@should@reenabletrue%
- \setuplwc[state=stop]%
-\fi}
+\define\lwc@patch@pre{%
+ \iflwc%
+ \lwc@should@reenabletrue%
+ \setuplwc[state=stop]%
+ \else%
+ \lwc@should@reenablefalse
+ \fi%
+}
\define\lwc@patch@post{\iflwc@should@reenable%
\setuplwc[state=start]%