texlive[73139] Master/texmf-dist: lt3luabridge (16dec24)

commits+karl at tug.org commits+karl at tug.org
Mon Dec 16 21:50:00 CET 2024


Revision: 73139
          https://tug.org/svn/texlive?view=revision&revision=73139
Author:   karl
Date:     2024-12-16 21:49:59 +0100 (Mon, 16 Dec 2024)
Log Message:
-----------
lt3luabridge (16dec24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md
    trunk/Master/texmf-dist/doc/generic/lt3luabridge/README.md
    trunk/Master/texmf-dist/doc/generic/lt3luabridge/lt3luabridge.pdf
    trunk/Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx
    trunk/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty
    trunk/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex

Modified: trunk/Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md	2024-12-16 20:49:43 UTC (rev 73138)
+++ trunk/Master/texmf-dist/doc/generic/lt3luabridge/CHANGES.md	2024-12-16 20:49:59 UTC (rev 73139)
@@ -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:

Modified: trunk/Master/texmf-dist/doc/generic/lt3luabridge/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/lt3luabridge/README.md	2024-12-16 20:49:43 UTC (rev 73138)
+++ trunk/Master/texmf-dist/doc/generic/lt3luabridge/README.md	2024-12-16 20:49:59 UTC (rev 73139)
@@ -19,7 +19,7 @@
 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

Modified: trunk/Master/texmf-dist/doc/generic/lt3luabridge/lt3luabridge.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx	2024-12-16 20:49:43 UTC (rev 73138)
+++ trunk/Master/texmf-dist/source/generic/lt3luabridge/lt3luabridge.dtx	2024-12-16 20:49:59 UTC (rev 73139)
@@ -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}

Modified: trunk/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty	2024-12-16 20:49:43 UTC (rev 73138)
+++ trunk/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.sty	2024-12-16 20:49:59 UTC (rev 73139)
@@ -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}

Modified: trunk/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex	2024-12-16 20:49:43 UTC (rev 73138)
+++ trunk/Master/texmf-dist/tex/generic/lt3luabridge/lt3luabridge.tex	2024-12-16 20:49:59 UTC (rev 73139)
@@ -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



More information about the tex-live-commits mailing list.