diff options
author | Marius <mariausol@gmail.com> | 2012-12-29 00:00:16 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-12-29 00:00:16 +0200 |
commit | f8d3835211dbbac2ed31376d655642571db52f4e (patch) | |
tree | 81017e6a4f1c5351cf2bc4d3b15a1b838e4394e4 /tex/context/base/strc-lst.lua | |
parent | 290581646ba1e91eb2be7086ec32653d1a33841f (diff) | |
download | context-f8d3835211dbbac2ed31376d655642571db52f4e.tar.gz |
beta 2012.12.28 20:30
Diffstat (limited to 'tex/context/base/strc-lst.lua')
-rw-r--r-- | tex/context/base/strc-lst.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/strc-lst.lua b/tex/context/base/strc-lst.lua index 13ea04489..115b58063 100644 --- a/tex/context/base/strc-lst.lua +++ b/tex/context/base/strc-lst.lua @@ -249,7 +249,7 @@ local function filtercollected(names, criterium, number, collected, forced, nest if block == "" then block = false end ---~ print(">>",block,criterium) +-- print(">>",block,criterium) -- forced = forced or { } -- todo: also on other branched, for the moment only needed for bookmarks if type(names) == "string" then @@ -274,7 +274,7 @@ local function filtercollected(names, criterium, number, collected, forced, nest for i=1,#collected do local v = collected[i] local r = v.references - if r then + if r and (not block or not r.block or block == r.block) then local metadata = v.metadata if metadata then local name = metadata.name or false |