I am trying to sort some citations/bibliography by the following keys:
- Author name (as formatted by
maxnamesanduniquenames). - Publication year (as formatted by
labelyear).
Using some standard options, I can get the formatting almost perfectly:
\RequirePackage{filecontents}
\begin{filecontents*}{papers.bib}
@article{colby_1999,
author={Colby, J and Brown, A and Brown, B},
title={Title},
year={1999},
}
@article{colby_2000,
author={Colby, John and Brown, A and Brown, B},
title={Title},
year={2000},
}
@article{colby_2001,
author={Colby, J and Brown, A and Brown, B},
title={Title},
year={2001},
}
@article{colby_2001_2,
author={Colby, J and Damon, A and Brown, B},
title={Title},
year={2001},
}
@article{colby_2002,
author={Colby, J and Class, A and Brown, B},
title={Title},
year={2002},
}
@article{colby_a_2002,
author={Colby, A and Class, A and Brown, B},
title={Title},
year={2002},
}
@article{adams_1998,
author={Adams, J and Class, A and Brown, B},
title={Title},
year={1998},
}
@article{adams_2002,
author={Adams, J and Class, A and Brown, B},
title={Title},
year={2002},
}
\end{filecontents*}
\documentclass{article}
\usepackage[style=authoryear-comp, natbib, backend=biber]{biblatex}
\ExecuteBibliographyOptions{
maxnames = 1,
maxbibnames = 99,
uniquelist = false,
uniquename = true,
dashed = false,
firstinits = true}
\addbibresource{papers.bib}
\begin{document}
\citep{colby_1999,colby_2000,colby_2001,colby_2001_2,colby_2002,adams_2002,adams_1998,colby_a_2002}
\printbibliography
\end{document}

The only catch is that I would like the "Colby, John" and all of the "Colby, J" entries to be treated the same for sorting purposes. In other words, I want all of those entries to be compacted into 1 block in the citation, and I want the "Colby, John" entry to be sorted by year within the other "Colby, J"s in the bibliography. Something like this:

shortauthorandsortnamefields - they should contain "standardized" versions of the author names. This can be done by manually editing yourbibfile or using thebibersourcemapoption. – Audrey Feb 24 '12 at 21:02bibfile. So thesourcemapsolution is the one I decided to use. – Audrey Feb 24 '12 at 21:17