\documentclass{article}
\usepackage[backend=biber,style=ieee,sorting=ynt,defernumbers=true]{biblatex}
\addbibresource{references.bib}
\begin{document}
\section{Introduction}
\nocite{*}
\subsection*{Conference Articles}
\printbibliography[heading=none, resetnumbers,keyword={key1}]
\subsection*{Conference Abstracts}
\printbibliography[heading=none, resetnumbers,notkeyword={key1}]
\end{document}
mit Zitaten
@inproceedings{citation1,
author = "last1 , First1",
title = "title1",
booktitle = "book1",
pages = "0333",
year = "2022",
keyword="key1"
}
@inproceedings{citation2,
author = "Last2, First2",
title = "title2",
booktitle = "book2",
pages = "0045",
year = "2022"
}
Ergibt nicht die erwartete Ausgabe. Das Schlüsselwort wird überhaupt nicht erkannt. Daher druckt das erste \printbibliography nichts und das zweite beides. Was mache ich falsch?
Antwort1
Der Schlüssel in der .bib-Datei sollte lauten keywords
, nicht keyword
. Sie können hier mehrere Schlüsselwörter eingeben, daher der Name.
\documentclass{article}
\begin{filecontents}{references.bib}
@inproceedings{citation1,
author = "last1 , First1",
title = "title1",
booktitle = "book1",
pages = "0333",
year = "2022",
keywords = "key1"
}
@inproceedings{citation2,
author = "Last2, First2",
title = "title2",
booktitle = "book2",
pages = "0045",
year = "2022"
}
\end{filecontents}
\usepackage[
backend=biber,
style=ieee,
sorting=ynt,
defernumbers=true
]{biblatex}
\addbibresource{references.bib}
\begin{document}
\section{Introduction}
\nocite{*}
\subsection*{Conference Articles}
\printbibliography[
heading=none,
resetnumbers,
keyword={key1}
]
\subsection*{Conference Abstracts}
\printbibliography[
heading=none,
resetnumbers,
notkeyword={key1}
]
\end{document}