diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-12-28 20:30:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-12-28 20:30:00 +0100 |
commit | 58f3f55b58d34d4a4b70a6099a81296b862e6d9f (patch) | |
tree | 6c2b139494f1af844a911bff3d510ccffcc9991f /tex/context/base/strc-lst.lua | |
parent | 4c30ec7a1d7f8a2ba19eb9a918723ca4369a8b7f (diff) | |
download | context-58f3f55b58d34d4a4b70a6099a81296b862e6d9f.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 |