summaryrefslogtreecommitdiff
path: root/tex/context/base/spac-ali.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-07-19 14:20:14 +0300
committerMarius <mariausol@gmail.com>2012-07-19 14:20:14 +0300
commitfbfbcf8f6c5be5c08ed47b9093c50728cbf69fa5 (patch)
tree5320d7c31c681a5334fdcf18f9f21b621e983da8 /tex/context/base/spac-ali.lua
parentf012686d63082594f65005c5de0730f6fa3af7d0 (diff)
downloadcontext-fbfbcf8f6c5be5c08ed47b9093c50728cbf69fa5.tar.gz
beta 2012.07.19 12:56
Diffstat (limited to 'tex/context/base/spac-ali.lua')
-rw-r--r--tex/context/base/spac-ali.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/spac-ali.lua b/tex/context/base/spac-ali.lua
index effd26fe4..7ce108172 100644
--- a/tex/context/base/spac-ali.lua
+++ b/tex/context/base/spac-ali.lua
@@ -20,7 +20,7 @@ local unset_attribute = node.unset_attribute
local slide_nodes = node.slide
local hpack_nodes = node.hpack -- nodes.fasthpack not really faster here
-local link_nodes = nodes.link
+local concat_nodes = nodes.concat
local nodecodes = nodes.nodecodes
local listcodes = nodes.listcodes
@@ -77,12 +77,12 @@ local function handler(head,leftpage,realpageno)
action = leftpage and 2 or 1
end
if action == 1 then
- current.list = hpack_nodes(link_nodes(current.list,new_stretch(3)),current.width,"exactly")
+ current.list = hpack_nodes(concat_nodes(current.list,new_stretch(3)),current.width,"exactly")
if trace_realign then
report_realign("flush left: align %s, page %s, realpage %s",align,pageno,realpageno)
end
elseif action == 2 then
- current.list = hpack_nodes(link_nodes(new_stretch(3),current.list),current.width,"exactly")
+ current.list = hpack_nodes(concat_nodes(new_stretch(3),current.list),current.width,"exactly")
if trace_realign then
report_realign("flush right: align %s, page %s, realpage %s",align,pageno,realpageno)
end