texlive[73080] Master/texmf-dist: luamplib (9dec24)

commits+karl at tug.org commits+karl at tug.org
Mon Dec 9 22:13:19 CET 2024


Revision: 73080
          https://tug.org/svn/texlive?view=revision&revision=73080
Author:   karl
Date:     2024-12-09 22:13:19 +0100 (Mon, 09 Dec 2024)
Log Message:
-----------
luamplib (9dec24)

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-12-09 21:13:06 UTC (rev 73079)
+++ trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS	2024-12-09 21:13:19 UTC (rev 73080)
@@ -1,5 +1,8 @@
                        History of the luamplib package
 
+2024/12/09 2.36.1
+   * fix a bug of previous release: missing 'local' in front of 'os'
+
 2024/12/08 2.36.0
    * <path>|<textual picture> withshadingmethod <string>,
    where <string> shall be "linear" or "circular", gives shading effect to

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-12-09 21:13:06 UTC (rev 73079)
+++ trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx	2024-12-09 21:13:19 UTC (rev 73080)
@@ -85,7 +85,7 @@
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{luamplib.drv}%
-  [2024/12/08 v2.36.0 Interface for using the mplib library]%
+  [2024/12/09 v2.36.1 Interface for using the mplib library]%
 \documentclass{ltxdoc}
 \usepackage{metalogo,multicol,xspace}
 \usepackage[x11names]{xcolor}
@@ -155,7 +155,7 @@
 % \author{Hans Hagen, Taco Hoekwater, Elie Roux, Philipp Gesang and Kim Dohyun\\
 % Current Maintainer: Kim Dohyun\\
 % Support: \url{https://github.com/lualatex/luamplib}}
-% \date{2024/12/08 v2.36.0}
+% \date{2024/12/09 v2.36.1}
 %
 % \maketitle
 %
@@ -1133,8 +1133,8 @@
 
 luatexbase.provides_module {
   name          = "luamplib",
-  version       = "2.36.0",
-  date          = "2024/12/08",
+  version       = "2.36.1",
+  date          = "2024/12/09",
   description   = "Lua package to typeset Metapost with LuaTeX's MPLib.",
 }
 
@@ -3627,7 +3627,7 @@
 local function do_preobj_shading (object, prescript)
   if not prescript or not prescript.sh_operand_type then return end
   local on = do_preobj_SH(object, prescript)
-  os = format("/PatternType 2/Shading %s", format(pdfetcs.resfmt, on))
+  local os = format("/PatternType 2/Shading %s", format(pdfetcs.resfmt, on))
   on = update_pdfobjs()
   if pdfmode then
     put2output(tableconcat{ "\\latelua{ luamplib.dolatelua(",on,",[[",os,"]]) }" })
@@ -4468,7 +4468,7 @@
 %    \begin{macrocode}
   \NeedsTeXFormat{LaTeX2e}
   \ProvidesPackage{luamplib}
-    [2024/12/08 v2.36.0 mplib package for LuaTeX]
+    [2024/12/09 v2.36.1 mplib package for LuaTeX]
 \fi
 \ifdefined\newluafunction\else
   \input ltluatex

Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua	2024-12-09 21:13:06 UTC (rev 73079)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua	2024-12-09 21:13:19 UTC (rev 73080)
@@ -11,8 +11,8 @@
 
 luatexbase.provides_module {
   name          = "luamplib",
-  version       = "2.36.0",
-  date          = "2024/12/08",
+  version       = "2.36.1",
+  date          = "2024/12/09",
   description   = "Lua package to typeset Metapost with LuaTeX's MPLib.",
 }
 
@@ -2177,7 +2177,7 @@
 local function do_preobj_shading (object, prescript)
   if not prescript or not prescript.sh_operand_type then return end
   local on = do_preobj_SH(object, prescript)
-  os = format("/PatternType 2/Shading %s", format(pdfetcs.resfmt, on))
+  local os = format("/PatternType 2/Shading %s", format(pdfetcs.resfmt, on))
   on = update_pdfobjs()
   if pdfmode then
     put2output(tableconcat{ "\\latelua{ luamplib.dolatelua(",on,",[[",os,"]]) }" })

Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty	2024-12-09 21:13:06 UTC (rev 73079)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty	2024-12-09 21:13:19 UTC (rev 73080)
@@ -11,7 +11,7 @@
 \ifcsname ProvidesPackage\endcsname
   \NeedsTeXFormat{LaTeX2e}
   \ProvidesPackage{luamplib}
-    [2024/12/08 v2.36.0 mplib package for LuaTeX]
+    [2024/12/09 v2.36.1 mplib package for LuaTeX]
 \fi
 \ifdefined\newluafunction\else
   \input ltluatex



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