| 1 |
% Copyright 2018 by Till Tantau |
| 2 |
% |
| 3 |
% This file may be distributed and/or modified |
| 4 |
% |
| 5 |
% 1. under the LaTeX Project Public License and/or |
| 6 |
% 2. under the GNU Public License. |
| 7 |
% |
| 8 |
% See the file doc/generic/pgf/licenses/LICENSE for more details. |
| 9 |
|
| 10 |
|
| 11 |
% ConTeXt module tikz. |
| 12 |
\writestatus{loading}{ConTeXt User Module / tikz} |
| 13 |
|
| 14 |
\unprotect |
| 15 |
\startmodule[tikz] |
| 16 |
|
| 17 |
|
| 18 |
% \input xkeyval.tex % no longer used/needed |
| 19 |
|
| 20 |
\input t-pgf.tex |
| 21 |
\input t-pgffor.tex |
| 22 |
|
| 23 |
\edef\tikzatcode{\the\catcode`\@} |
| 24 |
\edef\tikzbarcode{\the\catcode`\|} |
| 25 |
\edef\tikzexclaimcode{\the\catcode`\!} |
| 26 |
\catcode`\@=11 |
| 27 |
\catcode`\|=12 |
| 28 |
\catcode`\!=12 |
| 29 |
|
| 30 |
\input tikz.code.tex |
| 31 |
|
| 32 |
\catcode`\@=\tikzatcode |
| 33 |
\catcode`\|=\tikzbarcode |
| 34 |
\catcode`\!=\tikzexclaimcode |
| 35 |
|
| 36 |
\let\starttikzpicture=\tikzpicture |
| 37 |
\let\stoptikzpicture=\endtikzpicture |
| 38 |
|
| 39 |
\stopmodule |
| 40 |
|
| 41 |
\protect |
| 42 |
\endinput |