BibTeX, biblatex and biberInbook/incollection in Biblatex not displaying correctly

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
arnyeisntein
Posts: 2
Joined: Tue Jun 04, 2019 4:53 pm

Inbook/incollection in Biblatex not displaying correctly

Post by arnyeisntein »

Hi

Using biblatex to cite a chapter in a book or a collection leads to a bibliography that doesn't seem to be correct: Here an example
Jaccard, Mark (2009). “Combining top down and bottom up in energy economy models”. In: ed. by Joanne Evans and Lester C. Hunt. Edward Elgar. Chap. International Handbook on the Economics of Energy, pp. 311–332.
would expect the book/collection title after In: and don't know why there is a "Chap." in the citation.
I updated miktex, but the problem remains.
Here the code that reproduces on my computer the example above.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{xpatch}
\usepackage[style=authoryear, isbn=false, url=false,
 doi=false, backend=biber,defernumbers=true,uniquename=false, autolang=hyphen,bibencoding=UTF-8]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{sample.bib}
@InCollection{Jaccard2009,
  author    = {Mark Jaccard},
  title     = {Combining top down and bottom up in energy economy models},
  publisher = {Edward Elgar},
  year      = {2009},
  editor    = {Joanne Evans and Hunt, Lester C.},
  chapter   = {{International Handbook on the Economics of Energy}},
  pages     = {311-332},
  timestamp = {2019-05-28},
}
\end{filecontents}
\addbibresource{sample.bib} 

\begin{document}
\nocite{*}
\printbibliography

\end{document}
Anybody know what is going on here?

Thanks

Renger

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Inbook/incollection in Biblatex not displaying correctly

Post by Ijon Tichy »

Usage of wrong fields or wrong entry type. incollection uses either booktitle or crossref as the collection and title as the article title in this collection. So

Code: Select all

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{xpatch}
\usepackage[style=authoryear, isbn=false, url=false,
 doi=false, backend=biber,defernumbers=true,uniquename=false, autolang=hyphen,bibencoding=UTF-8]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@InCollection{Jaccard2009,
  author    = {Mark Jaccard},
  booktitle     = {Combining top down and bottom up in energy economy models},
  publisher = {Edward Elgar},
  year      = {2009},
  editor    = {Joanne Evans and Hunt, Lester C.},
  title     = {International Handbook on the Economics of Energy},
  pages     = {311-332},
  timestamp = {2019-05-28},
}
\end{filecontents}
\addbibresource{\jobname.bib} 

\begin{document}
\nocite{*}
\printbibliography

\end{document}
would give the expected result (as I understand your question). Alternatively you could try

Code: Select all

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{xpatch}
\usepackage[style=authoryear, isbn=false, url=false,
 doi=false, backend=biber,defernumbers=true,uniquename=false, autolang=hyphen,bibencoding=UTF-8]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Jaccard2009,
  author    = {Mark Jaccard},
  title     = {Combining top down and bottom up in energy economy models},
  publisher = {Edward Elgar},
  year      = {2009},
  editor    = {Joanne Evans and Hunt, Lester C.},
  chapter   = {International Handbook on the Economics of Energy},
  pages     = {311-332},
  timestamp = {2019-05-28},
}
\end{filecontents}
\addbibresource{\jobname.bib} 

\begin{document}
\nocite{*}
\printbibliography

\end{document}
with a somehow different result.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
arnyeisntein
Posts: 2
Joined: Tue Jun 04, 2019 4:53 pm

Inbook/incollection in Biblatex not displaying correctly

Post by arnyeisntein »

THanks!
Renger
Post Reply