summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/l3experimental/xcoffins/commands-check.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-12 23:13:30 +0000
committerKarl Berry <karl@freefriends.org>2011-08-12 23:13:30 +0000
commitc74165f3bdbaaefef4e594d6dbc2ad7b13292bbb (patch)
tree6084b7c2db1b90f815d4343c1baf8ec8d8640d2e /Master/texmf-dist/doc/latex/l3experimental/xcoffins/commands-check.tex
parent2b4e42b51b5b1ffa51fe48a70eb10517e3b70d99 (diff)
l3experimental (11aug11)
git-svn-id: svn://tug.org/texlive/trunk@23522 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/l3experimental/xcoffins/commands-check.tex')
-rw-r--r--Master/texmf-dist/doc/latex/l3experimental/xcoffins/commands-check.tex47
1 files changed, 0 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/latex/l3experimental/xcoffins/commands-check.tex b/Master/texmf-dist/doc/latex/l3experimental/xcoffins/commands-check.tex
deleted file mode 100644
index 0d79e690945..00000000000
--- a/Master/texmf-dist/doc/latex/l3experimental/xcoffins/commands-check.tex
+++ /dev/null
@@ -1,47 +0,0 @@
-%
-% Execute this TeX file with
-% latex -interaction=batchmode commands-check
-%
-% The package loaded and the commands checked can be customised:
-\providecommand\PKG{expl3}
-\providecommand\CMDS{commands-check.cmds}
-
-\documentclass{minimal}
-\usepackage{\PKG}
-\makeatletter
-
-% "loop...if...then...repeat" from TeX by Topic:
-\def\cmdchk@loop#1\cmdchk@repeat{\def\cmdchk@body{#1}\cmdchk@iterate}
-\def\cmdchk@iterate{%
- \let\cmdchk@next\relax
- \cmdchk@body \let\cmdchk@next\cmdchk@iterate \fi \cmdchk@next}
-
-\let \@tempb \@empty
-\newread \cmdchk@read
-\openin \cmdchk@read \CMDS \relax
-
-\def\checkcmds{%
- \begingroup
- \catcode`\\=12
- \endlinechar=-1
- \loop
- \read \cmdchk@read to \@tempa \relax
- \ifx \@tempa \@empty
- \closein \cmdchk@read
- \else
- \ifcsname \expandafter \@gobble \@tempa \endcsname
- \else
- \xdef \@tempb {\@tempb ^^J!>\space\space\space\space\@tempa}
- \fi
- \repeat
- \endgroup
- \ifx\@tempb\@empty\else
- \nonstopmode
- \errmessage{\@tempb^^J}
- \batchmode
- \fi
-}
-\makeatother
-\begin{document}
-\checkcmds
-\end{document}