根据在 biblatex 中使用“et al.”时,限制为一位作者biblatex 将通过扩展作者列表来确保引用关键字的唯一性。
在我的文档中,我使用默认样式。当我使用\citeauthor
biblatex 时,即使作者列表不是唯一的,它也会始终将作者列表截断为 1 个。有没有办法确保 biblatex 使用与提到的帖子中相同的行为\citeauthor
?
梅威瑟:
\documentclass{article}
\usepackage[bibencoding=utf8,backend=biber]{biblatex}
% These options are based on a template
\ExecuteBibliographyOptions{backref=false,backrefstyle=three+,url=true,urldate=comp,abbreviate=false,maxcitenames=2,maxbibnames=20, uniquelist=true}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{ABC01,
author = {Author, A. and Buthor, B. and C},
year = {2001},
title = {Alpha},
}
@misc{ADE01,
author = {Author, A. and Duthor, D. and E},
year = {2001},
title = {And now for something completely different},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
According to \citeauthor{ABC01} fact xy is true \cite{ABC01}.
However, \citeauthor{ADE01} mentions that there is some uncertainty \cite{ADE01}.
\printbibliography
\end{document}
答案1
选项uniquelist=true,
(您的示例已加载)旨在使姓名列表(包括 打印的姓名列表\citeauthor
)唯一。不幸的是,Biber 2.13 中有一个错误,如果未设置,它将无法uniquelist
正常工作。请参阅uniquename
https://github.com/plk/biblatex/issues/924。此错误将在下一个 Biber 版本中得到解决。
与此同时,您可以添加该选项uniquename=true,
作为解决方法。当然,这意味着您也可以使用首字母来消除同姓氏人的歧义。
\documentclass{article}
\usepackage[backend=biber, style=numeric
maxcitenames=2, uniquelist=true, uniquename=true]{biblatex}
\begin{filecontents}{\jobname.bib}
@misc{ABC01,
author = {Author, A. and Buthor, B. and C},
year = {2001},
title = {Alpha},
}
@misc{ADE01,
author = {Author, A. and Duthor, D. and E},
year = {2001},
title = {And now for something completely different},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
According to \citeauthor{ABC01} fact xy is true \cite{ABC01}.
However, \citeauthor{ADE01} mentions that there is some uncertainty \cite{ADE01}.
\printbibliography
\end{document}