summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luamplib
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-12 22:59:02 +0000
committerKarl Berry <karl@freefriends.org>2010-09-12 22:59:02 +0000
commit2468fdd0a97481e170ef878e0839faf948be681a (patch)
tree4f0b938f3d292a1a3436edae284f5d1f56fc5ff5 /Master/texmf-dist/tex/luatex/luamplib
parent6522724bb7b7c44c0ba5f960df0d434a5d0d6bd5 (diff)
luamplib 1.04 (3aug10)
git-svn-id: svn://tug.org/texlive/trunk@19691 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luamplib')
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua2
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.lua6
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.sty6
3 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua
index 7d3d611110c..4881dcd33a2 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua
@@ -49,7 +49,7 @@ makeformat = function (name, mem_name)
end
end
-makeformat("plain", "luatex-plain.mem")
+makeformat("plain", "mplib-luatex.mem")
--
-- End of File `luamplib-createmem.lua'.
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
index 588ad9ab5ca..b92db79f429 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
@@ -23,8 +23,8 @@ module('luamplib', package.seeall)
luamplib.module = {
name = "luamplib",
- version = 1.03,
- date = "2010/05/10",
+ version = 1.04,
+ date = "2010/08/02",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
author = "Hans Hagen, Taco Hoekwater & Elie Roux",
copyright = "ConTeXt Development Team & Elie Roux",
@@ -38,7 +38,7 @@ local format, concat, abs = string.format, table.concat, math.abs
luamplib.currentformat = "plain"
-luamplib.currentmem = "mpost"
+luamplib.currentmem = "mplib-luatex"
local currentformat = luamplib.currentformat
local currentmem = luamplib.currentmem
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
index ce0a7cbf487..5d450f8dbe5 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
@@ -19,12 +19,13 @@
%% luamplib.sty, luamplib.lua, luamplib-createmem.lua and luamplib.pdf.
%%
+\bgroup\expandafter\expandafter\expandafter\egroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
\input luatexbase-modutils.sty
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2010/05/10 v1.03 mplib package for LuaTeX.]
+ [2010/08/02 v1.04 mplib package for LuaTeX.]
\RequirePackage{luatexbase-modutils}
\RequirePackage{fancyvrb}
\fi
@@ -53,6 +54,7 @@
\fi
+\bgroup\expandafter\expandafter\expandafter\egroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
\def\mplibsetupcatcodes{
@@ -108,7 +110,7 @@
}{%
\end{SaveVerbatim}%
\mplibaddlines{memoire}%
- \luadirect{luamplib.processlines()}%
+ \directlua{luamplib.processlines()}%
}
\fi