summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luamplib/luamplib.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.sty14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
index dd60059bfbf..ce0a7cbf487 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
@@ -20,12 +20,12 @@
%%
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
- \input luatextra.sty
+ \input luatexbase-modutils.sty
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2009/10/06 v1.02 mplib package for LuaTeX.]
- \RequirePackage{luatextra}
+ [2010/05/10 v1.03 mplib package for LuaTeX.]
+ \RequirePackage{luatexbase-modutils}
\RequirePackage{fancyvrb}
\fi
@@ -33,9 +33,9 @@
\luatexUseModule{luamplib}
-\def\mplibsetformat#1{\directlua0{luamplib.setformat([[#1]])}}
+\def\mplibsetformat#1{\directlua{luamplib.setformat([[#1]])}}
-\def\mplibsetmemfile#1{\directlua0{luamplib.setmemfile([[#1]])}}
+\def\mplibsetmemfile#1{\directlua{luamplib.setmemfile([[#1]])}}
\ifnum\pdfoutput>0
@@ -72,7 +72,7 @@
}
\long\def\mplibprocess#1{%
- \luadirect{luamplib.process([[#1]])}%
+ \directlua{luamplib.process([[#1]])}%
}
\else
@@ -93,7 +93,7 @@
\begingroup %
\FV@hack %
\def\FV@ProcessLine##1{%
- \luadirect{luamplib.addline([[##1]])}%
+ \directlua{luamplib.addline([[##1]])}%
}%
\csname FV@SV@#1\endcsname %
\endgroup %