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.dtx20
1 files changed, 8 insertions, 12 deletions
diff --git a/macros/luatex/generic/luamplib/luamplib.dtx b/macros/luatex/generic/luamplib/luamplib.dtx
index 023c73b933..3b6aad6e35 100644
--- a/macros/luatex/generic/luamplib/luamplib.dtx
+++ b/macros/luatex/generic/luamplib/luamplib.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment -- by the way, this file contains UTF-8
%
-% Copyright (C) 2008-2023 by Hans Hagen, Taco Hoekwater, Elie Roux,
+% Copyright (C) 2008-2024 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@tug.org>
@@ -85,7 +85,7 @@ See source file '\inFileName' for licencing and contact information.
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{luamplib.drv}%
- [2023/12/08 v2.25.2 Interface for using the mplib library]%
+ [2024/01/25 v2.25.3 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{2023/12/08 v2.25.2}
+% \date{2024/01/25 v2.25.3}
%
% \maketitle
%
@@ -446,8 +446,8 @@ See source file '\inFileName' for licencing and contact information.
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.",
}
@@ -1311,9 +1311,7 @@ local function process_mplibcode (data, instancename)
% It has turned out that no comment sign is allowed.
% \begin{macrocode}
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","")
@@ -1326,9 +1324,7 @@ local function process_mplibcode (data, instancename)
% Next line to address issue \#55
% \begin{macrocode}
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)
@@ -2065,7 +2061,7 @@ luamplib.colorconverter = colorconverter
\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