summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/tex/context/basiclayer/t-pgfcor.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/tex/context/basiclayer/t-pgfcor.tex')
-rw-r--r--graphics/pgf/base/tex/context/basiclayer/t-pgfcor.tex61
1 files changed, 61 insertions, 0 deletions
diff --git a/graphics/pgf/base/tex/context/basiclayer/t-pgfcor.tex b/graphics/pgf/base/tex/context/basiclayer/t-pgfcor.tex
new file mode 100644
index 0000000000..a2a35459db
--- /dev/null
+++ b/graphics/pgf/base/tex/context/basiclayer/t-pgfcor.tex
@@ -0,0 +1,61 @@
+% 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 pgfcore.
+\writestatus{loading}{ConTeXt User Module / pgfcor}
+
+\unprotect
+\startmodule[pgfcor]
+
+
+
+\ifx\pgfcoredefined\undefined
+\let\pgfcoredefined=\relax
+
+\input t-pgfsys.tex
+
+\edef\pgfcoreatcode{\the\catcode`\@}
+\edef\pgfcorebarcode{\the\catcode`\|}
+\edef\pgfcoreexclaimcode{\the\catcode`\!}
+\catcode`\@=11
+\catcode`\|=12
+\catcode`\!=12
+
+
+\input pgfcore.code.tex
+
+\catcode`\@=\pgfcoreatcode
+\catcode`\|=\pgfcorebarcode
+\catcode`\!=\pgfcoreexclaimcode
+
+\let\startpgfpicture=\pgfpicture
+\let\stoppgfpicture=\endpgfpicture
+
+\let\startpgfscope=\pgfscope
+\let\stoppgfscope=\endpgfscope
+
+\let\startpgflowlevelscope=\pgflowlevelscope
+\let\stoppgflowlevelscope=\endpgflowlevelscope
+
+\let\startpgfinterruptpath=\pgfinterruptpath
+\let\stoppgfinterruptpath=\endpgfinterruptpath
+
+\let\startpgfinterruptpicture=\pgfinterruptpicture
+\let\stoppgfinterruptpicture=\endpgfinterruptpicture
+
+\let\startpgfinterruptboundingbox=\pgfinterruptboundinbox
+\let\stoppgfinterruptboudingbox=\endpgfinterruptboundingbox
+
+\fi
+
+\stopmodule
+
+\protect
+\endinput