From 0e90fd83763d63a3460c4a730b3377f02dbfd088 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 4 Feb 2022 22:21:15 +0000 Subject: lua-widow-control (4feb22) git-svn-id: svn://tug.org/texlive/trunk@61880 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.lua | 6 +++--- .../texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.tex | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/luatex') diff --git a/Master/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.lua b/Master/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.lua index 56fa77e9915..9a8b2efa781 100644 --- a/Master/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.lua +++ b/Master/texmf-dist/tex/luatex/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}) diff --git a/Master/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.tex b/Master/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.tex index eb2c1a070b1..a9b236f966b 100644 --- a/Master/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.tex +++ b/Master/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.tex @@ -3,7 +3,7 @@ % SPDX-License-Identifier: MPL-2.0+ % SPDX-FileCopyrightText: 2021 Max Chernoff -\wlog{lua-widow-control v1.1.3} %%version +\wlog{lua-widow-control v1.1.4} %%version \input ltluatex % \LuaTeX{}Base -- cgit v1.2.3