summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv/x-asciimath.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-05-28 19:46:18 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-05-28 19:46:18 +0200
commit3ab20dbdfa095edd8c6bc00b8e3bdccd78900257 (patch)
treea925a52b2ac82aa863dbbc580c387391d75a114a /tex/context/modules/mkiv/x-asciimath.lua
parent0354ea8393c57ad00606d233468c39928e9d4b4a (diff)
downloadcontext-3ab20dbdfa095edd8c6bc00b8e3bdccd78900257.tar.gz
2017-05-28 19:35:00
Diffstat (limited to 'tex/context/modules/mkiv/x-asciimath.lua')
-rw-r--r--tex/context/modules/mkiv/x-asciimath.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/modules/mkiv/x-asciimath.lua b/tex/context/modules/mkiv/x-asciimath.lua
index 677d3519b..75f4b06fd 100644
--- a/tex/context/modules/mkiv/x-asciimath.lua
+++ b/tex/context/modules/mkiv/x-asciimath.lua
@@ -1277,7 +1277,8 @@ local function collapse_bars(t)
-- problem: we can have a proper nesting
local d = false
for i=1,m do
- if find(t[i],"\\left") then
+ local ti = t[i]
+ if type(ti) == "string" and find(ti,"\\left") then
d = true
break
end