奇怪的 biblatex 行為(在 sharelatex.com 上)

奇怪的 biblatex 行為(在 sharelatex.com 上)

這個tex程式碼的編譯

\documentclass{article}

\usepackage[utf8]{inputenc}

\usepackage[natbib, maxcitenames=3, style=authoryear]{biblatex}

\usepackage{filecontents}
\begin{filecontents}{bib.bib}
@ARTICLE{G2000,
  author = {{Gondek-Rosi{\'n}ska}, D. and {Bulik}, T. and {Zdunik}, L. and 
    {Gourgoulhon}, E.},
  year = 2000
}
@ARTICLE{G2007,
  author = {{Gondek-Rosi{\'n}ska}, D. and {Bejger}, M. and {Bulik}, T. and 
    {Gourgoulhon}, E.},
  year = 2007
}
\end{filecontents}
\addbibresource{bib.bib}

\begin{document}
\citep{G2000}\\
\citep{G2007}\\
\end{document}

給出輸出:

(Gondek-Rosińska、Bulik 等,2000)

(Gondek-Rosińska、Bejger 等人,2007 年)

但是當我將第一作者的姓氏更改為Gandek-Rosi{\'n}ska我得到以下(所需的)輸出:

(甘德克-羅辛斯卡等人,2000)

(Gondek-Rosińska 等人,2007 年)

實際上,將名稱更改為Kondek-Rosi{\'n}ska或任何其他名稱可以按預期工作,即僅給出第一作者姓名,後跟et al.。為什麼會有如此奇怪的行為?我編譯了程式碼sharelatex.com

答案1

這不是錯誤,而是區分同一第一作者的兩篇出版物的功能。要禁用它,您可以設定uniquelist=false.

\documentclass{article}

\usepackage[utf8]{inputenc}

\usepackage[natbib, maxcitenames=3, style=authoryear, uniquelist=false]{biblatex}

\usepackage{filecontents}
\begin{filecontents}{bib.bib}
@ARTICLE{G2000,
  author = {{Gondek-Rosi{\'n}ska}, D. and {Bulik}, T. and {Zdunik}, L. and 
    {Gourgoulhon}, E.},
  year = 2000
}
@ARTICLE{G2007,
  author = {{Gondek-Rosi{\'n}ska}, D. and {Bejger}, M. and {Bulik}, T. and 
    {Gourgoulhon}, E.},
  year = 2007
}
\end{filecontents}
\addbibresource{bib.bib}

\begin{document}
\citep{G2000}\\
\citep{G2007}\\
\end{document}

相關內容