texlive[70206] branches/branch2023.final/Master/texmf-dist: lua-ul
commits+karl at tug.org
commits+karl at tug.org
Tue Feb 27 21:48:26 CET 2024
Revision: 70206
https://tug.org/svn/texlive?view=revision&revision=70206
Author: karl
Date: 2024-02-27 21:48:26 +0100 (Tue, 27 Feb 2024)
Log Message:
-----------
lua-ul (branch) (27feb24)
Modified Paths:
--------------
branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/lua-ul.pdf
branches/branch2023.final/Master/texmf-dist/source/lualatex/lua-ul/lua-ul.dtx
branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty
branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua
branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua
branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty
branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua
Added Paths:
-----------
branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README.md
Removed Paths:
-------------
branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README
Deleted: branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README 2024-02-27 20:48:14 UTC (rev 70205)
+++ branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README 2024-02-27 20:48:26 UTC (rev 70206)
@@ -1,8 +0,0 @@
-Lua-UL uses new capabilities of the LuaTeX engine to provide
-underlining/strikethrough/highlighting etc. support without
-breaking ligatures, kerning or restricting input.
-
-Requires LuaTeX version >=1.12.0.
-
-Licensed under the LaTeX Project Public License 1.3c,
-maintained by Marcel Krüger <tex at 2krueger.de>
Added: branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README.md
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README.md (rev 0)
+++ branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README.md 2024-02-27 20:48:26 UTC (rev 70206)
@@ -0,0 +1,8 @@
+Lua-UL uses new capabilities of the LuaTeX engine to provide
+underlining/strikethrough/highlighting etc. support without
+breaking ligatures, kerning or restricting input.
+
+Requires LuaTeX version >=1.12.0.
+
+Licensed under the LaTeX Project Public License 1.3c,
+maintained by Marcel Krüger <tex at 2krueger.de>
Property changes on: branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: branches/branch2023.final/Master/texmf-dist/doc/lualatex/lua-ul/lua-ul.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2023.final/Master/texmf-dist/source/lualatex/lua-ul/lua-ul.dtx
===================================================================
--- branches/branch2023.final/Master/texmf-dist/source/lualatex/lua-ul/lua-ul.dtx 2024-02-27 20:48:14 UTC (rev 70205)
+++ branches/branch2023.final/Master/texmf-dist/source/lualatex/lua-ul/lua-ul.dtx 2024-02-27 20:48:26 UTC (rev 70206)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% 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
@@ -244,17 +244,14 @@
% \end{macrocode}
% HACK: Do not do this at home! We need to define the engine callback directly,
% so we use the debug library to get the ``real'' \verb+callback.define+:
+% \changes{0.2.1}{2024-02-26}{Reimplement callback patching to be TL 2024 compatible}
% \begin{macrocode}
-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
+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
-if not callback_define then
- error[[Unable to find callback.define]]
-end
local function filtered_append_to_vlist_filter(box,
locationcode,
@@ -941,7 +938,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}
% \fi
% First define some messages.
% \begin{macrocode}
@@ -1206,7 +1203,7 @@
}
\NewDocumentCommand \strikeThrough {o +m} {
\group_begin:
- \@strikeThrough #2
+ \@strikeThrough[#1] #2
\group_end:
}
Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty 2024-02-27 20:48:14 UTC (rev 70205)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty 2024-02-27 20:48:26 UTC (rev 70206)
@@ -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
Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua 2024-02-27 20:48:14 UTC (rev 70205)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul-patches-preserve-attr.lua 2024-02-27 20:48:26 UTC (rev 70206)
@@ -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
Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua 2024-02-27 20:48:14 UTC (rev 70205)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua 2024-02-27 20:48:26 UTC (rev 70206)
@@ -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
Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty 2024-02-27 20:48:14 UTC (rev 70205)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty 2024-02-27 20:48:26 UTC (rev 70206)
@@ -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:
}
Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua 2024-02-27 20:48:14 UTC (rev 70205)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/lua-ul/pre_append_to_vlist_filter.lua 2024-02-27 20:48:26 UTC (rev 70206)
@@ -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,16 +26,12 @@
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
+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
-if not callback_define then
- error[[Unable to find callback.define]]
-end
local function filtered_append_to_vlist_filter(box,
locationcode,
More information about the tex-live-commits
mailing list.