diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-06-30 12:32:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-06-30 12:32:00 +0200 |
commit | 16a05ab43b53feac7c21bceccc2886857e9822a8 (patch) | |
tree | a3eac7b6068a6b010a3d74f1ad5126949843c502 /tex/context/base/attr-lay.lua | |
parent | 4927209cf7596cc4bd9359f1d93cfbdfea565abf (diff) | |
download | context-16a05ab43b53feac7c21bceccc2886857e9822a8.tar.gz |
beta 2012.06.30 12:32
Diffstat (limited to 'tex/context/base/attr-lay.lua')
-rw-r--r-- | tex/context/base/attr-lay.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/attr-lay.lua b/tex/context/base/attr-lay.lua index e154ee90d..bb5cce4e2 100644 --- a/tex/context/base/attr-lay.lua +++ b/tex/context/base/attr-lay.lua @@ -57,6 +57,8 @@ local texgetattribute = tex.getattribute local texsettokenlist = tex.settoks local unsetvalue = attributes.unsetvalue +local nodepool = nodes.pool + storage.register("attributes/viewerlayers/registered", viewerlayers.registered, "attributes.viewerlayers.registered") storage.register("attributes/viewerlayers/values", viewerlayers.values, "attributes.viewerlayers.values") storage.register("attributes/viewerlayers/scopes", viewerlayers.scopes, "attributes.viewerlayers.scopes") @@ -115,7 +117,7 @@ function layerstacker.start(s,t,first,last) -- move to lpdf-ren.lua end r = concat(r," ") -- print("start",r) - return nodes.pool.pdfliteral(r) + return nodepool.pdfliteral(r) end function layerstacker.stop(s,t,first,last) -- move to lpdf-ren.lua @@ -125,7 +127,7 @@ function layerstacker.stop(s,t,first,last) -- move to lpdf-ren.lua end r = concat(r," ") -- print("stop",r) - return nodes.pool.pdfliteral(r) + return nodepool.pdfliteral(r) end function layerstacker.change(s,t1,first1,last1,t2,first2,last2) -- move to lpdf-ren.lua @@ -138,7 +140,7 @@ function layerstacker.change(s,t1,first1,last1,t2,first2,last2) -- move to lpdf- end r = concat(r," ") -- print("change",r) - return nodes.pool.pdfliteral(r) + return nodepool.pdfliteral(r) end local function initializer(...) |