Re: [NTG-context] Bibliography contains references not cited in the text

2010-12-01 Thread Hans Hagen

On 30-11-2010 11:02, Curiouslearn wrote:

Perhaps, by coincidence the example that I sent had the bbl file
sorted. But the full file does not have the references sorted. Does
this mean I have to first get the bbl file sorted. If so, how do I do
that?

Why is Hans quiet if this is a bug? He usually always says something
about when he will fix it.


because i'm in the middle of something else and thomas will wrap up all 
problems with bibliographies so that i can look into it


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Bibliography contains references not cited in the text

2010-12-01 Thread Curiouslearn
Thanks a ton for doing all of this, Hans.

Thanks also to all other developers of Context.

On Wed, Dec 1, 2010 at 4:24 AM, Hans Hagen pra...@wxs.nl wrote:
 On 30-11-2010 11:02, Curiouslearn wrote:

 Perhaps, by coincidence the example that I sent had the bbl file
 sorted. But the full file does not have the references sorted. Does
 this mean I have to first get the bbl file sorted. If so, how do I do
 that?

 Why is Hans quiet if this is a bug? He usually always says something
 about when he will fix it.

 because i'm in the middle of something else and thomas will wrap up all
 problems with bibliographies so that i can look into it

 Hans


 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -

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


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-30 Thread Curiouslearn
Perhaps, by coincidence the example that I sent had the bbl file
sorted. But the full file does not have the references sorted. Does
this mean I have to first get the bbl file sorted. If so, how do I do
that?

Why is Hans quiet if this is a bug? He usually always says something
about when he will fix it.

Thanks.

On Mon, Nov 29, 2010 at 11:09 AM, Mathieu Boespflug mb...@tweag.net wrote:
 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

 On top of that, this is also documented in the bib module's manual.

 Except that doesn't seem to work with the bibliography being placed
 using \placepublications in its own chapter in the backmatter. A
 similar issue was reported in 2006

 http://www.mail-archive.com/ntg-context@ntg.nl/msg15442.html

 but the solution given then involved writing 
 \placepublications[criterium=all].
 ___
 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
 ___

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


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-29 Thread Robert Blackstone
On Sat, Nov 27, 2010 at 3:46 AM,  Curiouslearn curiousle...@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
___


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-29 Thread Taco Hoekwater

On 11/29/2010 12:41 PM, Robert Blackstone wrote:

On Sat, Nov 27, 2010 at 3:46 AM,  Curiouslearncuriousle...@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


On top of that, this is also documented in the bib module's manual.

Best wishes,
Taco
___
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
___


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-29 Thread Mathieu Boespflug
 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

 On top of that, this is also documented in the bib module's manual.

Except that doesn't seem to work with the bibliography being placed
using \placepublications in its own chapter in the backmatter. A
similar issue was reported in 2006

http://www.mail-archive.com/ntg-context@ntg.nl/msg15442.html

but the solution given then involved writing \placepublications[criterium=all].
___
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
___


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-26 Thread Taco Hoekwater

On 11/25/2010 07:40 PM, Curiouslearn wrote:

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.


Verified, this is a bug in mkiv. I have no idea how to fix this,
sorry.

Best wishes,
Taco
___
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
___


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-26 Thread Robert Blackstone
On Thu, Nov 25, 2010 at 8:43 PM,  Curiouslearn curiousle...@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
___


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-26 Thread Mathieu Boespflug
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
@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},

Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-26 Thread Taco Hoekwater

On 11/26/2010 01:07 PM, Mathieu Boespflug wrote:


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


The main problem is that the mkiv version of the bib module is a bit
of a mystery to me: the code is written by Hans.

Best wishes,
Taco
___
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
___


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-26 Thread Robert Blackstone
On Fri, Nov 26, 2010 at 5:15 PM,  Mathieu Boespflug mb...@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
___


Re: [NTG-context] Bibliography contains references not cited in the text

2010-11-26 Thread Curiouslearn
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.



On Fri, Nov 26, 2010 at 1:11 PM, Robert Blackstone
blackstone.rob...@gmail.com wrote:
 On Fri, Nov 26, 2010 at 5:15 PM,  Mathieu Boespflug mb...@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
 ___

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