summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/page-lin.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2016-10-22 11:36:54 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-10-22 11:36:54 +0200
commitf46e5a9b112dd6c1601fd1734b03064b4336a262 (patch)
tree86f8e1af5aa2de98958161081f00286cb387431e /tex/context/base/mkiv/page-lin.lua
parent9e2c13b12ff90635be145c6c02e21d6e9583037f (diff)
downloadcontext-f46e5a9b112dd6c1601fd1734b03064b4336a262.tar.gz
2016-10-22 10:50:00
Diffstat (limited to 'tex/context/base/mkiv/page-lin.lua')
-rw-r--r--tex/context/base/mkiv/page-lin.lua14
1 files changed, 8 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/page-lin.lua b/tex/context/base/mkiv/page-lin.lua
index d6369c432..011418063 100644
--- a/tex/context/base/mkiv/page-lin.lua
+++ b/tex/context/base/mkiv/page-lin.lua
@@ -405,17 +405,19 @@ function boxed.stage_one(n,nested)
end
end
if getattr(n,a_displaymath) then
+ -- this probably needs to be adapted !
if is_display_math(n) then
check_number(n,a,skip)
end
else
- local v = getattr(list,a_verbatimline)
- if not v or v ~= last_v then
- last_v = v
+-- -- we now prevent nesting anyway .. maybe later we need to check again
+-- local v = getattr(list,a_verbatimline)
+-- if not v or v ~= last_v then
+-- last_v = v
check_number(n,a,skip)
- else
- check_number(n,a,skip,true)
- end
+-- else
+-- check_number(n,a,skip,true)
+-- end
end
skip = false
end