summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luamplib/luamplib.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/generic/luamplib/luamplib.dtx')
-rw-r--r--macros/luatex/generic/luamplib/luamplib.dtx18
1 files changed, 9 insertions, 9 deletions
diff --git a/macros/luatex/generic/luamplib/luamplib.dtx b/macros/luatex/generic/luamplib/luamplib.dtx
index a0fdf46c3f..7c8bdd97f5 100644
--- a/macros/luatex/generic/luamplib/luamplib.dtx
+++ b/macros/luatex/generic/luamplib/luamplib.dtx
@@ -85,7 +85,7 @@ See source file '\inFileName' for licencing and contact information.
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{luamplib.drv}%
- [2024/03/23 v2.27.0 Interface for using the mplib library]%
+ [2024/03/29 v2.27.1 Interface for using the mplib library]%
\documentclass{ltxdoc}
\usepackage{metalogo,multicol,mdwlist,fancyvrb,xspace}
\usepackage[x11names]{xcolor}
@@ -153,7 +153,7 @@ See source file '\inFileName' for licencing and contact information.
% \author{Hans Hagen, Taco Hoekwater, Elie Roux, Philipp Gesang and Kim Dohyun\\
% Maintainer: LuaLaTeX Maintainers ---
% Support: \email{lualatex-dev@tug.org}}
-% \date{2024/03/23 v2.27.0}
+% \date{2024/03/29 v2.27.1}
%
% \maketitle
%
@@ -455,21 +455,21 @@ See source file '\inFileName' for licencing and contact information.
luatexbase.provides_module {
name = "luamplib",
- version = "2.27.0",
- date = "2024/03/23",
+ version = "2.27.1",
+ date = "2024/03/29",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
}
local format, abs = string.format, math.abs
local err = function(...)
- return luatexbase.module_error ("luamplib", select("#",...) > 1 and format(...) or ...)
+ return luatexbase.module_error ("luamplib", format(...))
end
local warn = function(...)
- return luatexbase.module_warning("luamplib", select("#",...) > 1 and format(...) or ...)
+ return luatexbase.module_warning("luamplib", format(...))
end
local info = function(...)
- return luatexbase.module_info ("luamplib", select("#",...) > 1 and format(...) or ...)
+ return luatexbase.module_info ("luamplib", format(...))
end
% \end{macrocode}
@@ -1361,7 +1361,7 @@ luamplib.everyendmplib = { [""] = "" }
local function process_mplibcode (data, instance)
instancename = instance
- texboxes.localid = 4096
+ texboxes.locals, texboxes.localid = {}, 4096
% \end{macrocode}
%
@@ -2193,7 +2193,7 @@ luamplib.colorconverter = colorconverter
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2024/03/23 v2.27.0 mplib package for LuaTeX]
+ [2024/03/29 v2.27.1 mplib package for LuaTeX]
\ifx\newluafunction\@undefined
\input ltluatex
\fi