diff options
author | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2012-02-23 00:50:59 +0100 |
---|---|---|
committer | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2012-02-23 00:50:59 +0100 |
commit | 53f2382ebb2ac9ddf29f9fcb7baa0f52f2574a07 (patch) | |
tree | b690fec57fdc8bebdf15918e0adcd20c3cb69dc3 | |
parent | 93bc0e3e7ddf05dc368468fc4ecb13d6bd69d727 (diff) | |
download | enigma-53f2382ebb2ac9ddf29f9fcb7baa0f52f2574a07.tar.gz |
[docs] fixed docstring macros
-rw-r--r-- | tex/context/third/enigma/enigma.lua | 4 | ||||
-rw-r--r-- | tex/context/third/enigma/t-enigma.mkvi | 15 | ||||
-rw-r--r-- | tex/plain/enigma/enigma.tex | 8 |
3 files changed, 15 insertions, 12 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]====]), diff --git a/tex/plain/enigma/enigma.tex b/tex/plain/enigma/enigma.tex index df260d7..2299890 100644 --- a/tex/plain/enigma/enigma.tex +++ b/tex/plain/enigma/enigma.tex @@ -12,7 +12,7 @@ %D \startparagraph %D First, create somthing like \CONTEXT’s asciimode. We found -%D \texmacro{\newluatexcatcodetable} in \identifier{luacode.sty} and it +%D \texmacro{newluatexcatcodetable} in \identifier{luacode.sty} and it %D seems to get the job done. %D \stopparagraph \newluatexcatcodetable \enigmasetupcatcodes @@ -38,7 +38,7 @@ %D Once the proper catcodes are in place, the setup macro %D \texmacro{do-setup_enigma} doesn’t to anything besides passing stuff %D through to Lua. -%D \stoppparagraph +%D \stopparagraph \def\do_setup_enigma#1{% \directlua{ local enigma = packagedata.enigma @@ -62,8 +62,8 @@ %D \startdocsection[title=Encoding Macros] %D \startparagraph -%D The environment of \texmacro{\start<enigmaid>} and -%D \texmacro{\stop<enigmaid>} allow enabling of Enigma encoding in +%D The environment of \texmacro{start<enigmaid>} and +%D \texmacro{stop<enigmaid>} allow enabling of Enigma encoding in %D different parts of the document. %D \stopparagraph |