diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.external.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.external.code.tex | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.external.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.external.code.tex index 41fc81ba6f1..3259029cc67 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.external.code.tex +++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.external.code.tex @@ -33,6 +33,7 @@ % \pgfplots@glob@TMPa = 1 iff we can rely on the external lib shipped % with tikz: +% -> see also below for a list of patches! \pgfplotsiffileexists{tikzlibraryexternal.code.tex}{% \pgfplots@ifneedspgfcompabitibilitycode@has@pgf@one@zero@zero{% \def\pgfplots@glob@TMPa{0}% @@ -56,9 +57,18 @@ \if1\pgfplots@glob@TMPa \usetikzlibrary{external}% - \pgfutil@ifundefined{tikzexternal@driver@pgfsys-pdftex.def}{% + % + % check for patches + \gdef\pgfplots@glob@TMPa{0}% + \pgfutil@ifundefined{c@tikzexternal@version}{% + \gdef\pgfplots@glob@TMPa{1}% + }{% + \gdef\pgfplots@glob@TMPa{0}% + }% + % + \if1\pgfplots@glob@TMPa \pgfplots@backw@compat@external@load - }{}% + \fi \else \pgfplots@backw@compat@external@load \fi |