Ceci est une ancienne révision du document !

Table of contents rearranges "`unsrt`" ordering

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 document.

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:

1. Delete the aux file, and any of toc,

  ''lof'', ''lot'' files.

2. Run LaTeX. 3. Run BibTeX for the last time. 4. 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).

Source: Table of contents rearranges "`unsrt`" ordering

3_composition/annexes/bibliographie/probleme_avec_le_style_unsrt.1543878083.txt.gz · Dernière modification: 2018/12/03 23:01 de jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0