summaryrefslogtreecommitdiff
path: root/tex/context/third
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/third')
-rw-r--r--tex/context/third/enigma/enigma.lua4
-rw-r--r--tex/context/third/enigma/t-enigma.mkvi15
2 files changed, 11 insertions, 8 deletions
diff --git a/tex/context/third/enigma/enigma.lua b/tex/context/third/enigma/enigma.lua
index 47eeb5b..cffbb2c 100644
--- a/tex/context/third/enigma/enigma.lua
+++ b/tex/context/third/enigma/enigma.lua
@@ -201,11 +201,11 @@ mnemonic.
--[[ichd--
\placetable[here][]{The three reflectors and their substitution
rules.}{%
- \starttabular[|r|l|]
+ \starttabulate[|r|l|]
\NC UKW a \NC AE BJ CM DZ FL GY HX IV KW NR OQ PU ST \NC \NR
\NC UKW b \NC AY BR CU DH EQ FS GL IP JX KN MO TZ VW \NC \NR
\NC UKW c \NC AF BV CP DJ EI GO HY KR LZ MX NW QT SU \NC \NR
- \stoptabular
+ \stoptabulate
}
--ichd]]--
diff --git a/tex/context/third/enigma/t-enigma.mkvi b/tex/context/third/enigma/t-enigma.mkvi
index 3165e43..7c01144 100644
--- a/tex/context/third/enigma/t-enigma.mkvi
+++ b/tex/context/third/enigma/t-enigma.mkvi
@@ -8,9 +8,9 @@
%D copyright=Philipp Gesang,
%D license=2-clause BSD,
%D email={gesang at stud dot uni-heidelberg dot de}]
-%D This module is licensed under the conditions of the BSD license with
-%D two clauses. There is a copy in a file named "COPYING" in the
-%D t-enigma source tree.
+%C This module is licensed under the conditions of the BSD license with
+%C two clauses. There is a copy in a file named "COPYING" in the
+%C t-enigma source tree.
\unprotect
@@ -55,7 +55,8 @@ thirddata = thirddata or { }
\ctxlua{
if thirddata.enigma.machines["#id"] then
local callback = thirddata.enigma.callbacks["#id"],
- nodes.tasks.enableaction("processors", "thirddata.enigma.callbacks.#id")
+ nodes.tasks.enableaction("processors",
+ "thirddata.enigma.callbacks.#id")
else
print([[ENIGMA: No machine of that name: #id!]])
end
@@ -64,7 +65,8 @@ thirddata = thirddata or { }
%
\expandafter\gdef\csname stop\enigmaid\endcsname{%
\ctxlua{
- nodes.tasks.disableaction("processors", "thirddata.enigma.callbacks.#id")
+ nodes.tasks.disableaction("processors",
+ "thirddata.enigma.callbacks.#id")
thirddata.enigma.machines["#id"]:processed_chars()
}%
\egroup%
@@ -84,7 +86,8 @@ thirddata = thirddata or { }
\def\do_setup_enigma#args{%
\ctxlua{
local enigma = thirddata.enigma
- local current_args = enigma.parse_args([====[\detokenize{#args}]====])
+ local current_args =
+ enigma.parse_args([====[\detokenize{#args}]====])
enigma.new_callback(
enigma.new_machine(current_args,
[====[\currentenigmaid]====]),