diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-26 03:00:51 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-26 03:00:51 +0000 |
commit | 2eae12e56ca15396e8ff63b3a9b0d450d675dc5e (patch) | |
tree | 7e6e61de2a219478694da749de27e15fe7c69ac8 /macros/luatex/generic/luamplib | |
parent | 768d5db2700eb846ed6616dc4839993f193b22cd (diff) |
CTAN sync 202401260300
Diffstat (limited to 'macros/luatex/generic/luamplib')
-rw-r--r-- | macros/luatex/generic/luamplib/NEWS | 3 | ||||
-rw-r--r-- | macros/luatex/generic/luamplib/luamplib.dtx | 20 | ||||
-rw-r--r-- | macros/luatex/generic/luamplib/luamplib.pdf | bin | 153614 -> 153451 bytes |
3 files changed, 11 insertions, 12 deletions
diff --git a/macros/luatex/generic/luamplib/NEWS b/macros/luatex/generic/luamplib/NEWS index 5baf7e6a34..d56d4df857 100644 --- a/macros/luatex/generic/luamplib/NEWS +++ b/macros/luatex/generic/luamplib/NEWS @@ -1,5 +1,8 @@ History of the luamplib package +2024/01/25 2.25.3 + * protect "..." even if textextlabel is disabled (revert part of v2.25.0) + 2023/12/08 2.25.2 * info instead of warning when compiling with dviluatex 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 diff --git a/macros/luatex/generic/luamplib/luamplib.pdf b/macros/luatex/generic/luamplib/luamplib.pdf Binary files differindex a8022cc75b..e46210d999 100644 --- a/macros/luatex/generic/luamplib/luamplib.pdf +++ b/macros/luatex/generic/luamplib/luamplib.pdf |