summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-12-16 20:49:59 +0000
committerKarl Berry <karl@freefriends.org>2024-12-16 20:49:59 +0000
commitabe5b01dbf38c618ea2944df2e22c031f353c3a0 (patch)
treecbfff9cfaba44a6beabf7dfe6b32e0f33c334591
parent5efe7bd1b0fec913bf940d73c205a34d8e25d4aa (diff)
lt3luabridge (16dec24)
git-svn-id: svn://tug.org/texlive/trunk@73139 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md12
-rw-r--r--Master/texmf-dist/doc/generic/lt3luabridge/README.md2
-rw-r--r--Master/texmf-dist/doc/generic/lt3luabridge/lt3luabridge.pdfbin505015 -> 505337 bytes
-rw-r--r--Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx15
-rw-r--r--Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty2
-rw-r--r--Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex11
6 files changed, 30 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md b/Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md
index 470ad7441dc..5eb173ce792 100644
--- a/Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md
+++ b/Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md
@@ -1,5 +1,17 @@
# Changes
+## 2.2.1 (2024-12-16)
+
+Fixes:
+
+- Prevent unintended expansion of `\input` and similar commands in
+ `\luabridge_tl_set:Nn` in LuaTeX. (witiko/markdown#530, #29)
+
+Continuous Integration:
+
+- Use explcheck to check expl3 code in the continuous integration.
+ (witiko/markdown#535, #30)
+
## 2.2.0 (2024-07-03)
Development:
diff --git a/Master/texmf-dist/doc/generic/lt3luabridge/README.md b/Master/texmf-dist/doc/generic/lt3luabridge/README.md
index 2a8f4e5125f..4045312ae83 100644
--- a/Master/texmf-dist/doc/generic/lt3luabridge/README.md
+++ b/Master/texmf-dist/doc/generic/lt3luabridge/README.md
@@ -19,7 +19,7 @@ lt3luabridge was previously part of [the Markdown package for TeX][2], where it
has been battle-tested since 2016. [Since 2022][3], lt3luabridge has been
available as a separate package.
- [1]: http://mirrors.ctan.org/macros/latex/contrib/l3kernel/expl3.pdf
+ [1]: https://mirrors.ctan.org/macros/latex/required/l3kernel/expl3.pdf
[2]: https://www.ctan.org/pkg/markdown
[3]: https://github.com/witiko/markdown/pull/141
[4]: https://github.com/Witiko/lt3luabridge/actions
diff --git a/Master/texmf-dist/doc/generic/lt3luabridge/lt3luabridge.pdf b/Master/texmf-dist/doc/generic/lt3luabridge/lt3luabridge.pdf
index 6370f4dbccc..afa9d53571b 100644
--- a/Master/texmf-dist/doc/generic/lt3luabridge/lt3luabridge.pdf
+++ b/Master/texmf-dist/doc/generic/lt3luabridge/lt3luabridge.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx b/Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx
index d8bb7a3beec..9844586f565 100644
--- a/Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx
+++ b/Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Released 2024-07-03}
+% \date{Released 2024-12-16}
%
% \maketitle
%
@@ -186,7 +186,7 @@
% \begin{macrocode}
%<@@=luabridge>
%<*generic-package>
-\ifx\ExplSyntaxOn\undefined
+\expandafter\ifx\csname ExplSyntaxOn\endcsname\relax
\input expl3-generic\relax
\fi
\ExplSyntaxOn
@@ -516,11 +516,14 @@
end~
\exp_not:V \l_tmpa_tl
}
- \tl_set:Nf
+ \tl_set:No
#1
{
- \lua_now:V
- \l_tmpa_tl
+ \directlua
+ {
+ \tl_use:N
+ \l_tmpa_tl
+ }
}
}
\cs_generate_variant:Nn
@@ -559,7 +562,7 @@
\RequirePackage{expl3}
\ProvidesExplPackage
{lt3luabridge}%
- {2024-07-03}%
+ {2024-12-16}%
{2.2.0}%
{An expl3 package that allows you to execute Lua code in LuaTeX or any other
TeX engine that exposes the shell}
diff --git a/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty b/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty
index 61d4f2d20c2..d58aa9afa5b 100644
--- a/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty
+++ b/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty
@@ -45,7 +45,7 @@
\RequirePackage{expl3}
\ProvidesExplPackage
{lt3luabridge}%
- {2024-07-03}%
+ {2024-12-16}%
{2.2.0}%
{An expl3 package that allows you to execute Lua code in LuaTeX or any other
TeX engine that exposes the shell}
diff --git a/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex b/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex
index 26d3dc6a0b9..76ffbe49fcd 100644
--- a/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex
+++ b/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex
@@ -42,7 +42,7 @@
%%
%% The names of the source files used are shown above.
%%
-\ifx\ExplSyntaxOn\undefined
+\expandafter\ifx\csname ExplSyntaxOn\endcsname\relax
\input expl3-generic\relax
\fi
\ExplSyntaxOn
@@ -351,11 +351,14 @@
end~
\exp_not:V \l_tmpa_tl
}
- \tl_set:Nf
+ \tl_set:No
#1
{
- \lua_now:V
- \l_tmpa_tl
+ \directlua
+ {
+ \tl_use:N
+ \l_tmpa_tl
+ }
}
}
\cs_generate_variant:Nn