summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-14 21:27:26 +0000
committerKarl Berry <karl@freefriends.org>2024-02-14 21:27:26 +0000
commitab29c2d5bbd39ba5d246a6260bc83acd7f5eca64 (patch)
treedda42be5857fbe3acdcc4f46dcf7dde9731d32b5 /Master/texmf-dist/tex
parentbf10c9df91f9956204ce8b9cfa145956024fe37f (diff)
lt3luabridge (14feb24)
git-svn-id: svn://tug.org/texlive/trunk@69856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty6
-rw-r--r--Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex30
-rw-r--r--Master/texmf-dist/tex/generic/lt3luabridge/t-lt3luabridge.tex2
3 files changed, 25 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty b/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty
index 0d64a58a9be..7f3827b207b 100644
--- a/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty
+++ b/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty
@@ -6,7 +6,7 @@
%%
%% lt3luabridge.dtx (with options: `latex-package')
%%
-%% Copyright (C) 2016-2022 Vít Novotný
+%% Copyright (C) 2016-2024 Vít Novotný
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -45,8 +45,8 @@
\RequirePackage{expl3}
\ProvidesExplPackage
{lt3luabridge}%
- {2022-10-24}%
- {2.0.2}%
+ {2024-02-14}%
+ {2.1.0}%
{An expl3 package that allows you to execute Lua code in LuaTeX or any other
TeX engine that exposes the shell}
\input lt3luabridge\relax
diff --git a/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex b/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex
index f9867e41cd6..256456220e0 100644
--- a/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex
+++ b/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex
@@ -6,7 +6,7 @@
%%
%% lt3luabridge.dtx (with options: `generic-package')
%%
-%% Copyright (C) 2016-2022 Vít Novotný
+%% Copyright (C) 2016-2024 Vít Novotný
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -150,7 +150,7 @@
\c_luabridge_default_error_output_filename_str
}
\cs_new:Nn
- \luabridge_now:n
+ \luabridge_tl_set:Nn
{
\iow_open:NV
\g_tmpa_iow
@@ -161,7 +161,7 @@
\g_luabridge_helper_script_filename_str
\tl_set:Nx
\l_tmpa_tl
- { \tl_to_str:n { #1 } }
+ { \tl_to_str:n { #2 } }
\regex_replace_all:nnN
{ [\\"] }
{ \\\0 }
@@ -212,9 +212,8 @@
\g_luabridge_helper_script_filename_str
}
{ }
- \l_tmpa_tl
+ #1
{
- \l_tmpa_tl
}
{
\msg_error:nn
@@ -277,11 +276,11 @@
{ \c_luabridge_method_directlua_int }
{
\cs_new:Nn
- \luabridge_now:n
+ \luabridge_tl_set:Nn
{
\tl_set:Nn
\l_tmpa_tl
- { #1 }
+ { #2 }
\tl_set:Nx
\l_tmpa_tl
{
@@ -299,13 +298,26 @@
end~
\exp_not:V \l_tmpa_tl
}
- \lua_now:V
- \l_tmpa_tl
+ \tl_set:Nf
+ #1
+ {
+ \lua_now:V
+ \l_tmpa_tl
+ }
}
\cs_generate_variant:Nn
\lua_now:n
{ V }
}
+\cs_new:Nn
+ \luabridge_now:n
+ {
+ \luabridge_tl_set:Nn
+ \l_tmpb_tl
+ { #1 }
+ \tl_use:N
+ \l_tmpb_tl
+ }
\cs_new_protected:Npn
\luabridgeExecute
#1
diff --git a/Master/texmf-dist/tex/generic/lt3luabridge/t-lt3luabridge.tex b/Master/texmf-dist/tex/generic/lt3luabridge/t-lt3luabridge.tex
index f142d0965f5..ac4eed7372b 100644
--- a/Master/texmf-dist/tex/generic/lt3luabridge/t-lt3luabridge.tex
+++ b/Master/texmf-dist/tex/generic/lt3luabridge/t-lt3luabridge.tex
@@ -6,7 +6,7 @@
%%
%% lt3luabridge.dtx (with options: `context-package')
%%
-%% Copyright (C) 2016-2022 Vít Novotný
+%% Copyright (C) 2016-2024 Vít Novotný
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c