diff options
author | Marius <mariausol@gmail.com> | 2013-03-05 18:00:17 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-03-05 18:00:17 +0200 |
commit | a51f6cf6ee087046a2ae5927ed4edff0a1acec1b (patch) | |
tree | a57b34df3ba55e79713ebc52d5cfd3c42dee2c2f /tex/context/base/spac-ali.lua | |
parent | 9798ccd13ea7e74f5fd25c5975fbc8d3048ced9d (diff) | |
download | context-a51f6cf6ee087046a2ae5927ed4edff0a1acec1b.tar.gz |
beta 2013.03.05 16:40
Diffstat (limited to 'tex/context/base/spac-ali.lua')
-rw-r--r-- | tex/context/base/spac-ali.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/spac-ali.lua b/tex/context/base/spac-ali.lua index 998df3aa6..744b1d810 100644 --- a/tex/context/base/spac-ali.lua +++ b/tex/context/base/spac-ali.lua @@ -15,11 +15,11 @@ local prependaction = tasks.prependaction local disableaction = tasks.disableaction local enableaction = tasks.enableaction -local has_attribute = node.has_attribute -local unset_attribute = node.unset_attribute local slide_nodes = node.slide local hpack_nodes = node.hpack -- nodes.fasthpack not really faster here +local unsetvalue = attributes.unsetvalue + local concat_nodes = nodes.concat local nodecodes = nodes.nodecodes @@ -61,7 +61,7 @@ local function handler(head,leftpage,realpageno) local id = current.id if id == hlist_code then if current.subtype == line_code then - local a = has_attribute(current,a_realign) + local a = current[a_realign] if not a or a == 0 then -- skip else @@ -92,7 +92,7 @@ local function handler(head,leftpage,realpageno) done = true nofrealigned = nofrealigned + 1 end - unset_attribute(current,a_realign) + current[a_realign] = unsetvalue end end handler(current.list,leftpage,realpageno) |