summaryrefslogtreecommitdiff
path: root/tex/context/base/math-dir.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/math-dir.lua')
-rw-r--r--tex/context/base/math-dir.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tex/context/base/math-dir.lua b/tex/context/base/math-dir.lua
index ec64e6787..525d07831 100644
--- a/tex/context/base/math-dir.lua
+++ b/tex/context/base/math-dir.lua
@@ -105,6 +105,13 @@ local function processmath(head)
end
elseif not start then
-- nothing
+if id == hlist_code or id == vlist_code then
+ local list, d = processmath(getlist(current))
+ setfield(current,"list",list)
+ if d then
+ done = true
+ end
+end
elseif start == stop then
start = nil
else