[latex3-commits] [latex3/latex3] main: Use @@ convention in backend Lua code (487254d46)
github at latex-project.org
github at latex-project.org
Wed Nov 8 10:51:14 CET 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/487254d4648a9dfd224f06631af4978d339dc9a3
>---------------------------------------------------------------
commit 487254d4648a9dfd224f06631af4978d339dc9a3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Nov 8 09:51:14 2023 +0000
Use @@ convention in backend Lua code
>---------------------------------------------------------------
487254d4648a9dfd224f06631af4978d339dc9a3
l3backend/l3backend-color.dtx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3backend/l3backend-color.dtx b/l3backend/l3backend-color.dtx
index 64c012e22..e3eba796b 100644
--- a/l3backend/l3backend-color.dtx
+++ b/l3backend/l3backend-color.dtx
@@ -1297,7 +1297,7 @@ if luaotfload and luaotfload.set_transparent_colorstack then
token.new(0, 2),
token.create'l_tmpa_tl',
token.create'exp_after:wN',
- token.create'__color_select:nn',
+ token.create'@@_select:nn',
token.create'l_tmpa_tl',
token.new(0, 2),
}
@@ -1309,7 +1309,7 @@ if luaotfload and luaotfload.set_transparent_colorstack then
if html then return html end
% If no l3color named color with this name is known, check for defined xcolor colors
- local l3color_prop = token.get_macro(string.format('l__color_named_%s_prop', value))
+ local l3color_prop = token.get_macro(string.format('l_@@_named_%s_prop', value))
if l3color_prop == nil or l3color_prop == '' then
local legacy_color_macro = token.create(string.format('\\color@%s', value))
if legacy_color_macro.cmdname ~= 'undefined_cs' then
More information about the latex3-commits
mailing list.