diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel/luababel.def')
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/luababel.def | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/luababel.def b/Master/texmf-dist/tex/generic/babel/luababel.def index 6420f102887..6e27edcf75b 100644 --- a/Master/texmf-dist/tex/generic/babel/luababel.def +++ b/Master/texmf-dist/tex/generic/babel/luababel.def @@ -923,8 +923,8 @@ end word_string = word_string .. '|' word_nodes[#word_nodes+1] = item - elseif item.id == node.id'math' then - inmath = (item.subtype == 0) + elseif item.id == 11 and item.subtype == 0 then + inmath = true elseif word_string == '' then &% pass @@ -1082,8 +1082,8 @@ end return word_string, word_nodes, item, lang end - elseif item.id == node.id'math' then - inmath = (item.subtype == 0) + elseif item.id == 11 and item.subtype == 0 then + inmath = true elseif word_string == '' then &% pass |