summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-ref.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-ref.lua')
-rw-r--r--tex/context/base/strc-ref.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/context/base/strc-ref.lua b/tex/context/base/strc-ref.lua
index 8fab48697..03c755f57 100644
--- a/tex/context/base/strc-ref.lua
+++ b/tex/context/base/strc-ref.lua
@@ -922,7 +922,7 @@ function jobreferences.doifelse(prefix,reference,highlight,newwindow,layer)
end
function jobreferences.setinternalreference(prefix,tag,internal,view)
- local t = { }
+ local t = { } -- maybe add to current
if tag then
if prefix and prefix ~= "" then
prefix = prefix .. ":"
@@ -943,12 +943,11 @@ function jobreferences.setinternalreference(prefix,tag,internal,view)
return destination
end
-function jobreferences.getinternalreference(n) -- n points into list
+function jobreferences.getinternalreference(n) -- n points into list (todo: registers)
local l = structure.lists.collected[n]
texsprint(ctxcatcodes,(l and l.references.internal) or n)
end
-
--
function jobreferences.get_current_metadata(tag)