ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mathieu Boespflug <mboes@tweag.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bibliography contains references not cited in the text
Date: Fri, 26 Nov 2010 13:07:09 +0100	[thread overview]
Message-ID: <AANLkTin_w4LLQP8KYhtO3He8XrbWB_QABUGktogUJHP=@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinuOC54RfmRkd8V8eiaN9aEARCcZT0ydtwRuLmF@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2403 bytes --]

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

[-- Attachment #2: templib.bib --]
[-- Type: text/x-bibtex, Size: 3997 bytes --]

@article{Trefler1993,
author = {Trefler, Daniel},
doi = {10.2307/2527182},
file = {:Users/blbgse/Library/Application Support/Mendeley Desktop/Downloaded/Trefler - 1993 - The Ignorant Monopolist Optimal Learning with Endogenous Information.pdf:pdf},
issn = {00206598},
journal = {International Economic Review},
keywords = {Demand uncertainty,Monopoly,Unknown demand},
mendeley-tags = {Demand uncertainty,Monopoly,Unknown demand},
month = aug,
number = {3},
pages = {565},
title = {{The Ignorant Monopolist: Optimal Learning with Endogenous Information}},
url = {http://www.jstor.org/stable/2527182?origin=crossref},
volume = {34},
year = {1993}
}
@article{Segal2003,
author = {Segal, Ilya R.},
file = {:Users/blbgse/Library/Application Support/Mendeley Desktop/Downloaded/Segal - 2003 - Optimal Pricing Mechanisms with Unknown Demand(2).pdf:pdf;:Users/blbgse/Library/Application Support/Mendeley Desktop/Downloaded/Segal - 2003 - Optimal Pricing Mechanisms with Unknown Demand.pdf:pdf;:Users/blbgse/Library/Application Support/Mendeley Desktop/Downloaded/Segal - 2003 - Optimal Pricing Mechanisms with Unknown Demand.tex:tex},
issn = {1556-5068},
journal = {American Economic Review},
number = {3},
pages = {509--529},
title = {{Optimal Pricing Mechanisms with Unknown Demand}},
volume = {93},
year = {2003}
}
@article{Aghion1991,
author = {Aghion, Philippe and Bolton, Patrick and Harris, Christopher and Jullien, Bruno},
doi = {10.2307/2297825},
file = {:Users/blbgse/Library/Application Support/Mendeley Desktop/Downloaded/Aghion et al. - 1991 - Optimal Learning by Experimentation(2).pdf:pdf;:Users/blbgse/Library/Application Support/Mendeley Desktop/Downloaded/Aghion et al. - 1991 - Optimal Learning by Experimentation.pdf:pdf},
issn = {00346527},
journal = {The Review of Economic Studies},
month = jun,
number = {4},
pages = {621},
title = {{Optimal Learning by Experimentation}},
url = {http://www.jstor.org/stable/2297825?origin=crossref},
volume = {58},
year = {1991}
}
@article{Aucremanne2005,
author = {Aucremanne, L. and Druant, M.},
file = {:Users/blbgse/Library/Application Support/Mendeley Desktop/Downloaded/Be et al. - Unknown - WO R K I N G PA P E R S E R I E S N O . 4 4 8 M A R C H 2 0 0 5 BEHAVIOUR IN BELGIUM WHAT CAN BE LEARNED FROM AN AD HOC SURVEY by Luc Aucremanne and Martine Druant WO R K I N G PA P E R S E R I E S WHAT CAN BE LEARNED FROM.pdf:pdf},
journal = {National Bank of Belgium Working Paper No. 65 - Research Series},
title = {{Price-Setting Behavior in Belgium: What can be learned from an ad-hoc survey?}},
url = {http://papers.ssrn.com/sol3/papers.cfm?abstract\_id=668248},
year = {2005}
}
@article{Fabiani2007,
author = {Fabiani, S. and Gattulli, A. and Sabbatini, R.},
file = {:Users/blbgse/Library/Application Support/Mendeley Desktop/Downloaded/Fabiani, Gattulli, Sabbatini - 2007 - The Pricing Behavior of Italian Firms.pdf:pdf},
journal = {area: how firms set prices},
number = {515},
pages = {110},
publisher = {Oxford University Press, USA},
title = {{The Pricing Behavior of Italian Firms}},
url = {http://books.google.com/books?hl=en\&amp;lr=\&amp;id=2NYtQ3DVY3cC\&amp;oi=fnd\&amp;pg=PA110\&amp;dq=The+Pricing+Behavior+of+Italian+Firms:+New+Survey+Evidence+on+Price+Stickiness\&amp;ots=L-0XAawg3h\&amp;sig=CbdHk4CnJ9RQIFwiu5XwYUYtxzQ},
year = {2007}
}

@conference{reynolds:defints1972,
  author    = {John C. Reynolds},
  title     = {Definitional interpreters for higher-order programming languages},
  booktitle = {{Proceedings of the ACM Annual Conference}},
  year      = {1972},
  month     = {august},
  pages     = {717--740},
  volume    = {2},
  publisher = {ACM, New York},
  note      = {Republié en tant que \cite[reynolds:defints].}
}

@article{reynolds:defints,
  title={{Definitional interpreters for higher-order programming languages}},
  author={Reynolds, J.C.},
  journal={Higher-order and symbolic computation},
  volume={11},
  number={4},
  pages={363--397},
  issn={1388-3690},
  year={1998},
  publisher={Springer}
}


[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2010-11-26 12:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 11:29 Robert Blackstone
2010-11-26 12:07 ` Mathieu Boespflug [this message]
2010-11-26 12:27   ` Taco Hoekwater
  -- strict thread matches above, loose matches on Subject: below --
2010-11-29 11:41 Robert Blackstone
2010-11-29 12:00 ` Taco Hoekwater
2010-11-29 16:09   ` Mathieu Boespflug
2010-11-30 22:02     ` Curiouslearn
2010-12-01  9:24       ` Hans Hagen
2010-12-02  1:49         ` Curiouslearn
2010-11-26 18:11 Robert Blackstone
2010-11-27  2:46 ` Curiouslearn
2010-11-25 18:40 Curiouslearn
2010-11-26  8:46 ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTin_w4LLQP8KYhtO3He8XrbWB_QABUGktogUJHP=@mail.gmail.com' \
    --to=mboes@tweag.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).