diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-26 21:52:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-26 21:52:52 +0000 |
commit | c49ba6283423ae1f96690a7249d1b5bf56e122ad (patch) | |
tree | f498808514729ed2c6f3b1fd7b3f0ce68f550fe0 /Master/texmf-dist/source | |
parent | 374e5c35ca246df280f4713c692f086b409009a6 (diff) |
luamplib (26mar15)
git-svn-id: svn://tug.org/texlive/trunk@36637 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/luatex/luamplib/luamplib.dtx | 17 |
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} |