summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/tex/context/frontendlayer/t-tikz.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/tex/context/frontendlayer/t-tikz.tex')
-rw-r--r--graphics/pgf/base/tex/context/frontendlayer/t-tikz.tex42
1 files changed, 42 insertions, 0 deletions
diff --git a/graphics/pgf/base/tex/context/frontendlayer/t-tikz.tex b/graphics/pgf/base/tex/context/frontendlayer/t-tikz.tex
new file mode 100644
index 0000000000..9cda8239e5
--- /dev/null
+++ b/graphics/pgf/base/tex/context/frontendlayer/t-tikz.tex
@@ -0,0 +1,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