From bdc2513f4f7d1df90f11266530aa29a8f2c64d5c Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 17 Jun 2012 12:20:45 +0200 Subject: [cbk] make auto-grouping an option --- doc/context/third/enigma/enigma_manual.tex | 7 +++++++ doc/context/third/enigma/examples/enigma-example-context.tex | 1 + doc/context/third/enigma/examples/enigma-example-latex.tex | 2 ++ 3 files changed, 10 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3