Welcome to the UK List of
TeX Frequently Asked Questions
on the Web
If you’re using the unsrt
bibliography style, you’re
expecting that your bibliography will not
be sorted, but that
the entries will appear in the order that they first appeared in your
However, if you’re unfortunate enough to need a citation in a section
title, and you also have a table of contents, the citations that now
appear in the table of contents will upset the “natural” ordering
produced by the unsrt
style. Similarly, if you have
citations in captions, and have a list of figures (or tables).
There’s a pretty simple “manual” method for dealing with the
problem — when you have the document stable:
- Delete the
.aux file, and any of
- Run LaTeX.
- Run BibTeX for the last time.
- Run LaTeX often enough that things are stable again.
Which is indeed simple, but it’s going to get tedious when you’ve
found errors in your “stable” version, often enough.
The package notoccite
avoids the kerfuffle, and suppresses
citations while in the table of contents, or lists of figures, tables
(or other floating things: the code is quite general).
- macros/latex/contrib/notoccite (or browse the directory); catalogue entry
previous question, or
Go to FAQ home.
URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bibtocorder
Comments, suggestions, or error reports? - see
“how to improve the FAQ”.
This is FAQ version 3.26, released on 2013-02-25.