\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}
com citações
@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"
}
Não tem o resultado esperado. A palavra-chave não é reconhecida. Assim, o primeiro \printbibliography não imprime nada e o segundo imprime ambos. O que estou fazendo de errado?
Responder1
A chave no arquivo .bib deve ser keywords
, não keyword
. Você pode colocar várias palavras-chave aqui, daí o nome.
\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}