Using the authoryear-comp
style I often cite different authors having the same last name. The biblatex
package options
backend=biber,style=authoryear-comp,firstinits=true,uniquename=init
eliminate ambiguities by adding author initials to these citations. Problem is that I also cite some prolific authors who don't consistently use their middle name or hyphenate their first and middle names.
For example in the document below I get the citation:
J.-P. Doe 2005; J. Doe 2006; J. P. Doe 2007; J. P. Doe and Jones 2008; J.-P. Doe and M. Smith 2009; M. Smith and Jones 2011; A. Smith and J. Smith 2011
but there is really only one Doe here. Name inconsistencies for Doe in the reference list are fine as they accurately reflect the bibliographic data. But I'd rather have the citation be:
Doe 2005, 2006, 2007; Doe and Jones 2008; Doe and M. Smith 2009; M. Smith and Jones 2011; A. Smith and J. Smith 2011
Is there an easy way to define author/editor name aliases? The shortauthor
field offers one approach, but ideally I'd like to avoid ongoing edits to the bib
file.
\documentclass{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=authoryear-comp,firstinits=true,uniquename=init,sorting=none]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{hyphen,
author = {Doe, John-Paul},
title = {A book by John-Paul Doe},
publisher = {Publisher},
year = {2005}}
@Book{nomiddle,
author = {Doe, John},
title = {Another book by John-Paul Doe},
publisher = {Publisher},
year = {2006}}
@Book{nohyphen,
author = {Doe, John Paul},
title = {Yet another book by John-Paul Doe},
publisher = {Publisher},
year = {2007}}
@Article{initials,
author = {Doe, J. P. and Jones, J.},
title = {An article coauthored by John-Paul Doe},
journal = {Journal title},
year = {2008}}
@Article{hypheninitials,
author = {Doe, J.-P. and Smith, M.},
title = {Another article coauthored by John-Paul Doe},
journal = {Journal title},
year = {2009}}
@Article{smithm,
author = {Smith, Mary and Jones, Jane},
title = {Article title},
journal = {Journal title},
year = {2011}}
@Article{smitha,
author = {Smith, Anne and Smith, Joe},
title = {Article title},
journal = {Journal title},
year = {2011}}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{hyphen,nomiddle,nohyphen,initials,hypheninitials,smithm,smitha}
\printbibliography
\end{document}
bib
file edits; thetex
file constraint isn't really necessary. I edited the question.dashed
option where recurring names are replace by a dash, should the variations be treated as completely different names and not be replaced? I chose to unify the names in the .bib file. Probably not 100% correct but an irregularity which can be excused IMO.uniquename=mininit
. This makes the citations unique without necessarily disambiguating the individual authors. With your example, this givesJ.-P. Doe 2005; J. Doe 2006; J. P. Doe 2007; Doe and Jones 2008; Doe and Smith 2009; Smith and Jones 2011; Smith and Smith 2011
. Not exactly what you want but it's true that Biber can't tell that semantic (or really, pragmatic ...) equivalents are equal by pure syntax ...