diff options
author | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2012-06-06 18:27:04 +0200 |
---|---|---|
committer | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2012-06-06 18:27:04 +0200 |
commit | b3ff7203f183dfe4d680152888ffb1dc1811f487 (patch) | |
tree | c69855228d44145cb0cda67d34f583f700f842c9 /doc/context | |
parent | f41c65c404b9bc45ca6398febf461f1c4883240a (diff) | |
download | enigma-b3ff7203f183dfe4d680152888ffb1dc1811f487.tar.gz |
context example
Diffstat (limited to 'doc/context')
-rw-r--r-- | doc/context/third/enigma/examples/enigma-example-context.tex | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/context/third/enigma/examples/enigma-example-context.tex b/doc/context/third/enigma/examples/enigma-example-context.tex new file mode 100644 index 0000000..21baf4c --- /dev/null +++ b/doc/context/third/enigma/examples/enigma-example-context.tex @@ -0,0 +1,31 @@ +\usemodule [enigma] +\usetypescript [iwona] +\setupbodyfont [iwona,20pt] + +\defineenigma [secretmessage] +\setupenigma [secretmessage] [ + 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, +] + +\defineenigma [othersecretmessage] [secretmessage] + +\defineenigma [othermessage] [secretmessage] +\setupenigma [othermessage] [other_chars=wrong] + +\starttext + +\startsecretmessage + føo bąr baž +\stopsecretmessage + +\startothersecretmessage + iøtyąwqiž +\stopothersecretmessage + +\startothermessage + føo bąr baž +\stopothermessage + +\stoptext |