Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
3_composition:annexes:bibliographie:probleme_avec_le_style_unsrt [2018/06/03 15:20] samcarter |
3_composition:annexes:bibliographie:probleme_avec_le_style_unsrt [2018/12/04 00:01] jejust |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Table of contents rearranges "`unsrt`" ordering ====== |
- | title: Table of contents rearranges "`unsrt`" ordering | + | |
- | category: bibliographies | + | |
- | tags: citations | + | |
- | permalink: /FAQ-bibtocorder | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | If you're using the [`unsrt`](https://ctan.org/pkg/bibtex) bibliography style, you're | + | |
- | expecting that your bibliography will _not_ be sorted, but that | + | If you're using the [[ctanpkg>bibtex|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 | the entries will appear in the order that they first appeared in your | ||
document. | document. | ||
Ligne 15: | Ligne 10: | ||
title, and you also have a table of contents, the citations that now | title, and you also have a table of contents, the citations that now | ||
appear in the table of contents will upset the "natural" ordering | appear in the table of contents will upset the "natural" ordering | ||
- | produced by the [`unsrt`](https://ctan.org/pkg/bibtex) style. Similarly, if you have | + | produced by the [[ctanpkg>bibtex|unsrt]] style. Similarly, if you have |
citations in captions, and have a list of figures (or tables). | citations in captions, and have a list of figures (or tables). | ||
There's a pretty simple "manual" method for dealing with the | There's a pretty simple "manual" method for dealing with the | ||
- | problem — when you have the document stable: | + | problem --- when you have the document stable: |
| | ||
- | 1. Delete the `aux` file, and any of `toc`, | + | 1. Delete the ''aux'' file, and any of ''toc'', |
- | `lof`, `lot` files. | + | ''lof'', ''lot'' files. |
2. Run LaTeX. | 2. Run LaTeX. | ||
3. Run BibTeX for the last time. | 3. Run BibTeX for the last time. | ||
Ligne 31: | Ligne 26: | ||
found errors in your "stable" version, often enough. | found errors in your "stable" version, often enough. | ||
- | The package [`notoccite`](https://ctan.org/pkg/notoccite) avoids the kerfuffle, and suppresses | + | The package [[ctanpkg>notoccite|notoccite]] avoids the kerfuffle, and suppresses |
citations while in the table of contents, or lists of figures, tables | citations while in the table of contents, or lists of figures, tables | ||
(or other floating things: the code is quite general). | (or other floating things: the code is quite general). | ||
+ | |||
+ | ----- | ||
+ | |||
+ | //Source:// [[faquk>FAQ-bibtocorder|Table of contents rearranges "`unsrt`" ordering]] | ||
+ | |||
+ | {{htmlmetatags>metatag-keywords=(LaTeX,bibliographies) | ||
+ | metatag-og:title=(Table of contents rearranges "`unsrt`" ordering) | ||
+ | metatag-og:site_name=(FAQ LaTeX francophone) | ||
+ | }} | ||