From 8d93a4c0ccbfb9b3fb1f17ccecdc5bf430f18154 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 23 Feb 2012 21:19:26 +0100 Subject: docstrings; manual stub --- tex/context/third/enigma/enigma.lua | 18 ++++++++++-------- tex/context/third/enigma/t-enigma.mkvi | 2 +- tex/plain/enigma/enigma.tex | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) (limited to 'tex') diff --git a/tex/context/third/enigma/enigma.lua b/tex/context/third/enigma/enigma.lua index b7ab57c..f6881f6 100644 --- a/tex/context/third/enigma/enigma.lua +++ b/tex/context/third/enigma/enigma.lua @@ -452,9 +452,9 @@ do --[[ichd-- \startparagraph -Main stdout verbosity wrapper function. Checks if the global verbosity -setting exceeds the specified threshold, and only then pushes the -output. +\luafunction{emit} is the main wrapper function for \identifier{stdout}. +Checks if the global verbosity setting exceeds the specified threshold, +and only then pushes the output. \stopparagraph --ichd]]-- emit = function (v, f, ...) @@ -770,14 +770,16 @@ extraction of successive characters from the sequence. \placetable[here][]{Initialization strings}{% \bTABLE \bTR - \bTD Reflector \eTD - \bTD[nc=3] Rotor \eTD - \bTD Initial rotor \eTD - \bTD Plugboard wiring \eTD + \bTD Reflector \eTD + \bTD[nc=3] Rotor \eTD + \bTD[nc=3] Initial \eTD + \bTD[nc=10] Plugboard wiring \eTD \eTR \eTR \bTR - \bTD in slot \eTD \bTD[nc=3] setting \eTD + \bTD in slot \eTD + \bTD[nc=3] setting \eTD + \bTD[nc=3] rotor \eTD \eTR \bTR \bTD \eTD diff --git a/tex/context/third/enigma/t-enigma.mkvi b/tex/context/third/enigma/t-enigma.mkvi index 552e483..f6f9db7 100644 --- a/tex/context/third/enigma/t-enigma.mkvi +++ b/tex/context/third/enigma/t-enigma.mkvi @@ -39,7 +39,7 @@ thirddata = thirddata or { } \stopluacode \registerctxluafile{enigma} -%D \startdocsection[title=setups] +%D \startdocsection[title=Macro Generator] %D \startparagraph %D The main setup. The \texmacro{defineenigma} macro does not adhere to %D the reommended practis of automatical macro derivation. Rather, we diff --git a/tex/plain/enigma/enigma.tex b/tex/plain/enigma/enigma.tex index 2299890..5b15a8d 100644 --- a/tex/plain/enigma/enigma.tex +++ b/tex/plain/enigma/enigma.tex @@ -36,7 +36,7 @@ %D \startdocsection[title=Setups] %D \startparagraph %D Once the proper catcodes are in place, the setup macro -%D \texmacro{do-setup_enigma} doesn’t to anything besides passing stuff +%D \texmacro{do_setup_enigma} doesn’t to anything besides passing stuff %D through to Lua. %D \stopparagraph \def\do_setup_enigma#1{% -- cgit v1.2.3