summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/tex/context/utilities/t-pgffor.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/tex/context/utilities/t-pgffor.tex')
-rw-r--r--graphics/pgf/base/tex/context/utilities/t-pgffor.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/graphics/pgf/base/tex/context/utilities/t-pgffor.tex b/graphics/pgf/base/tex/context/utilities/t-pgffor.tex
new file mode 100644
index 0000000000..e233f8bc4d
--- /dev/null
+++ b/graphics/pgf/base/tex/context/utilities/t-pgffor.tex
@@ -0,0 +1,38 @@
+% 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 pgffor.
+\writestatus{loading}{ConTeXt User Module / pgffor}
+
+\unprotect
+\startmodule[pgffor]
+
+
+\ifx\pgffordefined\undefined
+\let\pgffordefined=\relax
+
+\input t-pgfrcs.tex
+\input t-pgfkey.tex
+
+\edef\pgfforatcode{\the\catcode`\@}
+\edef\pgfforbarcode{\the\catcode`\|}
+\catcode`\@=11
+\catcode`\|=12
+
+\input pgffor.code.tex
+
+\catcode`\@=\pgfforatcode
+\catcode`\|=\pgfforbarcode
+
+\fi
+
+\stopmodule
+
+\protect
+\endinput