summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/luatex/luamplib/luamplib.dtx')
-rw-r--r--Master/texmf-dist/source/luatex/luamplib/luamplib.dtx17
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx b/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
index 33424548e4a..8d4613526e7 100644
--- a/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
+++ b/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
@@ -85,7 +85,7 @@ See source file '\inFileName' for licencing and contact information.
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{luamplib.drv}%
- [2015/03/20 v2.10.0 Interface for using the mplib library]%
+ [2015/03/26 v2.10.1 Interface for using the mplib library]%
\documentclass{ltxdoc}
\usepackage{metalogo,multicol,mdwlist,fancyvrb,xspace}
\usepackage[x11names]{xcolor}
@@ -154,7 +154,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{2015/03/20 v2.10.0}
+% \date{2015/03/26 v2.10.1}
%
% \maketitle
%
@@ -365,8 +365,8 @@ luamplib.lastlog = ""
local err, warn, info, log = luatexbase.provides_module({
name = "luamplib",
- version = "2.10.0",
- date = "2015/03/20",
+ version = "2.10.1",
+ date = "2015/03/26",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
})
@@ -553,6 +553,7 @@ local esclbr = "!!!!!LEFTBRCE!!!!!"
local escrbr = "!!!!!RGHTBRCE!!!!!"
local escshar = "!!!!!SHARPE!!!!!"
local escpcnt = "!!!!!PERCENT!!!!!"
+local eschash = "!!!!!HASH!!!!!"
local begname = "%f[A-Z_a-z]"
local endname = "%f[^A-Z_a-z]"
@@ -1091,6 +1092,12 @@ local function protecttextext(data)
cnt,opt,str)
return format("\\csname mpxcolor%i\\endcsname",cnt)
end)
+% \end{macrocode}
+% Next three lines to address bug \#55
+% \begin{macrocode}
+ data = stringgsub(data, "([`\\])#", "%1"..eschash)
+ data = stringgsub(data, "#", "##")
+ data = stringgsub(data, eschash, "#")
texsprint(data)
end
@@ -1651,7 +1658,7 @@ luamplib.colorconverter = colorconverter
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2015/03/20 v2.10.0 mplib package for LuaTeX]
+ [2015/03/26 v2.10.1 mplib package for LuaTeX]
\RequirePackage{luatexbase-modutils}
\fi
% \end{macrocode}