ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Bibliography contains references not cited in the text
@ 2010-11-29 11:41 Robert Blackstone
  2010-11-29 12:00 ` Taco Hoekwater
  0 siblings, 1 reply; 13+ messages in thread
From: Robert Blackstone @ 2010-11-29 11:41 UTC (permalink / raw)
  To: ntg-context

On Sat, Nov 27, 2010 at 3:46 AM,  Curiouslearn <curiouslearn@gmail.com> wrote:

> Thanks to all who replied to this.  If there is a bug, I am sure Hans
> will fix it. That is assuring.
>
> Robert, your suggestion helps removing uncited articles from the
> references...however, the references I got were not sorted anymore.
>

No, indeed they were not sorted. But I saw that the the .bbl file was
sorted. I then found that when you add sorttype=bbl as an argument to
\setuppublications  (so, in your example use
\setuppublications[refcommand=authoryear,sorttype=bbl]) and use
\placepublications[] you will get the cited publications sorted
alphabetically by author name.

I later saw that this solution was already given by Aditya Mahajan in
ntg-context Digest, Vol 76, Issue 141	Date: 	29 oktober 2010, Message
4, Subject:  sorttype for bibtex

Regards,
Robert Blackstone
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Bibliography contains references not cited in the text
@ 2010-11-26 18:11 Robert Blackstone
  2010-11-27  2:46 ` Curiouslearn
  0 siblings, 1 reply; 13+ messages in thread
From: Robert Blackstone @ 2010-11-26 18:11 UTC (permalink / raw)
  To: ntg-context

On Fri, Nov 26, 2010 at 5:15 PM,  Mathieu Boespflug <mboes@tweag.net> wrote:

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

Hi,
Apparently I misunderstood the problem in the original post. If you do
not want to mention uncited literature in your bibliography leave the
argument of  \placepublications[] empty  or comment out
%[criterium=all].

Regards,
Robert Blackstone
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Bibliography contains references not cited in the text
@ 2010-11-26 11:29 Robert Blackstone
  2010-11-26 12:07 ` Mathieu Boespflug
  0 siblings, 1 reply; 13+ messages in thread
From: Robert Blackstone @ 2010-11-26 11:29 UTC (permalink / raw)
  To: ntg-context

On Thu, Nov 25, 2010 at 8:43 PM,  Curiouslearn <curiouslearn@gmail.com> wrote:


> 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)
Regards,
Robert Blackstone
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Bibliography contains references not cited in the text
@ 2010-11-25 18:40 Curiouslearn
  2010-11-26  8:46 ` Taco Hoekwater
  0 siblings, 1 reply; 13+ messages in thread
From: Curiouslearn @ 2010-11-25 18:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

Hi All,

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.

This is a minimal example. The bib file is attached. Thanks very much
for your help.


\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]

\section{References}
\placepublications[criterium=all]
\stoptext

[-- Attachment #2: templib.bib --]
[-- Type: application/octet-stream, Size: 3305 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}
}

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-12-02  1:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-29 11:41 Bibliography contains references not cited in the text 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
  -- strict thread matches above, loose matches on Subject: below --
2010-11-26 18:11 Robert Blackstone
2010-11-27  2:46 ` Curiouslearn
2010-11-26 11:29 Robert Blackstone
2010-11-26 12:07 ` Mathieu Boespflug
2010-11-26 12:27   ` Taco Hoekwater
2010-11-25 18:40 Curiouslearn
2010-11-26  8:46 ` Taco Hoekwater

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).