summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-27 20:47:53 +0000
committerKarl Berry <karl@freefriends.org>2024-02-27 20:47:53 +0000
commit6797aad4f67e4add52f59847446bb8eb8e1266c6 (patch)
treef77bc76c7fa00aa7dd8d02c161951b1ea7b58e61 /Master/texmf-dist/tex
parent41e439eee6fb46cb97696e5e76d0da51e558ec6d (diff)
lua-ul (27feb24)
git-svn-id: svn://tug.org/texlive/trunk@70203 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua2
-rw-r--r--Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua2
-rw-r--r--Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty6
-rw-r--r--Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua16
5 files changed, 12 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty b/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty
index bcd35b8c4e5..1c69c66dac8 100644
--- a/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty
+++ b/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty
@@ -1,4 +1,4 @@
-%% Copyright (C) 2020-2022 by Marcel Krueger
+%% Copyright (C) 2020-2024 by Marcel Krueger
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua b/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua
index 2b0f0720553..444567e25a5 100644
--- a/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua
+++ b/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua
@@ -6,7 +6,7 @@
--
-- lua-ul.dtx (with options: `preserve-attr')
--
--- Copyright (C) 2020-2022 by Marcel Krueger
+-- Copyright (C) 2020-2024 by Marcel Krueger
--
-- This file may be distributed and/or modified under the
-- conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua b/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua
index db4acae9659..7b85a4309f1 100644
--- a/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua
+++ b/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua
@@ -6,7 +6,7 @@
--
-- lua-ul.dtx (with options: `luacode')
--
--- Copyright (C) 2020-2022 by Marcel Krueger
+-- Copyright (C) 2020-2024 by Marcel Krueger
--
-- This file may be distributed and/or modified under the
-- conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty b/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty
index 562beef0f9e..c87f8ca83d7 100644
--- a/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty
+++ b/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty
@@ -6,7 +6,7 @@
%%
%% lua-ul.dtx (with options: `package')
%%
-%% Copyright (C) 2020-2022 by Marcel Krueger
+%% Copyright (C) 2020-2024 by Marcel Krueger
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -20,7 +20,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesExplPackage
{lua-ul}
- {2022-05-31}{0.2.0}{Underlining and related functionality for LuaTeX}
+ {2024-02-26}{0.2.1}{Underlining and related functionality for LuaTeX}
\msg_new:nnnn {lua-ul} {luatex-required} {LuaLaTeX~required} {
Lua-UL~requires~LuaLaTeX.~
Maybe~you~forgot~to~switch~the~engine~in~your~editor?
@@ -237,7 +237,7 @@
}
\NewDocumentCommand \strikeThrough {o +m} {
\group_begin:
- \@strikeThrough #2
+ \@strikeThrough[#1] #2
\group_end:
}
diff --git a/Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua b/Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua
index 0fdc6c4f84e..525349614a4 100644
--- a/Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua
+++ b/Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua
@@ -6,7 +6,7 @@
--
-- lua-ul.dtx (with options: `callback')
--
--- Copyright (C) 2020-2022 by Marcel Krueger
+-- Copyright (C) 2020-2024 by Marcel Krueger
--
-- This file may be distributed and/or modified under the
-- conditions of the LaTeX Project Public License, either
@@ -26,15 +26,11 @@ local flush_node = node.flush_node
local prepend_prevdepth = node.prepend_prevdepth
local callback_define
-for i=1,5 do
-local name, func = require'debug'.getupvalue(luatexbase.disable_callback, i)
- if name == 'callback_register' then
- callback_define = func
- break
- end
-end
-if not callback_define then
- error[[Unable to find callback.define]]
+do
+ local saved_luatexbase, saved_callback_register = luatexbase, callback.register
+ luatexbase.uninstall()
+ callback_define = callback.register
+ luatexbase, callback.register = saved_luatexbase, saved_callback_register
end
local function filtered_append_to_vlist_filter(box,