summaryrefslogtreecommitdiff
path: root/tex/context/base/page-mix.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2014-02-13 13:00:35 +0200
committerMarius <mariausol@gmail.com>2014-02-13 13:00:35 +0200
commit43b2c43c53673bbaebc0cec57d32c4609c026cd9 (patch)
treefe93e87b47c31f163d6042cc27af86d2a990fb28 /tex/context/base/page-mix.lua
parent8c7fab57c5fd2db6b9ade5f7608add9f650c8460 (diff)
downloadcontext-43b2c43c53673bbaebc0cec57d32c4609c026cd9.tar.gz
beta 2014.02.13 11:27
Diffstat (limited to 'tex/context/base/page-mix.lua')
-rw-r--r--tex/context/base/page-mix.lua15
1 files changed, 1 insertions, 14 deletions
diff --git a/tex/context/base/page-mix.lua b/tex/context/base/page-mix.lua
index 5b6ff2b74..30a1fdccd 100644
--- a/tex/context/base/page-mix.lua
+++ b/tex/context/base/page-mix.lua
@@ -46,7 +46,7 @@ local hpack = nuts.hpack
local vpack = nuts.vpack
local freenode = nuts.free
local concatnodes = nuts.concat
-local slidenodes = nuts.slide
+local slidenodes = nuts.slide -- ok here as we mess with prev links intermediately
local traversenodes = nuts.traverse
local getfield = nuts.getfield
@@ -89,19 +89,6 @@ local mixedcolumns = pagebuilders.mixedcolumns
local a_checkedbreak = attributes.private("checkedbreak")
local forcedbreak = -123
--- local function slidenodes(head)
--- local last = nil
--- for current in traversenodes(head) do
--- local prev = getprev(current)
--- if not prev and last then
--- logs.report("slide","setting prev of %a",nodecodes[getid(current)])
--- setfield(current,"prev",last)
--- end
--- last = current
--- end
--- return last or head
--- end
-
-- initializesplitter(specification)
-- cleanupsplitter()