# biblatex-ieee and supra note

I know this is sort of short notice (I'd posted a similar cry for help at LaTeX Community), but I have a thesis due Monday and the one thing standing between me and being ready (layout-wise) is this: I'm using biblatex with a slightly tweaked biblatex-ieee style (maybe not ideal but my thesis director had very specific directions and that was the closest) which I call with:

\usepackage[bibstyle=ieee,citestyle=authoryear,backref=false,hyperref=false]{biblatex}


But the problem is I need to replace already referenced items with "supra note". For example, if Belloni is referred to in footnote (\footfullcite) 17 as:

17. R. Belloni, « The tragedy of Darfur and the limits of the ‘responsibility to protect’ », Ethnopolitics, vol. 5, no 4, nov. 2006, pp. 327–346.

I would like future references to the same author and article to look like (say in footnote 24, where I specify a page of the article):

24. R. Belloni, supra note 17, p. 336.

Any idea?

PS: It actually seems like the "citestyle" can be removed or modified without any change. I guess that is itself isn't normal...

-

Use citestyle=verbose-note plus the following modifications.

\documentclass{article}

\usepackage[bibstyle=ieee,citestyle=verbose-note,firstinits=true]{biblatex}

\DefineBibliographyStrings{english}{%
seenote = {supra note},
}

% Print first name of authors in follow-up notes
\makeatletter
\renewbibmacro*{footcite:note}{%
\ifnameundef{labelname}
{\printfield{label}}
%     {\printnames{labelname}}% DELETED
{\DeclareNameAlias{labelname}{default}% NEW
\printnames{labelname}}% NEW
\ifsingletitle
{}
{\setunit*{\nametitledelim}%
\printfield[title]{labeltitle}}%
\printtext{%
\ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
\iftoggle{cbx:pageref}
{\ifsamepage{\the\value{instcount}}
{\csuse{cbx@f@\thefield{entrykey}}}
{}
\pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
{}}}
\makeatother

% AS A MEASURE OF LAST RESORT, assign the functions of \autocite to \footfullcite
%     (The correct way is to replace every instance of "\footfullcite"  in the text
%     with "\autocite")
\let\footfullcite\autocite

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{Bel06,
author = {Belloni, Roberto},
year = {2006},
title = {The tragedy of Darfur and the limits of the responsibility to protect'},
journaltitle = {Ethnopolitics},
volume = {5},
number = {4},
pages = {327--346},
}
\end{filecontents}

\begin{document}

Some text \footfullcite{Bel06}.

Some text \footfullcite[336]{Bel06}.

\printbibliography

\end{document}


(The filecontents environment is only used to include some external files directly into the example, so that it compiles. It is not necessary for the solution.)

EDIT: After a lot of comments, here's the code to the OP's last-minute request:

\DeclareCiteCommand{\smartcite}[\iffootnote\relax\mkbibfootnote]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\iffootnote
{\usebibmacro{footcite}}
{\usebibmacro{cite}}}
{\multicitedelim}
{\usebibmacro{cite:postnote}}

-
Excellent: I was thinking of looking at this tomorrow, but now I don't have to :-) – Joseph Wright May 14 '11 at 19:22
@Drounal: You're welcome! Feel free to register at tex.sx and accept my answer. ;-) – lockstep May 14 '11 at 19:48
@Drounal: The "defined in a class file" is very important information. In this case, REMOVE \makeatletter and \makeatother. – lockstep May 14 '11 at 20:54
PS: I won't forget you and Joseph and a few others in the 'acknowledgement' section of my thesis :) – Drounal May 15 '11 at 12:54
Untested: Replace citestyle=verbose-note with citestyle=verbose-inote`. – lockstep May 18 '11 at 22:12