Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

Thanks a lot in advance!

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

share|improve this question
add comment

1 Answer

up vote 8 down vote accepted

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}}%
  \setunit*{\addcomma\space}%
  \printtext{%
    \bibstring{seenote}\addnbspace
    \ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
    \iftoggle{cbx:pageref}
      {\ifsamepage{\the\value{instcount}}
                  {\csuse{cbx@f@\thefield{entrykey}}}
         {}
     {\addcomma\space\bibstring{page}\addnbspace
      \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}

\addbibresource{\jobname.bib}

\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}}
share|improve this answer
    
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
1  
@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
2  
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
1  
Untested: Replace citestyle=verbose-note with citestyle=verbose-inote. –  lockstep May 18 '11 at 22:12
show 40 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.