summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luamplib
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-23 22:40:49 +0000
committerKarl Berry <karl@freefriends.org>2021-11-23 22:40:49 +0000
commitcc0da60e5310eafad3b5d0e836433c8484ed5a18 (patch)
tree4d3e240359a256691ec7b18b27e5a1fa92ae99d4 /Master/texmf-dist/tex/luatex/luamplib
parent5371b53200e6d7557e9333e99c9ea68605fd887a (diff)
luamplib (23nov21)
git-svn-id: svn://tug.org/texlive/trunk@61133 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luamplib')
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.lua13
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.sty2
2 files changed, 11 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
index f7cc692f6fa..430d2991efa 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
@@ -11,8 +11,8 @@
luatexbase.provides_module {
name = "luamplib",
- version = "2.21.0",
- date = "2021/09/16",
+ version = "2.21.1",
+ date = "2021/11/23",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
}
@@ -216,7 +216,14 @@ local function replaceinputmpfile (name,file)
return newfile
end
-local mpkpse = kpse.new(arg[0], "mpost")
+local mpkpse
+do
+ local exe = 0
+ while arg[exe-1] do
+ exe = exe-1
+ end
+ mpkpse = kpse.new(arg[exe], "mpost")
+end
local special_ftype = {
pfb = "type1 fonts",
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
index e33c7b6658f..8d91224481f 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
@@ -14,7 +14,7 @@
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2021/09/16 v2.21.0 mplib package for LuaTeX]
+ [2021/11/23 v2.21.1 mplib package for LuaTeX]
\ifx\newluafunction\@undefined
\input ltluatex
\fi