summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/env.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/eplain/base/test/env.tex')
-rw-r--r--Master/texmf-dist/source/eplain/base/test/env.tex42
1 files changed, 42 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/eplain/base/test/env.tex b/Master/texmf-dist/source/eplain/base/test/env.tex
new file mode 100644
index 00000000000..3b4cf56be66
--- /dev/null
+++ b/Master/texmf-dist/source/eplain/base/test/env.tex
@@ -0,0 +1,42 @@
+% This file is public domain.
+%
+\input eplain
+
+First, let's make sure they work.
+
+\loggingall
+
+\environment{outer}
+ \environment{inner}
+ This is in the first inner.
+ \endenvironment{inner}
+
+ This is between inners.
+
+ \environment{inner}
+ This is in the second inner.
+
+ \environment{even-more-inner}
+ This is even more inner.
+ \endenvironment{even-more-inner}
+ \endenvironment{inner}
+\endenvironment{outer}
+
+This is after the outer.
+
+Now let's make some mistakes.
+
+%\environment{start-1}
+%\endenvironment{end-2}
+
+\endenvironment{where-is-the-start?}
+
+\begingroup
+\endenvironment{begingroup-started}
+
+\environment{endgroup-ended}
+\endgroup
+
+\environment{noend}
+
+\end