diff options
Diffstat (limited to 'macros/luatex/generic/lua-widow-control/lua-widow-control.lua')
-rw-r--r-- | macros/luatex/generic/lua-widow-control/lua-widow-control.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/luatex/generic/lua-widow-control/lua-widow-control.lua b/macros/luatex/generic/lua-widow-control/lua-widow-control.lua index 56fa77e991..9a8b2efa78 100644 --- a/macros/luatex/generic/lua-widow-control/lua-widow-control.lua +++ b/macros/luatex/generic/lua-widow-control/lua-widow-control.lua @@ -65,8 +65,8 @@ if lwc.context then elseif lwc.plain or lwc.latex then luatexbase.provides_module { name = lwc.name, - date = "2022/01/30", --%%date - version = "1.1.3", --%%version + date = "2022/02/04", --%%date + version = "1.1.4", --%%version description = [[ This module provides a LuaTeX-based solution to prevent @@ -195,7 +195,7 @@ function lwc.save_paragraphs(head) -- Offset the accumulated \\prevdepth local prevdepth = node.new("glue") - prevdepth.width = -1 * long_info.prevdepth + prevdepth.width = natural_info.prevdepth - long_info.prevdepth last(long_node).next = prevdepth table.insert(lwc.paragraphs, {demerits = long_demerits, node = long_node}) |