texlive[69592] Master/texmf-dist: luamplib (25jan24)

commits+karl at tug.org commits+karl at tug.org
Thu Jan 25 22:22:51 CET 2024


Revision: 69592
          https://tug.org/svn/texlive?view=revision&revision=69592
Author:   karl
Date:     2024-01-25 22:22:50 +0100 (Thu, 25 Jan 2024)
Log Message:
-----------
luamplib (25jan24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS
    trunk/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
    trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
    trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
    trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty

Modified: trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS	2024-01-25 21:22:39 UTC (rev 69591)
+++ trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS	2024-01-25 21:22:50 UTC (rev 69592)
@@ -1,5 +1,8 @@
                        History of the luamplib package
 
+2024/01/25 2.25.3
+    * protect "..." even if textextlabel is disabled (revert part of v2.25.0)
+
 2023/12/08 2.25.2
     * info instead of warning when compiling with dviluatex
 

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

Modified: trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
===================================================================
--- trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx	2024-01-25 21:22:39 UTC (rev 69591)
+++ trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx	2024-01-25 21:22:50 UTC (rev 69592)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment -- by the way, this file contains UTF-8
 %
-% Copyright (C) 2008-2023 by Hans Hagen, Taco Hoekwater, Elie Roux,
+% Copyright (C) 2008-2024 by Hans Hagen, Taco Hoekwater, Elie Roux,
 % Manuel Pégourié-Gonnard, Philipp Gesang and Kim Dohyun.
 % Currently maintained by the LuaLaTeX development team.
 % Support: <lualatex-dev at tug.org>
@@ -85,7 +85,7 @@
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{luamplib.drv}%
-  [2023/12/08 v2.25.2 Interface for using the mplib library]%
+  [2024/01/25 v2.25.3 Interface for using the mplib library]%
 \documentclass{ltxdoc}
 \usepackage{metalogo,multicol,mdwlist,fancyvrb,xspace}
 \usepackage[x11names]{xcolor}
@@ -153,7 +153,7 @@
 % \author{Hans Hagen, Taco Hoekwater, Elie Roux, Philipp Gesang and Kim Dohyun\\
 % Maintainer: LuaLaTeX Maintainers ---
 % Support: \email{lualatex-dev at tug.org}}
-% \date{2023/12/08 v2.25.2}
+% \date{2024/01/25 v2.25.3}
 %
 % \maketitle
 %
@@ -446,8 +446,8 @@
 
 luatexbase.provides_module {
   name          = "luamplib",
-  version       = "2.25.2",
-  date          = "2023/12/08",
+  version       = "2.25.3",
+  date          = "2024/01/25",
   description   = "Lua package to typeset Metapost with LuaTeX's MPLib.",
 }
 
@@ -1311,9 +1311,7 @@
 %    It has turned out that no comment sign is allowed.
 %    \begin{macrocode}
   if not luamplib.verbatiminput then
-    if luamplib.textextlabel then
-      data = data:gsub("\".-\"", protect_expansion)
-    end
+    data = data:gsub("\".-\"", protect_expansion)
 
     data = data:gsub("\\%%", "\0PerCent\0")
     data = data:gsub("%%.-\n","")
@@ -1326,9 +1324,7 @@
 %    Next line to address issue \#55
 %    \begin{macrocode}
     data = data:gsub("##", "#")
-    if luamplib.textextlabel then
-      data = data:gsub("\".-\"", unprotect_expansion)
-    end
+    data = data:gsub("\".-\"", unprotect_expansion)
     data = data:gsub(btex_etex, function(str)
       return format("btex %s etex", unprotect_expansion(str))
     end)
@@ -2065,7 +2061,7 @@
 \else
   \NeedsTeXFormat{LaTeX2e}
   \ProvidesPackage{luamplib}
-    [2023/12/08 v2.25.2 mplib package for LuaTeX]
+    [2024/01/25 v2.25.3 mplib package for LuaTeX]
   \ifx\newluafunction\@undefined
   \input ltluatex
   \fi

Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua	2024-01-25 21:22:39 UTC (rev 69591)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua	2024-01-25 21:22:50 UTC (rev 69592)
@@ -11,8 +11,8 @@
 
 luatexbase.provides_module {
   name          = "luamplib",
-  version       = "2.25.2",
-  date          = "2023/12/08",
+  version       = "2.25.3",
+  date          = "2024/01/25",
   description   = "Lua package to typeset Metapost with LuaTeX's MPLib.",
 }
 
@@ -674,9 +674,7 @@
   end)
 
   if not luamplib.verbatiminput then
-    if luamplib.textextlabel then
-      data = data:gsub("\".-\"", protect_expansion)
-    end
+    data = data:gsub("\".-\"", protect_expansion)
 
     data = data:gsub("\\%%", "\0PerCent\0")
     data = data:gsub("%%.-\n","")
@@ -685,9 +683,7 @@
     run_tex_code(format("\\mplibtmptoks\\expanded{{%s}}",data))
     data = texgettoks"mplibtmptoks"
     data = data:gsub("##", "#")
-    if luamplib.textextlabel then
-      data = data:gsub("\".-\"", unprotect_expansion)
-    end
+    data = data:gsub("\".-\"", unprotect_expansion)
     data = data:gsub(btex_etex, function(str)
       return format("btex %s etex", unprotect_expansion(str))
     end)

Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty	2024-01-25 21:22:39 UTC (rev 69591)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty	2024-01-25 21:22:50 UTC (rev 69592)
@@ -14,7 +14,7 @@
 \else
   \NeedsTeXFormat{LaTeX2e}
   \ProvidesPackage{luamplib}
-    [2023/12/08 v2.25.2 mplib package for LuaTeX]
+    [2024/01/25 v2.25.3 mplib package for LuaTeX]
   \ifx\newluafunction\@undefined
   \input ltluatex
   \fi



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