summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/anch-pgr.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-12-01 14:04:36 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2018-12-01 14:04:36 +0100
commit6953b7c4b4c40fab660992622a6fd140fa310b34 (patch)
tree76f842098f2c24cdf3b63f26651cb58c8827950d /tex/context/base/mkiv/anch-pgr.lua
parent9bd28a3039a458b054459fe1ef80161b107b798f (diff)
downloadcontext-6953b7c4b4c40fab660992622a6fd140fa310b34.tar.gz
2018-12-01 13:28:00
Diffstat (limited to 'tex/context/base/mkiv/anch-pgr.lua')
-rw-r--r--tex/context/base/mkiv/anch-pgr.lua9
1 files changed, 1 insertions, 8 deletions
diff --git a/tex/context/base/mkiv/anch-pgr.lua b/tex/context/base/mkiv/anch-pgr.lua
index 4014c5222..5237eb11e 100644
--- a/tex/context/base/mkiv/anch-pgr.lua
+++ b/tex/context/base/mkiv/anch-pgr.lua
@@ -84,20 +84,13 @@ local processranges = nuts.processranges
local unsetvalue = attributes.unsetvalue
local jobpositions = job.positions
+local getpos = jobpositions.getpos
local data = { }
local realpage = 1
local recycle = 1000 -- only tables can overflow this
local enabled = false
--- can change:
-
-local getpos = function() getpos = backends.codeinjections.getpos return getpos() end
-
-updaters.register("backend.update",function()
- getpos = backends.codeinjections.getpos
-end)
-
-- Freeing the data is somewhat tricky as we can have backgrounds spanning
-- many pages but for an arbitrary background shape that is not so common.