summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-06 23:23:06 +0000
committerKarl Berry <karl@freefriends.org>2015-01-06 23:23:06 +0000
commit74e692423a7de7dd8025088ba676249e85443d9e (patch)
tree5c8d663c16667e533edbd602cf6096505ebb5c82 /Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
parentd9c7d6c59e9daf56e5fda7f969e0d6e90146d8d3 (diff)
luamplib (6jan15)
git-svn-id: svn://tug.org/texlive/trunk@35974 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luamplib/luamplib.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.sty12
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
index ffee72280ff..60744698c6a 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
@@ -14,7 +14,7 @@
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2014/07/04 v2.8.1 mplib package for LuaTeX]
+ [2015/01/05 v2.9.0 mplib package for LuaTeX]
\RequirePackage{luatexbase-modutils}
\fi
\RequireLuaModule{luamplib}
@@ -168,6 +168,16 @@
\fi
\endgroup
}
+\def\mplibcodeinherit#1{%
+ \begingroup
+ \def\tempa{enable}\def\tempb{#1}%
+ \ifx\tempa\tempb
+ \directlua{luamplib.codeinherit = true}%
+ \else
+ \directlua{luamplib.codeinherit = false}%
+ \fi
+ \endgroup
+}
\ifx\mplibscratchbox\undefined \newbox\mplibscratchbox \fi
\def\mplibstarttoPDF#1#2#3#4{%
\hbox\bgroup