| 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 pgfcore. |
| 12 |
\writestatus{loading}{ConTeXt User Module / pgfcor} |
| 13 |
|
| 14 |
\unprotect |
| 15 |
\startmodule[pgfcor] |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
\ifx\pgfcoredefined\undefined |
| 20 |
\let\pgfcoredefined=\relax |
| 21 |
|
| 22 |
\input t-pgfsys.tex |
| 23 |
|
| 24 |
\edef\pgfcoreatcode{\the\catcode`\@} |
| 25 |
\edef\pgfcorebarcode{\the\catcode`\|} |
| 26 |
\edef\pgfcoreexclaimcode{\the\catcode`\!} |
| 27 |
\catcode`\@=11 |
| 28 |
\catcode`\|=12 |
| 29 |
\catcode`\!=12 |
| 30 |
|
| 31 |
|
| 32 |
\input pgfcore.code.tex |
| 33 |
|
| 34 |
\catcode`\@=\pgfcoreatcode |
| 35 |
\catcode`\|=\pgfcorebarcode |
| 36 |
\catcode`\!=\pgfcoreexclaimcode |
| 37 |
|
| 38 |
\let\startpgfpicture=\pgfpicture |
| 39 |
\let\stoppgfpicture=\endpgfpicture |
| 40 |
|
| 41 |
\let\startpgfscope=\pgfscope |
| 42 |
\let\stoppgfscope=\endpgfscope |
| 43 |
|
| 44 |
\let\startpgflowlevelscope=\pgflowlevelscope |
| 45 |
\let\stoppgflowlevelscope=\endpgflowlevelscope |
| 46 |
|
| 47 |
\let\startpgfinterruptpath=\pgfinterruptpath |
| 48 |
\let\stoppgfinterruptpath=\endpgfinterruptpath |
| 49 |
|
| 50 |
\let\startpgfinterruptpicture=\pgfinterruptpicture |
| 51 |
\let\stoppgfinterruptpicture=\endpgfinterruptpicture |
| 52 |
|
| 53 |
\let\startpgfinterruptboundingbox=\pgfinterruptboundinbox |
| 54 |
\let\stoppgfinterruptboudingbox=\endpgfinterruptboundingbox |
| 55 |
|
| 56 |
\fi |
| 57 |
|
| 58 |
\stopmodule |
| 59 |
|
| 60 |
\protect |
| 61 |
\endinput |