summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex41
1 files changed, 29 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex b/Master/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex
index ce780e866b2..6d89fd79532 100644
--- a/Master/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex
+++ b/Master/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex
@@ -1,12 +1,29 @@
-%--------------------------------------------------
-% \pgfutil@ifundefined{pgfmathfloattosci}
-% {}%
-% {\endinput}%
-%--------------------------------------------------
-\pgfkeysifdefined{/pgf/number format/@dec sep mark}{\endinput}{}
-
-\immediate\write16{Package pgfplots: loading complementary code for your PGF version...}
-\input pgfplotsoldpgfsupp_misc.code.tex
-\input pgfplotsoldpgfsupp_pgfkeysfiltered.code.tex
-\input pgfplotsoldpgfsupp_pgfmathfloat.code.tex
-\input pgfplotsoldpgfsupp_pgflibraryplothandlers.code.tex
+
+\pgfutil@ifundefined{pgfmathlessthan@}{%
+ \let\pgfmathlessthan@=\pgfmathless@
+ \let\pgfmathgreaterthan@=\pgfmathgreater@
+}{}%
+
+
+% check whether we need to load supplementary code.
+% The development of pgfplots and pgf is intermingled, so pgfplots
+% always uses up-to-date pgf CVS versions - the relevant complements between
+% PGF 2.00 and PGF CVS are loaded here:
+\pgfutil@ifundefined{pgfmathfloatparsenumber@handleerror}{%
+ %\pgfkeysifdefined{/pgf/number format/min exponent for 1000 sep}{\endinput}{}
+ \immediate\write16{Package pgfplots: loading complementary code for your PGF version...}
+ \input pgfplotsoldpgfsupp_misc.code.tex
+ \input pgfplotsoldpgfsupp_pgfkeysfiltered.code.tex
+ \input pgfplotsoldpgfsupp_pgfmathfloat.code.tex
+ \input pgfplotsoldpgfsupp_pgflibraryplothandlers.code.tex
+}
+ {\relax}
+
+\pgfplots@iffileexists{pgflibraryfpu.code.tex}{%
+ \usepgflibrary{fpu}%
+}{%
+ \immediate\write16{Package pgfplots: loading FPU library which doesn't appear to exist in your PGF version...}
+ \input pgfplotsoldpgfsupp_pgflibraryfpu.code.tex
+}%
+
+\endinput