diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgfplots/pgfplots.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pgfplots/pgfplots.sty | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/pgfplots/pgfplots.sty b/Master/texmf-dist/tex/latex/pgfplots/pgfplots.sty index 4517dd035bc..4486315128a 100644 --- a/Master/texmf-dist/tex/latex/pgfplots/pgfplots.sty +++ b/Master/texmf-dist/tex/latex/pgfplots/pgfplots.sty @@ -48,6 +48,21 @@ \RequirePackage{tikz} +% This is *identical* to \pgfutil@IfUndefined . I copied it here +% because pgf up to and including version 2.10 does not contain it. +\def\pgfplotsutil@IfUndefined#1{% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname#1\endcsname\relax + \expandafter\pgfutil@firstoftwo + \else + \expandafter\pgfutil@secondoftwo + \fi +} +\pgfplotsutil@IfUndefined{directlua}{}{% + % I need \newcatcodetable + \RequirePackage{luatexbase}% +}% + \def\pgfplots@texdist@protect{\protect}% \input pgfplots.code.tex |