[texhax] \listoffigures, order of reference numbers

Philip G. Ratcliffe philip.ratcliffe at fastwebnet.it
Thu Apr 20 19:44:34 CEST 2006

> [snip]
> recently.
> I wasn't able to determine whether this is a bug, a feature or just a
> mistake from our side ;)
> We used the command \listoffigures in the beginning of the document. For
> references we added a bib-file.
> If we refer now in a figure-caption to one of these references, one
> should expect the reference-number according to the place where the
> figure is placed.
> However, since the "list of figures" is placed in front of all other
> chapters with all these other references, LaTeX will start to allocate
> the first reference numbers in the list of
> figures resp. for the figure captions. Independent of there positions in
> the text
> [snip]
> -- \caption[]{figure-text \cite{d}} I can not explain how this should
> work ;)
> [snip]

It's neither a bug nor specifically a feature.  Use this

\caption[figure-text WITHOUT CITATIONS]{figure-text \cite{d}}

The optionl [] argument, as with many LaTeX commands, allows you to put
something different in lists and headings etc.  So, if you leave out the
citations there, everything should work as you wish.

Cheers, Phil

P.S.  I'm sure this is all explained in the FAQ.

More information about the texhax mailing list