diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-22 21:44:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-22 21:44:23 +0000 |
commit | cebc6e65cc9a429afbc4ae53d5a8b67d18d72351 (patch) | |
tree | 6a5968db3890233a4e800993860d35f39d080db2 /Master/texmf-dist/tex/optex/lua-widow-control | |
parent | f14a9cb23b19c7bd3bd80081f5a697296ae2ebea (diff) |
lua-widow-control (22nov22)
git-svn-id: svn://tug.org/texlive/trunk@65084 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/optex/lua-widow-control')
-rw-r--r-- | Master/texmf-dist/tex/optex/lua-widow-control/lua-widow-control.opm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/optex/lua-widow-control/lua-widow-control.opm b/Master/texmf-dist/tex/optex/lua-widow-control/lua-widow-control.opm index 6d3ce3ea54e..fa2be778636 100644 --- a/Master/texmf-dist/tex/optex/lua-widow-control/lua-widow-control.opm +++ b/Master/texmf-dist/tex/optex/lua-widow-control/lua-widow-control.opm @@ -3,7 +3,7 @@ % SPDX-License-Identifier: MPL-2.0+ % SPDX-FileCopyrightText: 2022 Max Chernoff -\_codedecl\lwcenable{lua-widow-control <v2.2.2>} %%version +\_codedecl\lwcenable{lua-widow-control <v3.0.0>} %%version \_namespace{lwc} \_clubpenalty=1 @@ -14,6 +14,9 @@ \_newdimen\lwcemergencystretch \lwcemergencystretch=3em +\_newdimen\lwcdraftoffset +\lwcdraftoffset=1in + \_newcount\lwcmaxcost \lwcmaxcost=2147483647 @@ -72,7 +75,12 @@ \_let\lwcdisable=\.disable \_let\lwcdisablecmd=\.disable_cmd \_let\lwcdebug=\.debug -\_let\lwcdraft=\.draft +\_def\lwcdraft#1{% + \.show_costs{#1}% + \.show_colours{#1}% +} +\_let\lwcshowcosts=\.show_costs +\_let\lwcshowcolours=\.show_colours \_let\iflwc=\.if_enabled \_let\lwcnobreak=\.nobreak |