summaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2012-02-23 21:19:26 +0100
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2012-02-23 21:19:26 +0100
commit8d93a4c0ccbfb9b3fb1f17ccecdc5bf430f18154 (patch)
treecd0a62723d969cc966f9edca2ac1bf38eb815216 /tex
parent93e1c741d591be11d4782ec359d33a3f1b54bf8c (diff)
downloadenigma-8d93a4c0ccbfb9b3fb1f17ccecdc5bf430f18154.tar.gz
docstrings; manual stub
Diffstat (limited to 'tex')
-rw-r--r--tex/context/third/enigma/enigma.lua18
-rw-r--r--tex/context/third/enigma/t-enigma.mkvi2
-rw-r--r--tex/plain/enigma/enigma.tex2
3 files changed, 12 insertions, 10 deletions
diff --git a/tex/context/third/enigma/enigma.lua b/tex/context/third/enigma/enigma.lua
index b7ab57c..f6881f6 100644
--- a/tex/context/third/enigma/enigma.lua
+++ b/tex/context/third/enigma/enigma.lua
@@ -452,9 +452,9 @@ do
--[[ichd--
\startparagraph
-Main stdout verbosity wrapper function. Checks if the global verbosity
-setting exceeds the specified threshold, and only then pushes the
-output.
+\luafunction{emit} is the main wrapper function for \identifier{stdout}.
+Checks if the global verbosity setting exceeds the specified threshold,
+and only then pushes the output.
\stopparagraph
--ichd]]--
emit = function (v, f, ...)
@@ -770,14 +770,16 @@ extraction of successive characters from the sequence.
\placetable[here][]{Initialization strings}{%
\bTABLE
\bTR
- \bTD Reflector \eTD
- \bTD[nc=3] Rotor \eTD
- \bTD Initial rotor \eTD
- \bTD Plugboard wiring \eTD
+ \bTD Reflector \eTD
+ \bTD[nc=3] Rotor \eTD
+ \bTD[nc=3] Initial \eTD
+ \bTD[nc=10] Plugboard wiring \eTD
\eTR
\eTR
\bTR
- \bTD in slot \eTD \bTD[nc=3] setting \eTD
+ \bTD in slot \eTD
+ \bTD[nc=3] setting \eTD
+ \bTD[nc=3] rotor \eTD
\eTR
\bTR
\bTD \eTD
diff --git a/tex/context/third/enigma/t-enigma.mkvi b/tex/context/third/enigma/t-enigma.mkvi
index 552e483..f6f9db7 100644
--- a/tex/context/third/enigma/t-enigma.mkvi
+++ b/tex/context/third/enigma/t-enigma.mkvi
@@ -39,7 +39,7 @@ thirddata = thirddata or { }
\stopluacode
\registerctxluafile{enigma}
-%D \startdocsection[title=setups]
+%D \startdocsection[title=Macro Generator]
%D \startparagraph
%D The main setup. The \texmacro{defineenigma} macro does not adhere to
%D the reommended practis of automatical macro derivation. Rather, we
diff --git a/tex/plain/enigma/enigma.tex b/tex/plain/enigma/enigma.tex
index 2299890..5b15a8d 100644
--- a/tex/plain/enigma/enigma.tex
+++ b/tex/plain/enigma/enigma.tex
@@ -36,7 +36,7 @@
%D \startdocsection[title=Setups]
%D \startparagraph
%D Once the proper catcodes are in place, the setup macro
-%D \texmacro{do-setup_enigma} doesn’t to anything besides passing stuff
+%D \texmacro{do_setup_enigma} doesn’t to anything besides passing stuff
%D through to Lua.
%D \stopparagraph
\def\do_setup_enigma#1{%