here is my question :
Can I modify the presentation of people's names in my index ?
Informations about my document
I am using the package imakeidx with xindy. I have two indexes, people's names in the principal one, and others in a second index called NC.
Peoples names get indexed in three ways :
- by the option indexing=cite of biblatex
- by the classical \index{Doe, John} command
- by some personal commands
The commands look this way :
\newcommand{\n}[2]{#1~\textsc{#2}\index{#2, #1}} \newcommand{\nx}[1]{\textsc{#1}\index{#1}} Everything is working fine in my index, except that the names appear in the index in this way : "Doe, John". I would like them to appear in this way : "DOE John" (DOE being in smallcaps like "\textsc{Doe} John" does)
If there is no first name (the reason why I have a \nx command), for example "Aristotle", I would like it to appear in small caps too.
Any idea how I could do that ?
Thanks
\DeclareIndexNameFormatand friends.\renewbibmacro*{citeindex}{{\indexnames{author}}{}}. As I see it, it was for the author's names only to appear in the index, not the book titles. So I added this one :\DeclareIndexNameFormat{default}{\usebibmacro{index:name}{\index}{#1}{#3@\textsc{#1}, #3}{#5}{#7}}It works fine, except that : 1. single names (like "Plato") appear this way "PLATO, , 56" from Biblatex, and "PLATO, 56" from my indexing commands. 2. corporations names are still here. I don't konw hove to solve those two problems.