summaryrefslogtreecommitdiff
path: root/tex/context/base/tabl-xtb.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/tabl-xtb.lua')
-rw-r--r--tex/context/base/tabl-xtb.lua12
1 files changed, 8 insertions, 4 deletions
diff --git a/tex/context/base/tabl-xtb.lua b/tex/context/base/tabl-xtb.lua
index cf9a4a0a6..59cfadbf2 100644
--- a/tex/context/base/tabl-xtb.lua
+++ b/tex/context/base/tabl-xtb.lua
@@ -59,6 +59,7 @@ local nodepool = nodes.pool
local new_glue = nodepool.glue
local new_kern = nodepool.kern
local new_penalty = nodepool.penalty
+local new_hlist = nodepool.hlist
local v_stretch = variables.stretch
local v_normal = variables.normal
@@ -645,10 +646,13 @@ function xtables.construct()
local list = drc.list
if list then
list.shift = list.height + list.depth
- list = hpack_node_list(list) -- is somehow needed
- list.width = 0
- list.height = 0
- list.depth = 0
+-- list = hpack_node_list(list) -- is somehow needed
+-- list.width = 0
+-- list.height = 0
+-- list.depth = 0
+local h = new_hlist()
+h.list = list
+list = h
if start then
stop.next = list
list.prev = stop