diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-03-19 16:34:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-03-19 16:34:00 +0100 |
commit | de0507377f78f5c05fcece1ec7dc53bacdc0247c (patch) | |
tree | b84c9c6483f28c5fa80c00ccbfd59db6ecdb1a63 /tex/context/base/node-aux.lua | |
parent | 2d5f18782ca5e9193200a19e10d33827163ef0b0 (diff) | |
download | context-de0507377f78f5c05fcece1ec7dc53bacdc0247c.tar.gz |
beta 2013.03.19 16:34
Diffstat (limited to 'tex/context/base/node-aux.lua')
-rw-r--r-- | tex/context/base/node-aux.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tex/context/base/node-aux.lua b/tex/context/base/node-aux.lua index 2e431d364..e3fc7ad6f 100644 --- a/tex/context/base/node-aux.lua +++ b/tex/context/base/node-aux.lua @@ -204,12 +204,15 @@ function nodes.firstcharinbox(n) return 0 end -function nodes.endofmath(n) - for n in traverse_id(math_code,n.next) do - return n +if not node.end_of_math then + function node.end_of_math(n) + for n in traverse_id(math_code,n.next) do + return n + end end end +nodes.endofmath = node.end_of_math -- local function firstline(n) -- while n do |