summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-img.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-12-01 18:35:58 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-12-01 18:35:58 +0100
commit9273441a6cb7b02b3336e0a862ee311dbd3653e9 (patch)
treeb6156b80c8d3cd658ace7fa082dfc49407d1f388 /tex/context/base/mkxl/lpdf-img.lmt
parent0e813ddcd6168945510ca50913c00fc8b633b733 (diff)
downloadcontext-9273441a6cb7b02b3336e0a862ee311dbd3653e9.tar.gz
2020-12-01 17:51:00
Diffstat (limited to 'tex/context/base/mkxl/lpdf-img.lmt')
-rw-r--r--tex/context/base/mkxl/lpdf-img.lmt12
1 files changed, 9 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/lpdf-img.lmt b/tex/context/base/mkxl/lpdf-img.lmt
index fc53740f6..83d3dfae6 100644
--- a/tex/context/base/mkxl/lpdf-img.lmt
+++ b/tex/context/base/mkxl/lpdf-img.lmt
@@ -43,12 +43,18 @@ local pdfdictionary = lpdf.dictionary
local pdfarray = lpdf.array
local pdfconstant = lpdf.constant
local pdfstring = lpdf.string
-local pdfflushstreamobject = lpdf.flushstreamobject
local pdfreference = lpdf.reference
local pdfverbose = lpdf.verbose
-local pdfmajorversion = lpdf.majorversion
-local pdfminorversion = lpdf.minorversion
+local pdfflushstreamobject
+local pdfmajorversion
+local pdfminorversion
+
+updaters.register("backend.update.lpdf",function()
+ pdfflushstreamobject = lpdf.flushstreamobject
+ pdfmajorversion = lpdf.majorversion
+ pdfminorversion = lpdf.minorversion
+end)
local createimage = images.create