summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-epa.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/lpdf-epa.lmt')
-rw-r--r--tex/context/base/mkxl/lpdf-epa.lmt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/lpdf-epa.lmt b/tex/context/base/mkxl/lpdf-epa.lmt
index 00d9f3c4b..b37e9c043 100644
--- a/tex/context/base/mkxl/lpdf-epa.lmt
+++ b/tex/context/base/mkxl/lpdf-epa.lmt
@@ -36,6 +36,8 @@ local context = context
local nodeinjections = backends.pdf.nodeinjections
+local setmacro = tokens.setters.macro
+
local pdfarray = lpdf.array
local pdfdictionary = lpdf.dictionary
local pdfconstant = lpdf.constant
@@ -337,7 +339,7 @@ function codeinjections.mergereferences(specification)
end
end
-- moved outside previous test
- context.setgvalue("figurereference",reference) -- global, todo: setmacro
+ setmacro("mergedfigurereference",reference,"global")
if trace_links then
report_link("setting figure reference to %a",reference)
end