diff options
Diffstat (limited to 'tex/context/base/math-noa.lua')
-rw-r--r-- | tex/context/base/math-noa.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/math-noa.lua b/tex/context/base/math-noa.lua index 85759ddf1..2c988077b 100644 --- a/tex/context/base/math-noa.lua +++ b/tex/context/base/math-noa.lua @@ -228,12 +228,13 @@ local function process(start,what,n,parent) -- report_processing("stop processing") end end - elseif id == math_char or id == math_textchar or id == math_delim then - break elseif id == math_noad then + -- single characters are like this local noad = getfield(start,"nucleus") if noad then process(noad,what,n,start) end -- list noad = getfield(start,"sup") if noad then process(noad,what,n,start) end -- list noad = getfield(start,"sub") if noad then process(noad,what,n,start) end -- list + elseif id == math_char or id == math_textchar or id == math_delim then + break elseif id == math_box or id == math_sub then local noad = getfield(start,"list") if noad then process(noad,what,n,start) end -- list (not getlist !) elseif id == math_fraction then |