diff options
author | Karl Berry <karl@freefriends.org> | 2014-03-09 21:30:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-03-09 21:30:34 +0000 |
commit | 630961707af41c344d014c8589d4b793069a98fc (patch) | |
tree | 418a08b198a3cf6e6f55acd6bb36066c3bf8f8db /Master/texmf-dist/tex/luatex/luamplib/luamplib.sty | |
parent | 287d865990e5823a75263a98624f9f4bd89192a4 (diff) |
luamplib (9mar14)
git-svn-id: svn://tug.org/texlive/trunk@33135 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.sty | 12 |
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 be85a430f32..7d09685e809 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/03/01 v2.5.3 mplib package for LuaTeX] + [2014/03/08 v2.6.0 mplib package for LuaTeX] \RequirePackage{luatexbase-modutils} \RequirePackage{pdftexcmds} \fi @@ -145,6 +145,16 @@ \fi } \def\mplibcachedir#1{\directlua{luamplib.getcachedir("\unexpanded{#1}")}} +\def\mplibtextextlabel#1{% + \begingroup + \def\tempa{enable}\def\tempb{#1}% + \ifx\tempa\tempb + \directlua{luamplib.textextlabel = true}% + \else + \directlua{luamplib.textextlabel = false}% + \fi + \endgroup +} \ifx\mplibscratchbox\undefined \newbox\mplibscratchbox \fi \def\mplibstarttoPDF#1#2#3#4{% \hbox\bgroup |