diff options
author | Hans Hagen <pragma@wxs.nl> | 2009-09-14 12:39:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2009-09-14 12:39:00 +0200 |
commit | b6f05180d27bb8e4cb3e570633f16185eba987fe (patch) | |
tree | dfca13f926b32a193300ac7401581a99fb0e7ba9 /tex/context/base/strc-lst.lua | |
parent | ed88828fa950808bd5335a7f3342263d4b6e381d (diff) | |
download | context-b6f05180d27bb8e4cb3e570633f16185eba987fe.tar.gz |
beta 2009.09.14 12:39
Diffstat (limited to 'tex/context/base/strc-lst.lua')
-rw-r--r-- | tex/context/base/strc-lst.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/strc-lst.lua b/tex/context/base/strc-lst.lua index c29069121..64788e40e 100644 --- a/tex/context/base/strc-lst.lua +++ b/tex/context/base/strc-lst.lua @@ -198,6 +198,7 @@ local function filter_collected(names, criterium, number, collected) end end elseif criterium == variables.here then + -- this is qquite dirty ... as cnumbers is not sparse we can misuse #cnumbers if depth == 0 then return filter_collected(names,variables.intro,number,collected) else @@ -210,6 +211,7 @@ local function filter_collected(names, criterium, number, collected) local cnumbers = sectionnumber.numbers local metadata = v.metadata if cnumbers then +print(#cnumbers, depth, table.concat(cnumbers)) if metadata and not metadata.nolist and (all or hash[metadata.name or false]) and #cnumbers >= depth then local ok = true for d=1,depth do |