summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/strc-ref.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-03-30 14:22:51 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-03-30 14:22:51 +0200
commit8dcafbcc0fbdde27cf480584450516602daacd42 (patch)
treee86361c3ded314bfa4be74fba251e187b6fdfe67 /tex/context/base/mkiv/strc-ref.lua
parentdd8e1bab358884db6ba3f2373f515fbcc991e5ee (diff)
downloadcontext-8dcafbcc0fbdde27cf480584450516602daacd42.tar.gz
2020-03-30 13:35:00
Diffstat (limited to 'tex/context/base/mkiv/strc-ref.lua')
-rw-r--r--tex/context/base/mkiv/strc-ref.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/strc-ref.lua b/tex/context/base/mkiv/strc-ref.lua
index c85b3338a..fb4d22807 100644
--- a/tex/context/base/mkiv/strc-ref.lua
+++ b/tex/context/base/mkiv/strc-ref.lua
@@ -2615,6 +2615,17 @@ implement {
-- }
implement {
+ name = "askedreference",
+ public = true,
+ actions = function()
+ local actions = references.currentset
+ if actions then
+ context("[p=%s,r=%s]",actions.prefix or "",actions.reference)
+ end
+ end
+}
+
+implement {
name = "referencerealpage",
actions = function()
local actions = references.currentset