summaryrefslogtreecommitdiff
path: root/tex/plain/enigma/enigma.tex
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2012-02-21 16:10:56 +0100
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2012-02-21 16:10:56 +0100
commit6811b11dcf48bbd71c0ac4a9473743f7664301ae (patch)
tree7eed5265730b8f7d040a33fe4c90e665087c8f2d /tex/plain/enigma/enigma.tex
parent893ee900813683b35a88199025e6d6620e14a8e5 (diff)
downloadenigma-6811b11dcf48bbd71c0ac4a9473743f7664301ae.tar.gz
restructured term output
Diffstat (limited to 'tex/plain/enigma/enigma.tex')
-rw-r--r--tex/plain/enigma/enigma.tex11
1 files changed, 5 insertions, 6 deletions
diff --git a/tex/plain/enigma/enigma.tex b/tex/plain/enigma/enigma.tex
index 1849103..90608a0 100644
--- a/tex/plain/enigma/enigma.tex
+++ b/tex/plain/enigma/enigma.tex
@@ -62,14 +62,14 @@
%D \startsection[title=Encoding Macros]
%D \startparagraph
-%D The environment of \texmacro{\startenigma} and \texmacro{\stopenigma}
-%D allow enabling of Enigma encoding in different parts of the document.
+%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 \stopparagraph
-\def\do_define_enigma#1{
+\def\do_define_enigma#1{%
\@EA\gdef\csname start\enigmaid\endcsname{%
\bgroup%
- % \edef\currentenigmaid{\enigmaid}%
\directlua{%
if packagedata.enigma and packagedata.enigma.machines["#1"] then
luatexbase.add_to_callback("pre_linebreak_filter",
@@ -80,8 +80,7 @@
os.exit()
end
}%
- }
-
+ }%
\@EA\gdef\csname stop\enigmaid\endcsname{%
\directlua{luatexbase.remove_from_callback("pre_linebreak_filter",
"#1")