
Ich verwende BibLaTeX zum Verwalten von Zitaten. Inline-Zitate mit drei oder mehr Autoren verwenden jedoch manchmal mehr als einen Autor, obwohl diese Referenzen unterschiedliche Jahre haben und daher unterschieden werden können.
Ich gebe Ihnen ein MWE, um mein Problem zu verdeutlichen:
\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}
Erwartete Ausgabe:
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).
Tatsächliche Leistung:
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).
Wie kann ich BibLaTeX so konfigurieren, dass es die erwartete Ausgabe liefert? Ich habe mehrere Varianten uniquename
usw. ausprobiert, aber ohne Erfolg.
Vielen Dank im Voraus!
Antwort1
Ich glaube, ich habe die Lösung durch Ausprobieren selbst gefunden. Die Kombination von uniquename=mininit
und uniquelist=minyear
zeigt nur einen Autor und et al. an, wenn das Jahr unterschiedlich ist, fügt aber a, b, c usw. hinzu, wenn die Autoren und das Jahr identisch sind.
Der gesamte Bibtex-Include lautet also:
\usepackage[backend=biber,style=authoryear,mincitenames=1,maxcitenames=2,giveninits=true,uniquename=mininit,uniquelist=minyear]{biblatex}
Vielleicht ist dies für andere hilfreich, die ähnliche Probleme haben.