crossref configuration
Closed this issue · 4 comments
Where are the crossref inheritance rules specified in biber? I thought that they were specified in biber-tool.conf in <inherit>
rules, but this MWE inherits from book
for incollection
, and I can't find that rule:
\documentclass{article}
\usepackage{apacite}
\bibliographystyle{apacite}
\usepackage{url}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@incollection{El-HusseiniToeplerSalamon:2004-incollection,
author = {Hashem El-Husseini and Stefan Toepler and Lester M. Salamon},
booktitle = {Global Civil Society: Dimensions of the Nonprofit Sector},
chapter = {12},
crossref = {SalamonSokolowski:2004},
pages = {227--32},
title = {Lebanon}}
@book{SalamonSokolowski:2004,
address = {Bloomfield, CT},
editor = {Lester M. Salamon and S. Wojciech Sokolowski},
publisher = {Kumarian Press},
title = {Global Civil Society: Dimensions of the Nonprofit Sector111},
volume = {2},
year = {2004}}
\end{filecontents}
\begin{document}
\nocite{*}
\bibliography{\jobname.bib}
\end{document}
biber-tool.conf
only controls the defaults for biber
in tool mode. In normal use, the defaults are passed in the .bcf
file and that is determined by the defaults in biblatex
. However, in your MWE, you aren't using biblatex
(and therefore biber
) at all and so I don't understand ...
Oops 😊
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=apa, backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{my-collection.bib}
@incollection{El-HusseiniToeplerSalamon:2004-incollection,
author = {Hashem El-Husseini and Stefan Toepler and Lester M. Salamon},
booktitle = {Global Civil Society: Dimensions of the Nonprofit Sector},
chapter = {12},
crossref = {SalamonSokolowski:2004},
pages = {227--32},
title = {Lebanon}}
@book{SalamonSokolowski:2004,
address = {Bloomfield, CT},
editor = {Lester M. Salamon and S. Wojciech Sokolowski},
publisher = {Kumarian Press},
title = {Global Civil Society: Dimensions of the Nonprofit Sector111},
volume = {2},
year = {2004}}
\end{filecontents*}
\addbibresource{my-collection.bib}
\begin{document}
\cite{El-HusseiniToeplerSalamon:2004-incollection}
\cite{SalamonSokolowski:2004}
\printbibliography
\end{document}
but does that mean there are no general inheritance rules? I'm sorry, I'm not intimately familiar with how biber
works... so should I look in the sources of biblatex
to see which .bcf
file is used to determine inheritance?
APA style maps incollection
to inbook
(see APA style docs) and biblatex
has a default inheritance of book->inbook (see Appendix B of the biblatex
manual for the default inheritance rules)