ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Missing booktitle in "incollection" bib-entries
@ 2011-09-25 18:53 Stefan Müller
  2011-09-25 19:27 ` Pontus Lurcock
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Müller @ 2011-09-25 18:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi list,

I have an @incollection-entry with "booktitle" set in a bib-file used in 
a ConTeXt document.  Unfortunately there is no \title, generated from 
"booktitle", in the respective .bbl file.  Only \arttitle, generated 
from the bib-key "title", is present.  Guess it's a bug(?)

Best regards,
Stefan
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Missing booktitle in "incollection" bib-entries
  2011-09-25 18:53 Missing booktitle in "incollection" bib-entries Stefan Müller
@ 2011-09-25 19:27 ` Pontus Lurcock
  2011-09-26  9:31   ` Stefan Müller
  0 siblings, 1 reply; 3+ messages in thread
From: Pontus Lurcock @ 2011-09-25 19:27 UTC (permalink / raw)
  To: ntg-context

On Sun 25 Sep 2011, Stefan Müller wrote:

> I have an @incollection-entry with "booktitle" set in a bib-file used in  
> a ConTeXt document.  Unfortunately there is no \title, generated from  
> "booktitle", in the respective .bbl file.  Only \arttitle, generated  
> from the bib-key "title", is present.  Guess it's a bug(?)

Hmm, can't reproduce here. Here's what I'm using:

file test.tex:

\setupbibtex[database=test]
\starttext
\cite[ernst1989anisotropy]
\placepublications[criterium=cite]
\stoptext

file test.bib:

@incollection{ernst1989anisotropy,
  title = {Averaging of anisotropy of magnetic susceptibility data},
  author = {Ernst, R. E. and Pearce, G. W.},
  booktitle = {Statistical Applications in the Earth Sciences},
  editor = {Agterberg, F. P. and Bonham-Carter, G. F.},
  note = {Paper 89-9},
  pages = {297--305},
  year = {1989},
  publisher = {Geological Survey of Canada}
}

produces the following test.bbl:

\setuppublicationlist[samplesize={EP89},totalnumber=1]

\startpublication[k=ernst1989anisotropy,t=incollection,
a={{Ernst},{Pearce}},y=1989,
n=1,s=EP89]
\artauthor[]{R.~E.}[R.~E.]{}{Ernst}
\artauthor[]{G.~W.}[G.~W.]{}{Pearce}
\pubyear{1989}
\arttitle{Averaging of anisotropy of magnetic susceptibility data}
\editor[]{F.~P.}[F.~P.]{}{Agterberg}
\editor[]{G.~F.}[G.~F.]{}{Bonham-Carter}
\title{Statistical Applications in the Earth Sciences}
\pages{297--305}
\pages{297--305}
\pubname{Geological Survey of Canada}
\note{Paper 89-9}
\stoppublication

... and the PDF shows both the article and book title. This works with
MkIV 2011.02.25 and 2011.09.20.

Pont
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Missing booktitle in "incollection" bib-entries
  2011-09-25 19:27 ` Pontus Lurcock
@ 2011-09-26  9:31   ` Stefan Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Müller @ 2011-09-26  9:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thank you very much Pont.  My fault, I found the problem.  I had set the 
"crossref"-key in my bib-entry, which obviously causes that the 
"booktitle" is not in the bbl file.  Now I also understand the .bst 
files there.  Indeed, with the crossref set I don't really need the 
booktitle in the reference, but it could be useful to have the booktitle 
also available, in case of a custom style...

Stefan

On 25.09.2011 21:27, Pontus Lurcock wrote:
> On Sun 25 Sep 2011, Stefan Müller wrote:
>
>> I have an @incollection-entry with "booktitle" set in a bib-file used in
>> a ConTeXt document.  Unfortunately there is no \title, generated from
>> "booktitle", in the respective .bbl file.  Only \arttitle, generated
>> from the bib-key "title", is present.  Guess it's a bug(?)
>
> Hmm, can't reproduce here. Here's what I'm using:
>
> file test.tex:
>
> \setupbibtex[database=test]
> \starttext
> \cite[ernst1989anisotropy]
> \placepublications[criterium=cite]
> \stoptext
>
> file test.bib:
>
> @incollection{ernst1989anisotropy,
>    title = {Averaging of anisotropy of magnetic susceptibility data},
>    author = {Ernst, R. E. and Pearce, G. W.},
>    booktitle = {Statistical Applications in the Earth Sciences},
>    editor = {Agterberg, F. P. and Bonham-Carter, G. F.},
>    note = {Paper 89-9},
>    pages = {297--305},
>    year = {1989},
>    publisher = {Geological Survey of Canada}
> }
>
> produces the following test.bbl:
>
> \setuppublicationlist[samplesize={EP89},totalnumber=1]
>
> \startpublication[k=ernst1989anisotropy,t=incollection,
> a={{Ernst},{Pearce}},y=1989,
> n=1,s=EP89]
> \artauthor[]{R.~E.}[R.~E.]{}{Ernst}
> \artauthor[]{G.~W.}[G.~W.]{}{Pearce}
> \pubyear{1989}
> \arttitle{Averaging of anisotropy of magnetic susceptibility data}
> \editor[]{F.~P.}[F.~P.]{}{Agterberg}
> \editor[]{G.~F.}[G.~F.]{}{Bonham-Carter}
> \title{Statistical Applications in the Earth Sciences}
> \pages{297--305}
> \pages{297--305}
> \pubname{Geological Survey of Canada}
> \note{Paper 89-9}
> \stoppublication
>
> ... and the PDF shows both the article and book title. This works with
> MkIV 2011.02.25 and 2011.09.20.
>
> Pont
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-09-26  9:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-25 18:53 Missing booktitle in "incollection" bib-entries Stefan Müller
2011-09-25 19:27 ` Pontus Lurcock
2011-09-26  9:31   ` Stefan Müller

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