summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/tex/t-tikz.tex
blob: 9cda8239e5ddace1b17221035fc95f8df52d22e2 (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
% Copyright 2018 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.


% ConTeXt module tikz.
\writestatus{loading}{ConTeXt User Module / tikz}

\unprotect
\startmodule[tikz]


% \input xkeyval.tex   % no longer used/needed

\input t-pgf.tex
\input t-pgffor.tex

\edef\tikzatcode{\the\catcode`\@}
\edef\tikzbarcode{\the\catcode`\|}
\edef\tikzexclaimcode{\the\catcode`\!}
\catcode`\@=11
\catcode`\|=12
\catcode`\!=12

\input tikz.code.tex

\catcode`\@=\tikzatcode
\catcode`\|=\tikzbarcode
\catcode`\!=\tikzexclaimcode

\let\starttikzpicture=\tikzpicture
\let\stoptikzpicture=\endtikzpicture

\stopmodule

\protect
\endinput