Sending bibliographical entries to the index with biblatex
causes capitalisation of prefixes that is sometimes unwanted. For example, Dutch names with prefix van or French names with prefix de are sometimes not capitalised in indexes. Also, maybe a little more unusual but still possibly relevant, I've recently learned about a researcher who wishes to be cited with their name in lower case only (I believe this was somewhere in SocSci).
MWE:
\begin{filecontents}{test.bib}
@misc{vanTrijp2013,
author = {van Trijp, Remi},
date = {2013},
title = {A Comparison between approach A and B},
}
\end{filecontents}
\documentclass{article}
\usepackage[indexing=cite,style=authoryear,useprefix=true]{biblatex}
\addbibresource{test.bib}
\makeindex
\begin{document}
\cite{vanTrijp2013}
\end{document}
This produces the following entry in the .dx
file:
\indexentry{van Trijp, Remi@\MakeCapital {van} Trijp, Remi}{1}
And this produces the index entry Van Trijp, Remi, although van Trijp, Remi would be prefered. I would like the \MakeCapital
to be optional without confusing the sorting of entries in the index.
The issue might be related to \mkbibindexname
from biblatex.def
, where \MakeCapital
is hard-coded.
A possible solution is, using etoolbox
, to simply delete the \MakeCapital
from the definition:
\patchcmd{\mkbibindexname}{\ifdefvoid{#3}{}{\MakeCapital{#3} }}{\ifdefvoid{#3}{}{#3 }}{}{}
But I don't think changing the code of a package this way is a sustainable solution. Do you know of a better way to do this?