summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/page-lin.lua
diff options
context:
space:
mode:
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