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 | ||
3_composition:annexes:bibliographie:trier_des_noms_avec_prefixes [2018/06/03 16:19] samcarter |
3_composition:annexes:bibliographie:trier_des_noms_avec_prefixes [2018/12/04 00:03] (Version actuelle) jejust |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== BibTeX sorting and name prefixes ====== |
- | title: BibTeX sorting and name prefixes | + | |
- | category: bibliographies | + | |
- | permalink: /FAQ-bibprefixsort | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
BibTeX recognises a bewildering array of name prefixes (mostly | BibTeX recognises a bewildering array of name prefixes (mostly | ||
those deriving from European language names); it ignores the prefixes | those deriving from European language names); it ignores the prefixes | ||
- | when sorting the bibliography — you want "Ludwig van Beethoven" | + | when sorting the bibliography --- you want "Ludwig van Beethoven" |
sorted under "Beethoven", not under "van". (Lamport made a witty | sorted under "Beethoven", not under "van". (Lamport made a witty | ||
deliberate mistake with Beethoven's name, in the first edition of his | deliberate mistake with Beethoven's name, in the first edition of his | ||
Ligne 22: | Ligne 18: | ||
The solution is to embed the sort key in the author's name, but to | The solution is to embed the sort key in the author's name, but to | ||
prevent it from being typeset. Patashnik recommends a command | prevent it from being typeset. Patashnik recommends a command | ||
- | `\noopsort` (no-output-sortkey), which is defined and used as | + | ''\noopsort'' (no-output-sortkey), which is defined and used as |
follows: | follows: | ||
- | ```latex | + | |
+ | <code latex> | ||
@PREAMBLE{ {\providecommand{\noopsort}[1]{}} } | @PREAMBLE{ {\providecommand{\noopsort}[1]{}} } | ||
... | ... | ||
Ligne 31: | Ligne 28: | ||
... | ... | ||
} | } | ||
- | ``` | + | </code> |
- | Note that this `\noopsort` applies to the last name in this kind of | + | Note that this ''\noopsort'' applies to the last name in this kind of |
construct, so an author with an Arabic name might be rendered: | construct, so an author with an Arabic name might be rendered: | ||
- | ```latex | + | |
+ | <code latex> | ||
... | ... | ||
AUTHOR = "Ali {\noopsort{Hadiidii}}{al-Hadiidii}", | AUTHOR = "Ali {\noopsort{Hadiidii}}{al-Hadiidii}", | ||
... | ... | ||
- | ``` | + | </code> |
A further use might deal with word order games, as in the famous | A further use might deal with word order games, as in the famous | ||
Vietnamese name: | Vietnamese name: | ||
- | ```latex | + | |
+ | <code latex> | ||
... | ... | ||
AUTHOR = "\noopsort{Thanh Han The}{Han The Thanh}", | AUTHOR = "\noopsort{Thanh Han The}{Han The Thanh}", | ||
... | ... | ||
- | ``` | + | </code> |
though that author seems well-acquainted with Western confusion about | though that author seems well-acquainted with Western confusion about | ||
the significance of the parts of his name (even to the extent of | the significance of the parts of his name (even to the extent of | ||
- | missing out the accentuation, as above…). | + | missing out the accentuation, as above...). |
+ | |||
+ | |||
+ | ----- | ||
+ | |||
+ | //Source:// [[faquk>FAQ-bibprefixsort|BibTeX sorting and name prefixes]] | ||
+ | {{htmlmetatags>metatag-keywords=(LaTeX,bibliographies) | ||
+ | metatag-og:title=(BibTeX sorting and name prefixes) | ||
+ | metatag-og:site_name=(FAQ LaTeX francophone) | ||
+ | }} | ||