diff options
Diffstat (limited to 'tex/context/base/data-lst.lua')
-rw-r--r-- | tex/context/base/data-lst.lua | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/tex/context/base/data-lst.lua b/tex/context/base/data-lst.lua index a09a9743c..0cea5b4d9 100644 --- a/tex/context/base/data-lst.lua +++ b/tex/context/base/data-lst.lua @@ -36,23 +36,10 @@ end function resolvers.listers.variables (report,pattern) list(resolvers.instance.variables, report,pattern) end function resolvers.listers.expansions(report,pattern) list(resolvers.instance.expansions,report,pattern) end -function resolvers.listers.configurations(report,pattern) - pattern = pattern and pattern ~= "" and upper(pattern) or "" +function resolvers.listers.configurations(report) + local configurations = resolvers.instance.specification local report = report or texio.write_nl - local instance = resolvers.instance - local sorted = table.sortedkeys(instance.kpsevars) - for i=1,#sorted do - local key = sorted[i] - if pattern == "" or find(upper(key),pattern) then - report(format("%s\n",key)) - local order = instance.order - for i=1,#order do - local str = order[i][key] - if str then - report(format("\t%s\t%s",i,str)) - end - end - report("") - end + for i=1,#configurations do + report(configurations[i]) end end |