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.

When using the \cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]).

Is there any way to get BibTeX to ignore the \listoffigures section when numbering?

share|improve this question

2 Answers 2

up vote 7 down vote accepted

Use the optional argument of \caption:

\caption[<Figure title>]{<Figure title> \cite{<Source>}}

EDIT: You'd "still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text". I don't know how to do this using the ieeetr style, but it works out of the box using biblatex:

\documentclass{article}

\usepackage[sorting=none]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

\listoffigures

\section{foo}

Some text \autocite{B02}.

\begin{figure}[!h]
\centering
\rule{1cm}{1cm}
\caption{A figure \autocite{A01}}
\end{figure}

\printbibliography

\end{document}

enter image description here

share|improve this answer
    
Thanks for that but I'd still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text. Am I asking too much? –  Stuart Nov 27 '11 at 16:01
1  
that's done it! I converted my document to using biblatex and it works perfectly. Thanks a lot. –  Stuart Nov 27 '11 at 16:59

This exact problem is solved by the notoccite package written by Donald Arsenau.

I have found it throught the worth reading bibtex faq: ftp://ftp.tex.ac.uk/tex-archive/biblio/bibtex/contrib/doc/btxFAQ.pdf (see question 18).

share|improve this answer

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.