summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-25 21:22:50 +0000
committerKarl Berry <karl@freefriends.org>2024-01-25 21:22:50 +0000
commitec7997d53b3bf1a5769d2704c3d24708fc539ed7 (patch)
treecb8f32f1c7a01a0db8e31e81d3873c3fc213ccbc /Master/texmf-dist/tex/luatex
parentab68e98075c1477689fcc79e76edc3074c57ade7 (diff)
luamplib (25jan24)
git-svn-id: svn://tug.org/texlive/trunk@69592 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.lua12
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.sty2
2 files changed, 5 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
index 039484a22ae..2654bd28e33 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.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 @@ local function process_mplibcode (data, instancename)
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 @@ local function process_mplibcode (data, instancename)
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)
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
index e8304327ee4..06a8f321ef8 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}
- [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