diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-05-27 15:18:45 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-05-27 15:18:45 +0200 |
commit | c1f664df24bd6c6d1222d479e2f0f88856685990 (patch) | |
tree | 5edf173ba03060bb27e6069b7b52f286316ff0e6 /tex/context/base/mkxl/lpdf-ano.lmt | |
parent | 7c744583eb2b9ba70d09bbac7be7bb9e6eb6b154 (diff) | |
download | context-c1f664df24bd6c6d1222d479e2f0f88856685990.tar.gz |
2021-05-27 14:14:00
Diffstat (limited to 'tex/context/base/mkxl/lpdf-ano.lmt')
-rw-r--r-- | tex/context/base/mkxl/lpdf-ano.lmt | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/tex/context/base/mkxl/lpdf-ano.lmt b/tex/context/base/mkxl/lpdf-ano.lmt index 86bcd4ad5..5498627b8 100644 --- a/tex/context/base/mkxl/lpdf-ano.lmt +++ b/tex/context/base/mkxl/lpdf-ano.lmt @@ -85,21 +85,15 @@ local pdfaddtonames = lpdf.addtonames local pdfaddtopageattributes = lpdf.addtopageattributes local pdfrectangle = lpdf.rectangle -local pdfflushobject -local pdfshareobjectreference -local pdfreserveobject -local pdfpagereference -local pdfdelayedobject -local pdfregisterannotation +local pdfflushobject = lpdf.flushobject +local pdfshareobjectreference = lpdf.shareobjectreference +local pdfreserveobject = lpdf.reserveobject +local pdfpagereference = lpdf.pagereference +local pdfdelayedobject = lpdf.delayedobject -updaters.register("backend.update.lpdf",function() - pdfflushobject = lpdf.flushobject - pdfshareobjectreference = lpdf.shareobjectreference - pdfreserveobject = lpdf.reserveobject - pdfpagereference = lpdf.pagereference - pdfdelayedobject = lpdf.delayedobject - pdfregisterannotation = lpdf.registerannotation -end) +-- defined later on: + +local pdfregisterannotation -- todo: 3dview @@ -868,7 +862,7 @@ end local annotations = nil -function lpdf.registerannotation(n) +pdfregisterannotation = function(n) if annotations then annotations[#annotations+1] = pdfreference(n) else @@ -876,7 +870,7 @@ function lpdf.registerannotation(n) end end -pdfregisterannotation = lpdf.registerannotation +lpdf.registerannotation = pdfregisterannotation function lpdf.annotationspecification() if annotations then |