summaryrefslogtreecommitdiff
path: root/doc/context
diff options
context:
space:
mode:
authorPhilipp Gesang <gesang@stud.uni-heidelberg.de>2012-06-17 12:20:45 +0200
committerPhilipp Gesang <gesang@stud.uni-heidelberg.de>2012-06-17 12:20:45 +0200
commitbdc2513f4f7d1df90f11266530aa29a8f2c64d5c (patch)
treefe3179f02f77cb4d9ae47ec8102b9cdcd5bcee9a /doc/context
parent26a6641f21e9faa7c6f2f64aed3534754274ba5a (diff)
downloadenigma-bdc2513f4f7d1df90f11266530aa29a8f2c64d5c.tar.gz
[cbk] make auto-grouping an option
Diffstat (limited to 'doc/context')
-rw-r--r--doc/context/third/enigma/enigma_manual.tex7
-rw-r--r--doc/context/third/enigma/examples/enigma-example-context.tex1
-rw-r--r--doc/context/third/enigma/examples/enigma-example-latex.tex2
3 files changed, 10 insertions, 0 deletions
diff --git a/doc/context/third/enigma/enigma_manual.tex b/doc/context/third/enigma/enigma_manual.tex
index 8a78457..bbd3ba3 100644
--- a/doc/context/third/enigma/enigma_manual.tex
+++ b/doc/context/third/enigma/enigma_manual.tex
@@ -138,6 +138,7 @@ the following parameters.
day_key = I II III
01 01 01,
rotor_setting = aaa,
+ spacing = yes,
verbose = 1,
}
%% Usage ················ %%
@@ -175,6 +176,7 @@ the following parameters.
positions of the three rotors, the ring settings, and the plugboard
wiring.
\item{rotor_setting}{string} The initial rotor advancement.
+ \item{spacing}{boolean} Auto-space output?
\item{verbose}{integer} Controls overall verbosity level (\emph{global}!).
\stopitemize
@@ -229,6 +231,11 @@ This is a triple of letters, each representing the initial state of
one rotor (e.\,g. \type{fkd}). Historically this was not part of the day
key but supposed to be chosen at random by the operating signal officer.
+The output can be automatically grouped into sequences of five
+characters, delimited by spaces. This does not only conform with
+traditional crypto-style, but also allows for the resulting text to be
+sanely broken into lines by \TEX.
+
%%% other_chars
% The option \identifier{other_chars} determines how the machine -- in our
% Unicode-aware times -- should behave when it encounters a non-Latin
diff --git a/doc/context/third/enigma/examples/enigma-example-context.tex b/doc/context/third/enigma/examples/enigma-example-context.tex
index 4ffe358..769c608 100644
--- a/doc/context/third/enigma/examples/enigma-example-context.tex
+++ b/doc/context/third/enigma/examples/enigma-example-context.tex
@@ -7,6 +7,7 @@
other_chars = no,
day_key = I II III 01 01 01,
rotor_setting = aaa,
+ spacing = yes,
verbose = 3,
]
diff --git a/doc/context/third/enigma/examples/enigma-example-latex.tex b/doc/context/third/enigma/examples/enigma-example-latex.tex
index d04dbad..66d84d1 100644
--- a/doc/context/third/enigma/examples/enigma-example-latex.tex
+++ b/doc/context/third/enigma/examples/enigma-example-latex.tex
@@ -9,6 +9,8 @@
other_chars = yes,
day_key = B V III II 12 03 01 GI JV KZ WM PU QY AD CN ET FL,
rotor_setting = ben,
+ spacing = yes,
+ verbose = 3,
}
%%·····································································%
%% This second machine below will be used to decrypt the string. It is