I am currently defining a (french) citation style. One thing I haven't managed to do is to replace the name of a recurring author by the short form in the citations. What I would like to do is :
- Jane Smith, first work, Paris, 1900. [first citation from this author].
- J. Smith, other work, Paris, 1901 [if not directly following the previous one].
or :
- Ead., other work, Paris, 1901 [if directly following].
Is there a way of doing this? I have tried to use \ifentryseen{author} but without any success so far.
[edit] Here is how I try to do it (but I get an ! extra \else error):
\newbibmacro*{author-fullnote}{%
\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}%
{\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT\iffirstonpage}
{\bibstring[\mkidem]{idem\thefield{gender}}}
{\ifthenelse{\ifentryseen{author}}{\printnames{labelname}}{
\printnames[upshape][1-10]{author}
\savefield{namehash}{\bbx@lasthash}}}}
{\global\undef\bbx@lasthash}}


idemtracker? It would be good to have a minimal example for this. – domwass Apr 02 '11 at 14:54\ExecuteBibliographyOptions{idemtracker}in the beginning of the bbx file. As for my example, I'll include it in my post, since it is too long for a comment. – Jean-Baptiste Camps Apr 02 '11 at 15:33{\ifthenelse{\ifentryseen{author}}but only\ifentryseen{author}, I no longer get the! extra \elseerror message, but, instead of "Ead.,", I get "Ead., J. Smith, Jane Smith"... – Jean-Baptiste Camps Apr 02 '11 at 18:28