From 53f2382ebb2ac9ddf29f9fcb7baa0f52f2574a07 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 23 Feb 2012 00:50:59 +0100 Subject: [docs] fixed docstring macros --- tex/context/third/enigma/enigma.lua | 4 ++-- tex/context/third/enigma/t-enigma.mkvi | 15 +++++++++------ 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} and -%D \texmacro{\stop} allow enabling of Enigma encoding in +%D The environment of \texmacro{start} and +%D \texmacro{stop} allow enabling of Enigma encoding in %D different parts of the document. %D \stopparagraph -- cgit v1.2.3