summaryrefslogtreecommitdiff
path: root/tex/plain
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2013-03-31 19:42:38 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2013-03-31 19:42:38 +0200
commit9228b615de0e4c6c44702480360569c4129f550c (patch)
treece0f43c27bacec38b14eff48709d4ae1cba1a840 /tex/plain
parentfdb1d2c5227996ed081283502269445d328adc7d (diff)
downloadenigma-0.1.tar.gz
descend into vboxes; update manualv0.1
Diffstat (limited to 'tex/plain')
-rw-r--r--tex/plain/enigma/enigma.tex15
1 files changed, 9 insertions, 6 deletions
diff --git a/tex/plain/enigma/enigma.tex b/tex/plain/enigma/enigma.tex
index 2b4fb8e..d18b72f 100644
--- a/tex/plain/enigma/enigma.tex
+++ b/tex/plain/enigma/enigma.tex
@@ -76,14 +76,17 @@
%D \startdocsection[title=Encoding Macros]
%D \startparagraph
-%D The environment of \texmacro{start<enigmaid>} and
-%D \texmacro{stop<enigmaid>} allow enabling of Enigma encoding in
-%D different parts of the document.
+%D The environment of \texmacro{begin<enigmaid>} and
+%D \texmacro{end<enigmaid>} toggles Enigma encoding.
+%D (Regarding environment delimiters we adhere to Knuth’s
+%D practice of prefixing with \type{begin}/\type{end}.)
%D \stopparagraph
+\def\e!start{begin} %{start}
+\def \e!stop{end} %{stop}
\edef\c!pre_linebreak_filter{pre_linebreak_filter}
\def\do_define_enigma#1{%
- \@EA\gdef\csname start\current_enigma_id\endcsname{%
+ \@EA\gdef\csname \e!start\current_enigma_id\endcsname{%
\endgraf
\bgroup%
\directlua{%
@@ -99,7 +102,7 @@
end
}%
}%
- \@EA\gdef\csname stop\current_enigma_id\endcsname{%
+ \@EA\gdef\csname \e!stop\current_enigma_id\endcsname{%
\endgraf
\directlua{
luatexbase.remove_from_callback(
@@ -124,4 +127,4 @@
\catcode`\_=8 % \popcatcodes
\catcode`\!=12 % reserved according to source2e
\ifenigmaisrunningplain\catcode`\@=12\fi
-% vim:ft=tex:sw=2:ts=2:expandtab:tw=71
+% vim:ft=plaintex:sw=2:ts=2:expandtab:tw=71