From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63943 Path: news.gmane.org!not-for-mail From: Mathieu Boespflug Newsgroups: gmane.comp.tex.context Subject: Re: Bibliography contains references not cited in the text Date: Fri, 26 Nov 2010 13:07:09 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016367f9af4d79d670495f38ffc X-Trace: dough.gmane.org 1290773258 14977 80.91.229.12 (26 Nov 2010 12:07:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Nov 2010 12:07:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 26 13:07:31 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PLx5N-0006Qb-4G for gctc-ntg-context-518@m.gmane.org; Fri, 26 Nov 2010 13:07:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08BFACA889; Fri, 26 Nov 2010 13:07:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R7eVOsCWm5hX; Fri, 26 Nov 2010 13:07:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D256CA869; Fri, 26 Nov 2010 13:07:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FE08CA869 for ; Fri, 26 Nov 2010 13:07:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sWPmoPQnTjXt for ; Fri, 26 Nov 2010 13:07:11 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 7CB63CA83B for ; Fri, 26 Nov 2010 13:07:11 +0100 (CET) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAQC7As3019628 for ; Fri, 26 Nov 2010 13:07:10 +0100 Original-Received: by qyk4 with SMTP id 4so5219184qyk.14 for ; Fri, 26 Nov 2010 04:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=RVXHuWy3Bx1gNMjz663R54JP/N+ctJE87dKaHiUDuxU=; b=ZXywuqblCEHW6NSPEDl1a/Ytr/mxchQBppJrx36nVilJxObN/1nPFe45llvK0b80l4 PKUgvFSvM78KIIAr1Y9FXpAKy3vdf8YoGnr/NlJanBQ+Ow3aF4fivur1HmqFYvXqxpaQ M9KJVuyGJiSmzUsNYM7/1RqySO1NfpiYpgb1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=OOur/D6AhJFlc4WQNHh9lP4PxJiqsRq3eHuwc9KWC2YqeYekKMd8RvWbF6k+/T+w9y /E3a4tarn1g6i0gU+nfGYIkqeEp7CrcDLsB+c+SqRsYaIQUs1jnfjFcckbW5/7MiKZE8 DOQZoe+BzevuCl69nWHt1Y0nYZ2BOa2AlYQYA= Original-Received: by 10.229.88.19 with SMTP id y19mr1726556qcl.103.1290773229706; Fri, 26 Nov 2010 04:07:09 -0800 (PST) Original-Received: by 10.229.121.6 with HTTP; Fri, 26 Nov 2010 04:07:09 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: FoRg5yW-WqqhXDrFGE8VGGjl00Q X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDzM7agy - e6041912c5fb - 20101126 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:63943 Archived-At: --0016367f9af4d79d670495f38ffc Content-Type: text/plain; charset=UTF-8 Hi, >> I am having trouble with the bib module. The bibliography section of >> my article contains references that I have not cited in the text. >> These are in my .bib file, but it seems to me that references that >> were not cited in the text were ignored when constructing the >> bibliography. > > Hi, > When you add > > \nocite[Aucremanne2005] > \nocite[Fabiani2007] > > > before \section{References} > these non cited publications will show up in your bibliography. (At > least it does here with Minimals of 24 november) ... which is the way it should be, no? The problem of the original poster is that these entries should not appear in the bibliography despite being in the .bib file, because they aren't mentionned at all in the main text. I can confirm this issue. I have run into myself in typesetting my thesis. Taco, if it can help you track down the bug, IIRC, this problem appeared sometime around beginning of October, though the bib module of previous versions of mkIV had other bugs that made it unusable (such as sorting by author not working). Also, there is another bug in the bib module, which i find very strange. If we augment the OP's .bib file with two more entries, and cite those, then one of them does *not* appear in the bibliography despite being cited. It also creates a big blank in the bibliography. Here's a minimal example. bib file attached. In my real thesis bibliography (over 200 entries), there are several such entries missing and several big blanks of varying sizes in the Bibliography section. Regards, Mathieu \setuppapersize[letter][letter] \setuplayout[backspace=1.25in, width=middle,topspace=0.75in,headerheight=0.5in,bottomspace=0.75in,footerheight=0.5in] \setupwhitespace[medium] \setuppagenumbering[location=footer] \setuphead[section][textstyle=bold, numberstyle=bold, continue=yes] \usemodule[bib] \setupbibtex[database=templib] \setuppublications[refcommand=authoryear] \setupcite[authoryears][left=,right=] \starttext \section{Main Body} This file is for testing whether the bibliography works. There seems to be some problem. Let us first cite \cite[Aghion1991], then we will cite \cite[authoryears][Trefler1993]. In the new para we cite: \cite[Segal2003] Now let's cite two more articles: the old \cite[reynolds:defints1972] and the new \cite[reynolds:defints]. \section{References} \placepublications[criterium=all] \stoptext --0016367f9af4d79d670495f38ffc Content-Type: text/x-bibtex; charset=UTF-8; name="templib.bib" Content-Disposition: attachment; filename="templib.bib" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ggz0ztxq0 QGFydGljbGV7VHJlZmxlcjE5OTMsCmF1dGhvciA9IHtUcmVmbGVyLCBEYW5pZWx9LApkb2kgPSB7 MTAuMjMwNy8yNTI3MTgyfSwKZmlsZSA9IHs6VXNlcnMvYmxiZ3NlL0xpYnJhcnkvQXBwbGljYXRp b24gU3VwcG9ydC9NZW5kZWxleSBEZXNrdG9wL0Rvd25sb2FkZWQvVHJlZmxlciAtIDE5OTMgLSBU aGUgSWdub3JhbnQgTW9ub3BvbGlzdCBPcHRpbWFsIExlYXJuaW5nIHdpdGggRW5kb2dlbm91cyBJ bmZvcm1hdGlvbi5wZGY6cGRmfSwKaXNzbiA9IHswMDIwNjU5OH0sCmpvdXJuYWwgPSB7SW50ZXJu YXRpb25hbCBFY29ub21pYyBSZXZpZXd9LAprZXl3b3JkcyA9IHtEZW1hbmQgdW5jZXJ0YWludHks TW9ub3BvbHksVW5rbm93biBkZW1hbmR9LAptZW5kZWxleS10YWdzID0ge0RlbWFuZCB1bmNlcnRh aW50eSxNb25vcG9seSxVbmtub3duIGRlbWFu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yID0ge0FDTSwgTmV3IFlvcmt9LAogIG5vdGUgICAg ICA9IHtSZXB1Ymxpw6kgZW4gdGFudCBxdWUgXGNpdGVbcmV5bm9sZHM6ZGVmaW50c10ufQp9CgpA YXJ0aWNsZXtyZXlub2xkczpkZWZpbnRzLAogIHRpdGxlPXt7RGVmaW5pdGlvbmFsIGludGVycHJl dGVycyBmb3IgaGlnaGVyLW9yZGVyIHByb2dyYW1taW5nIGxhbmd1YWdlc319LAogIGF1dGhvcj17 UmV5bm9sZHMsIEouQy59LAogIGpvdXJuYWw9e0hpZ2hlci1vcmRlciBhbmQgc3ltYm9saWMgY29t cHV0YXRpb259LAogIHZvbHVtZT17MTF9LAogIG51bWJlcj17NH0sCiAgcGFnZXM9ezM2My0tMzk3 fSwKICBpc3NuPXsxMzg4LTM2OTB9LAogIHllYXI9ezE5OTh9LAogIHB1Ymxpc2hlcj17U3ByaW5n ZXJ9Cn0KCg== --0016367f9af4d79d670495f38ffc Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --0016367f9af4d79d670495f38ffc--