diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-10-28 20:03:50 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-10-28 20:03:50 +0100 |
commit | f58a2cb5d22c5931581274db1f0ec85ac903b747 (patch) | |
tree | ba324713b8c0f2ee9465238d3cf867de3fb41dc5 /tex/context/base/mkiv/page-mix.lua | |
parent | 24f6f7de245bdff10f21984a9a3c6af3d31fa1f1 (diff) | |
download | context-f58a2cb5d22c5931581274db1f0ec85ac903b747.tar.gz |
2019-10-28 18:22:00
Diffstat (limited to 'tex/context/base/mkiv/page-mix.lua')
-rw-r--r-- | tex/context/base/mkiv/page-mix.lua | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tex/context/base/mkiv/page-mix.lua b/tex/context/base/mkiv/page-mix.lua index 51a12429e..d64646d8a 100644 --- a/tex/context/base/mkiv/page-mix.lua +++ b/tex/context/base/mkiv/page-mix.lua @@ -41,7 +41,6 @@ local nuts = nodes.nuts local tonode = nuts.tonode local listtoutf = nodes.listtoutf -local hpack = nuts.hpack local vpack = nuts.vpack local flushnode = nuts.flush local concatnodes = nuts.concat @@ -800,7 +799,7 @@ local function finalize(result) local t = { } for i=1,#list do local l = list[i] - local h = new_hlist() + local h = new_vlist() -- was hlist but that's wrong local g = getlist(l) t[i] = h setlist(h,g) @@ -881,12 +880,12 @@ end local function getsplit(result,n) if not result then - report_state("flush, column %s, no result",n) + report_state("flush, column %s, %s",n,"no result") return end local r = result.results[n] if not r then - report_state("flush, column %s, empty",n) + report_state("flush, column %s, %s",n,"empty") end local h = r.head if not h then @@ -982,9 +981,8 @@ local function getsplit(result,n) for i=1,#list-1 do setdepth(list[i],0) end - local b = vpack(l) -- multiple arguments, todo: fastvpack -setbox("global",c,b) -- when we wrap in a box - -- setbox(c,b) + local b = vpack(l) -- multiple arguments, todo: fastvpack + setbox("global",c,b) -- when we wrap in a box r.inserts[c] = nil end |