summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/lpdf-ano.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/lpdf-ano.lua')
-rw-r--r--tex/context/base/mkiv/lpdf-ano.lua18
1 files changed, 4 insertions, 14 deletions
diff --git a/tex/context/base/mkiv/lpdf-ano.lua b/tex/context/base/mkiv/lpdf-ano.lua
index c69e9742a..9dc60e7a9 100644
--- a/tex/context/base/mkiv/lpdf-ano.lua
+++ b/tex/context/base/mkiv/lpdf-ano.lua
@@ -71,20 +71,10 @@ local new_latelua = nodepool.latelua
local texgetcount = tex.getcount
--- local codeinjections = backends.codeinjections
--- local getpos = codeinjections.getpos
--- local gethpos = codeinjections.gethpos
--- local getvpos = codeinjections.getvpos
-
-local getpos = lpdf.getpos
-local gethpos = lpdf.gethpos
-local getvpos = lpdf.getvpos
-
-updaters.register("backend.update",function()
- getpos = lpdf.getpos
- gethpos = lpdf.gethpos
- getvpos = lpdf.getvpos
-end)
+local jobpositions = job.positions
+local getpos = jobpositions.getpos
+local gethpos = jobpositions.gethpos
+local getvpos = jobpositions.getvpos
local pdfdictionary = lpdf.dictionary
local pdfarray = lpdf.array