Filtering on type=inproceedings produces error
kleinschmidt opened this issue · 1 comments
Using type=inproceedings
in \printbibliography
should print only those items that are @inproceedings
, but it prints nothing and there's an error in the log like Package biblatex Warning: Type 'inproceedings' not found on input line 35.
. I think this has to do with treating inproceedings
as an alias for inbook
because with type=inbook
it prints BOTH @inproceedings
and @inbook
entries. I suspect there's a similar problem with book/proceedings
but haven't checked.
Here's MWE
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[babel=true,english=american]{csquotes}
\usepackage[style = apa, backend = biber, isbn = true, doi = true]{biblatex}
\begin{filecontents*}{lit.bib}
@inproceedings{blah,
title = {Blah blah blah},
author = {No, Body},
booktitle = {My great converence},
date = {2020},
editor = {Some, body},
publisher = {Really anyone},
location = {Nowhere, USA}
}
@inbook{blah2,
title = {Blah blah blah, blah},
author = {Body, No and Body, Any},
booktitle = {My great converence 2},
date = {2020},
editor = {Some, body},
publisher = {Really anyone},
location = {Nowhere, USA}
}
\end{filecontents*}
\addbibresource{lit.bib}
\begin{document}
\nocite{*}
\printbibliography[title={everything}]
\printbibliography[title={inbook},type=inbook]
\printbibliography[title={inproceedings},type=inproceedings]
\end{document}
This prints
In contrast, when run without style=apa
, I get
Edit: this is with 9.13 (on arch linux, via texlive-biblatexextra 2020.55376-1).
This is a style issue - inproceedings
and inbook
are the same in APA and so any attempt to distinguish them will just not really work - can you use another style if you need to do this?