summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-lst.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-lst.lua')
-rw-r--r--tex/context/base/strc-lst.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/strc-lst.lua b/tex/context/base/strc-lst.lua
index 4ed542eb6..4c9a7217e 100644
--- a/tex/context/base/strc-lst.lua
+++ b/tex/context/base/strc-lst.lua
@@ -40,6 +40,7 @@ local sections = structures.sections
local helpers = structures.helpers
local documents = structures.documents
local tags = structures.tags
+local counters = structures.counters
local references = structures.references
local collected = allocate()
@@ -207,7 +208,7 @@ function lists.addto(t) -- maybe more more here (saves parsing at the tex end)
if numberdata then
local numbers = numberdata.numbers
if type(numbers) == "string" then
- numberdata.numbers = structures.counters.compact(numbers,nil,true)
+ numberdata.numbers = counters.compact(numbers,nil,true)
end
end
local group = numberdata and numberdata.group
@@ -1021,7 +1022,7 @@ implement {
}
},
{ "numberdata", {
- { "numbers" }, -- = structures.counters.compact("\currentcounter",nil,true),
+ { "numbers" },
{ "groupsuffix" },
{ "group" },
{ "counter" },