summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-lst.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-04-22 18:17:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-04-22 18:17:00 +0200
commite959bf30768a30be6e3a2fb81222d6bea442dc45 (patch)
tree9e965a184ff0e929c3de1d1237af38896280e393 /tex/context/base/strc-lst.lua
parent1957d157cef3b1f7e37740c831daa7994791129a (diff)
downloadcontext-e959bf30768a30be6e3a2fb81222d6bea442dc45.tar.gz
beta 2011.04.22 18:17
Diffstat (limited to 'tex/context/base/strc-lst.lua')
-rw-r--r--tex/context/base/strc-lst.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/strc-lst.lua b/tex/context/base/strc-lst.lua
index 6a7a7d8c7..086f42c93 100644
--- a/tex/context/base/strc-lst.lua
+++ b/tex/context/base/strc-lst.lua
@@ -489,6 +489,14 @@ function lists.location(n)
texsprint(l.references.internal or n)
end
+function lists.label(n)
+ local l = lists.result[n]
+ local t = l.titledata
+ if t then
+ texsprint(t.label)
+ end
+end
+
function lists.sectionnumber(name,n,spec)
local data = lists.result[n]
local sectiondata = sections.collected[data.references.section]