blob: 6d1cb8a2ee14bc0f99911b4cb9ee074805448308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
\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:
%
% #1: for backwards compatibility
% #2: for normal processing.
\def\pgfplots@ifneedspgfcompabitibilitycode#1#2{%
%\pgfkeysifdefined{/handlers/.search also/.@cmd}{#2}{#1}%
\pgfutil@ifundefined{pgfkeysdefnargs}{#1}{#2}%
}%
\pgfplots@ifneedspgfcompabitibilitycode
{%
\immediate\write16{Package pgfplots: loading complementary code for your PGF version...}
\input pgfplotsoldpgfsupp_misc.code.tex
\let\pgfkeysloaded=\undefined
\input pgfplotsoldpgfsupp_pgfkeys.code.tex
\input pgfplotsoldpgfsupp_pgfmathfloat.code.tex
\input pgfplotsoldpgfsupp_pgflibraryplothandlers.code.tex
\input pgfplotsoldpgfsupp_pgflibraryfpu.code.tex
}%
{%
\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
}%
}%
\pgfutil@ifundefined{pgfmathdeclarepseudoconstant}{
\immediate\write16{Package pgfplots: loading complementary arithmetics for your pgf version...}
\input pgfplotsoldpgfsupp_pgflibraryfpu.code.tex
}
{}%
\endinput
|