summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/page-str.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-05-16 00:21:21 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-05-16 00:21:21 +0200
commitb344014638169aad6e5f6d2a9a703cb03a8b5064 (patch)
treea4457c5d1fdb99f6e8cfe67d53db97b297c1b3ef /tex/context/base/mkiv/page-str.lua
parentc7a8e05aac805e409247e3b36c000ab196831727 (diff)
downloadcontext-b344014638169aad6e5f6d2a9a703cb03a8b5064.tar.gz
2016-05-15 20:51:00
Diffstat (limited to 'tex/context/base/mkiv/page-str.lua')
-rw-r--r--tex/context/base/mkiv/page-str.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/page-str.lua b/tex/context/base/mkiv/page-str.lua
index 56c6167aa..b2f597633 100644
--- a/tex/context/base/mkiv/page-str.lua
+++ b/tex/context/base/mkiv/page-str.lua
@@ -22,6 +22,12 @@ local implement = interfaces.implement
local new_kern = nodepool.kern
local new_glyph = nodepool.glyph
+local nodecodes = nodes.nodecodes
+local gluecodes = nodes.gluecodes
+local hlist_code = nodecodes.hlist
+local vlist_code = nodecodes.vlist
+local glue_code = nodecodes.glue
+
local slide_nodelist = node.slide
local write_node = node.write
local free_node = node.free
@@ -167,6 +173,16 @@ function streams.synchronize(list) -- this is an experiment !
local dana = data[name]
local slot = dana[m]
if slot then
+-- for n in nodes.traverse(slot) do
+-- local id = n.id
+-- if id == hlist_code or id == vlist_code then
+-- print(n,n.height,n.depth)
+-- elseif id == glue_code then
+-- print(n,n.width,gluecodes[n.subtype])
+-- else
+-- print(n)
+-- end
+-- end
local vbox = vpack_nodelist(slot)
local ht, dp = vbox.height, vbox.depth
if ht > height then