texlive[66762] Master/texmf-dist: luamplib (4apr23)
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 4 22:12:31 CEST 2023
Revision: 66762
http://tug.org/svn/texlive?view=revision&revision=66762
Author: karl
Date: 2023-04-04 22:12:31 +0200 (Tue, 04 Apr 2023)
Log Message:
-----------
luamplib (4apr23)
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 2023-04-04 20:12:17 UTC (rev 66761)
+++ trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS 2023-04-04 20:12:31 UTC (rev 66762)
@@ -1,5 +1,8 @@
History of the luamplib package
+2024/04/04 2.24.0
+ respect '-recorder' command-line option
+
2022/01/12 2.23.0
In parellel with the functionality introduced at previous version,
\everymplib (\everyendmplib as well, of course) supports
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 2023-04-04 20:12:17 UTC (rev 66761)
+++ trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx 2023-04-04 20:12:31 UTC (rev 66762)
@@ -1,6 +1,6 @@
% \iffalse meta-comment -- by the way, this file contains UTF-8
%
-% Copyright (C) 2008-2022 by Hans Hagen, Taco Hoekwater, Elie Roux,
+% Copyright (C) 2008-2023 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}%
- [2022/01/12 v2.23.0 Interface for using the mplib library]%
+ [2023/04/04 v2.24.0 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{2022/01/12 v2.23.0}
+% \date{2023/04/04 v2.24.0}
%
% \maketitle
%
@@ -446,8 +446,8 @@
luatexbase.provides_module {
name = "luamplib",
- version = "2.23.0",
- date = "2022/01/12",
+ version = "2.24.0",
+ date = "2023/04/04",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
}
@@ -720,17 +720,24 @@
local function finder(name, mode, ftype)
if mode == "w" then
+ if name and name ~= "mpout.log" then
+ kpse.record_output_file(name) -- recorder
+ end
return name
else
ftype = special_ftype[ftype] or ftype
local file = mpkpse:find_file(name,ftype)
if file then
- if not lfstouch or ftype ~= "mp" or noneedtoreplace[name] then
- return file
+ if lfstouch and ftype == "mp" and not noneedtoreplace[name] then
+ file = replaceinputmpfile(name,file)
end
- return replaceinputmpfile(name,file)
+ else
+ file = mpkpse:find_file(name, name:match("%a+$"))
end
- return mpkpse:find_file(name, name:match("%a+$"))
+ if file then
+ kpse.record_input_file(file) -- recorder
+ end
+ return file
end
end
luamplib.finder = finder
@@ -2056,7 +2063,7 @@
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2022/01/12 v2.23.0 mplib package for LuaTeX]
+ [2023/04/04 v2.24.0 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 2023-04-04 20:12:17 UTC (rev 66761)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua 2023-04-04 20:12:31 UTC (rev 66762)
@@ -11,8 +11,8 @@
luatexbase.provides_module {
name = "luamplib",
- version = "2.23.0",
- date = "2022/01/12",
+ version = "2.24.0",
+ date = "2023/04/04",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
}
@@ -232,17 +232,24 @@
local function finder(name, mode, ftype)
if mode == "w" then
+ if name and name ~= "mpout.log" then
+ kpse.record_output_file(name) -- recorder
+ end
return name
else
ftype = special_ftype[ftype] or ftype
local file = mpkpse:find_file(name,ftype)
if file then
- if not lfstouch or ftype ~= "mp" or noneedtoreplace[name] then
- return file
+ if lfstouch and ftype == "mp" and not noneedtoreplace[name] then
+ file = replaceinputmpfile(name,file)
end
- return replaceinputmpfile(name,file)
+ else
+ file = mpkpse:find_file(name, name:match("%a+$"))
end
- return mpkpse:find_file(name, name:match("%a+$"))
+ if file then
+ kpse.record_input_file(file) -- recorder
+ end
+ return file
end
end
luamplib.finder = finder
Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty 2023-04-04 20:12:17 UTC (rev 66761)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty 2023-04-04 20:12:31 UTC (rev 66762)
@@ -14,7 +14,7 @@
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2022/01/12 v2.23.0 mplib package for LuaTeX]
+ [2023/04/04 v2.24.0 mplib package for LuaTeX]
\ifx\newluafunction\@undefined
\input ltluatex
\fi
More information about the tex-live-commits
mailing list.