diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2013-03-31 19:42:38 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2013-03-31 19:42:38 +0200 |
commit | 9228b615de0e4c6c44702480360569c4129f550c (patch) | |
tree | ce0f43c27bacec38b14eff48709d4ae1cba1a840 /tex | |
parent | fdb1d2c5227996ed081283502269445d328adc7d (diff) | |
download | enigma-9228b615de0e4c6c44702480360569c4129f550c.tar.gz |
descend into vboxes; update manualv0.1
Diffstat (limited to 'tex')
-rw-r--r-- | tex/context/third/enigma/enigma.lua | 2 | ||||
-rw-r--r-- | tex/plain/enigma/enigma.tex | 15 |
2 files changed, 10 insertions, 7 deletions
diff --git a/tex/context/third/enigma/enigma.lua b/tex/context/third/enigma/enigma.lua index 4aacf53..9da4288 100644 --- a/tex/context/third/enigma/enigma.lua +++ b/tex/context/third/enigma/enigma.lua @@ -1542,7 +1542,7 @@ local new_callback = function (machine, name) end end noderemove(head, n) - elseif nid == HLIST_NODE then + elseif nid == HLIST_NODE or nid == VLIST_NODE then if nodelength(n.list) > 0 then n.list = aux(n.list, recurse + 1) end diff --git a/tex/plain/enigma/enigma.tex b/tex/plain/enigma/enigma.tex index 2b4fb8e..d18b72f 100644 --- a/tex/plain/enigma/enigma.tex +++ b/tex/plain/enigma/enigma.tex @@ -76,14 +76,17 @@ %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 different parts of the document. +%D The environment of \texmacro{begin<enigmaid>} and +%D \texmacro{end<enigmaid>} toggles Enigma encoding. +%D (Regarding environment delimiters we adhere to Knuthâs +%D practice of prefixing with \type{begin}/\type{end}.) %D \stopparagraph +\def\e!start{begin} %{start} +\def \e!stop{end} %{stop} \edef\c!pre_linebreak_filter{pre_linebreak_filter} \def\do_define_enigma#1{% - \@EA\gdef\csname start\current_enigma_id\endcsname{% + \@EA\gdef\csname \e!start\current_enigma_id\endcsname{% \endgraf \bgroup% \directlua{% @@ -99,7 +102,7 @@ end }% }% - \@EA\gdef\csname stop\current_enigma_id\endcsname{% + \@EA\gdef\csname \e!stop\current_enigma_id\endcsname{% \endgraf \directlua{ luatexbase.remove_from_callback( @@ -124,4 +127,4 @@ \catcode`\_=8 % \popcatcodes \catcode`\!=12 % reserved according to source2e \ifenigmaisrunningplain\catcode`\@=12\fi -% vim:ft=tex:sw=2:ts=2:expandtab:tw=71 +% vim:ft=plaintex:sw=2:ts=2:expandtab:tw=71 |