summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/tabl-xtb.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-01-27 16:14:16 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-01-27 16:14:16 +0100
commit95a1799032dc61dbca4a11e495be34b4397c8fec (patch)
tree4b24bf117a90ba704dedf19ab1b1a734d78f4e45 /tex/context/base/mkiv/tabl-xtb.lua
parent0cfeab235554eeee0dddd6c3f44d3939ab490ff1 (diff)
downloadcontext-95a1799032dc61dbca4a11e495be34b4397c8fec.tar.gz
2017-01-27 14:46:00
Diffstat (limited to 'tex/context/base/mkiv/tabl-xtb.lua')
-rw-r--r--tex/context/base/mkiv/tabl-xtb.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/tabl-xtb.lua b/tex/context/base/mkiv/tabl-xtb.lua
index c3e022b24..62c95cbe6 100644
--- a/tex/context/base/mkiv/tabl-xtb.lua
+++ b/tex/context/base/mkiv/tabl-xtb.lua
@@ -67,7 +67,7 @@ local getprev = nuts.getprev
local getlist = nuts.getlist
local getfield = nuts.getfield
local getbox = nuts.getbox
-local getdimensions = nuts.dimensions
+local getwhd = nuts.getwhd
local setfield = nuts.setfield
local setlink = nuts.setlink
@@ -257,7 +257,7 @@ function xtables.set_reflow_width()
--
drc.list = true -- we don't need to keep the content around as we're in trial mode (no: copy_node_list(tb))
--
- local width, height, depth = getdimensions(tb)
+ local width, height, depth = getwhd(tb)
--
local widths = data.widths
local heights = data.heights
@@ -427,7 +427,7 @@ function xtables.set_reflow_height()
local tb = getbox("b_tabl_x")
local drc = row[c]
--
- local width, height, depth = getdimensions(tb)
+ local width, height, depth = getwhd(tb)
--
if drc.ny < 2 then
if data.fixedrows[r] == 0 then -- and drc.dimensionstate < 2
@@ -818,7 +818,7 @@ function xtables.construct()
end
local list = drc.list
if list then
- local w, h, d = getdimensions(list)
+ local w, h, d = getwhd(list)
setfield(list,"shift",h+d)
-- list = hpack_node_list(list) -- is somehow needed
-- setfield(list,"width",0)
@@ -1166,7 +1166,7 @@ function xtables.cleanup()
-- local cell = row[i]
-- local list = cell.list
-- if list then
- -- cell.width, cell.height, cell.depth = getdimensions(list)
+ -- cell.width, cell.height, cell.depth = getwhd(list)
-- cell.list = true
-- end
-- end