BibLaTeX 在引用中使用多個作者,儘管參考文獻的年份不同

BibLaTeX 在引用中使用多個作者,儘管參考文獻的年份不同

我使用 BibLaTeX 來管理引文。然而,三位或更多作者的內聯引用有時會使用一位以上的作者,儘管這些參考文獻具有不同的年份,因此可以區分。

我給你一個 MWE 來澄清我的問題:

\documentclass{report}
\usepackage{filecontents}
\usepackage[backend=biber,style=authoryear,mincitenames=1,maxcitenames=2,giveninits=true,uniquename=mininit]{biblatex}

\begin{filecontents}{mybib.bib}
@article{Test2018,
    author = {Human, B and Person, P and Somebody, B},
    journal = {Journal of Journals},
    number = {1},
    pages = {1--8},
    title = {qwerty},
    volume = {1},
    year = {2018}
}
@article{Test2019,
    author = {Human, B and Random, R and Person, P},
    journal = {Journal of Papers},
    number = {1},
    pages = {1--8},
    title = {asdasd},
    volume = {1},
    year = {2019}
}
@article{Two2019,
    author  = {First, Stephan and Second, Robert},
    journal = {Journal of Research},
    number = {1},
    pages = {3--5},
    title = {A Title},
    volume = {1},
    year = {2019}
}

@article{Three2019,
    author  = {Uno, Alpha and Second, Beta and Third, Gamma},
    journal = {Journal of Stuff},
    number = {1},
    pages = {3--5},
    title = {Another Title},
    volume = {1},
    year = {2019}
}
\end{filecontents} 

\addbibresource{mybib.bib}

\begin{document}

This is a text with \autocite{Test2018} and \autocite{Test2019}. 

This is a two authors citation \autocite{Two2019}.

This is an unrelated citation with three authors \autocite{Three2019}.

\printbibliography
\end{document}

預期產出:

This is a text with (Human et al. 2018) and (Human et al. 2019).
This is a two authors citation (First and Second 2019).
This is an unrelated citation with three authors (Uno et al. 2019).

實際產量:

This is a text with (Human, Person, et al. 2018) and (Human, Random, et al. 2019).
This is a two authors citation (First and Second 2019).
This is an unrelated citation with three authors (Uno et al. 2019).

如何配置 BibLaTeX 以獲得預期的輸出?我嘗試了幾種變體uniquename等,但沒有成功。

提前謝謝了!

答案1

我想我自己透過反覆試驗找到了解決方案。uniquename=mininit和的組合uniquelist=minyear僅顯示一位作者和等人。當年份不同時,但當作者和年份相同時加上 a、b、c 等。

所以整個 bibtex 都包括:

\usepackage[backend=biber,style=authoryear,mincitenames=1,maxcitenames=2,giveninits=true,uniquename=mininit,uniquelist=minyear]{biblatex}

也許這對其他有類似問題的人有用。

相關內容