diff options
author | Marius <mariausol@gmail.com> | 2011-04-22 19:40:44 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-04-22 19:40:44 +0300 |
commit | 6f891b8572f03990803f9cb1ceb5870fcbe4d240 (patch) | |
tree | 419dc45860d70876c4a7e590eae9fc38cfcde8a0 /tex/context/base/strc-lst.lua | |
parent | 48aee08be6614bf30710ae7c42248f64d55f8f22 (diff) | |
download | context-6f891b8572f03990803f9cb1ceb5870fcbe4d240.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.lua | 8 |
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] |