From 9228b615de0e4c6c44702480360569c4129f550c Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 31 Mar 2013 19:42:38 +0200 Subject: descend into vboxes; update manual --- tex/context/third/enigma/enigma.lua | 2 +- tex/plain/enigma/enigma.tex | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'tex') 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} and -%D \texmacro{stop} allow enabling of Enigma encoding in -%D different parts of the document. +%D The environment of \texmacro{begin} and +%D \texmacro{end} 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 -- cgit v1.2.3