summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-04-25 20:01:30 +0000
committerKarl Berry <karl@freefriends.org>2021-04-25 20:01:30 +0000
commit0cbcfc232fca1b98c3123303779cb1dd6b116161 (patch)
tree9c0a53dc18de7ba2c0e8b04fb06a256a6cfd549c /Master/texmf-dist/tex
parent9a7fbd3067b48f35e170f7ce637050f224b30453 (diff)
lua-ul (25apr21)
git-svn-id: svn://tug.org/texlive/trunk@58988 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.lua4
-rw-r--r--Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty2
3 files changed, 6 insertions, 2 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 f406b6a0d15..fe5c1b4f754 100644
--- a/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty
+++ b/Master/texmf-dist/tex/lualatex/lua-ul/docstrip-luacode.sty
@@ -13,7 +13,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage
{docstrip-luacode}
- [2021/02/15 v0.1.2 Directly execute Lua code from DocStrip files]
+ [2021/04/25 v0.1.3 Directly execute Lua code from DocStrip files]
\expanded{%
\def\noexpand\docstrip@luacode@argscanner#1\directlua{
tex.sprint(\the\catcodetable@string, "\string\\end{docstrip-luacode}")
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 45518e83542..204f9b400cc 100644
--- a/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua
+++ b/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.lua
@@ -25,6 +25,7 @@ local glue_t = node.id'glue'
local properties = node.direct.get_properties_table()
+local current_attr = node.current_attr
local has_attribute = node.direct.has_attribute
local set_attribute = node.direct.set_attribute
local dimensions = node.direct.dimensions
@@ -455,6 +456,9 @@ luatexbase.add_to_callback('pre_append_to_vlist_filter',
end, 'add underlines to list')
luatexbase.add_to_callback('hpack_filter',
function(head, group, size, pack, dir, attr)
+ if group == 'align_set' or group == 'fin_row' then
+ attr = current_attr()
+ end
head = todirect(head)
for i = 1, #underlineattrs do
local ulattr = underlineattrs[i]
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 a36cdec1b44..8c18e3506c4 100644
--- a/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty
+++ b/Master/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty
@@ -20,7 +20,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage
{lua-ul}
- [2021/02/15 v0.1.2 Underlining and related functionality for LuaTeX]
+ [2021/04/25 v0.1.3 Underlining and related functionality for LuaTeX]
\ifx\directlua\undefined
\PackageError{lua-ul}{LuaLaTeX required}%