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 | ||
2_composition:annexes:bibliographie:initiales_multiples_avec_bibtex [2018/06/03 16:25] joseph.wright |
2_composition:annexes:bibliographie:initiales_multiples_avec_bibtex [2018/12/04 00:00] (Version actuelle) jejust |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Multi-letter initials in BibTeX ====== |
- | title: "Multi-letter" initials in BibTeX | + | |
- | category: bibliographies | + | |
- | permalink: /FAQ-bibtranscinit | + | |
- | --- | + | |
- | If your bibliographic style uses initials + surname, you may encounter | + | |
+ | If your bibliographic style uses initials + surname, you may encounter | ||
a problem with some transcribed names (for example, Russian ones). | a problem with some transcribed names (for example, Russian ones). | ||
Consider the following example from the real world: | Consider the following example from the real world: | ||
- | ```bibtex | + | </code>bibtex |
@article{epifanov1997, | @article{epifanov1997, | ||
author = {Epifanov, S. Yu. and Vigasin, A. A.}, | author = {Epifanov, S. Yu. and Vigasin, A. A.}, | ||
title = ... | title = ... | ||
} | } | ||
- | ``` | + | </code> |
Note that the "Yu" is the initial, not a complete name. However, | Note that the "Yu" is the initial, not a complete name. However, | ||
- | BibTeX's algorithms will leave you with a citation — | + | BibTeX's algorithms will leave you with a citation --- |
- | slightly depending on the bibliographic style — that reads: | + | slightly depending on the bibliographic style --- that reads: |
- | "S. Y. Epifanov and A. A. Vigasin, …". instead of the intended | + | "S. Y. Epifanov and A. A. Vigasin, ...". instead of the intended |
- | "S. Yu. Epifanov and A. A. Vigasin, …". | + | "S. Yu. Epifanov and A. A. Vigasin, ...". |
One solution is to replace each affected initial by a command that | One solution is to replace each affected initial by a command that | ||
prints the correct combination. To keep your bibliography portable, | prints the correct combination. To keep your bibliography portable, | ||
you need to add that command to your bibliography with the | you need to add that command to your bibliography with the | ||
- | `@preamble` directive: | + | ''@preamble'' directive: |
- | ```bibtex | + | </code>bibtex |
@preamble{ {\providecommand{\BIBYu}{Yu} } } | @preamble{ {\providecommand{\BIBYu}{Yu} } } | ||
Ligne 31: | Ligne 28: | ||
title = ... | title = ... | ||
} | } | ||
- | ``` | + | </code> |
If you have many such commands, you may want to put them in a separate | If you have many such commands, you may want to put them in a separate | ||
- | file and `\input` that LaTeX file in a `@preamble` | + | file and ''\input'' that LaTeX file in a ''@preamble'' |
directive. | directive. | ||
Ligne 39: | Ligne 36: | ||
BibTeX's point of view. For this we need a control sequence that | BibTeX's point of view. For this we need a control sequence that | ||
does nothing: | does nothing: | ||
- | ```bibtex | + | </code>bibtex |
@article{epifanov1997, | @article{epifanov1997, | ||
author = {Epifanov, S. {\relax Yu}. and Vigasin, A. A.}, | author = {Epifanov, S. {\relax Yu}. and Vigasin, A. A.}, | ||
title = ... | title = ... | ||
} | } | ||
- | ``` | + | </code> |
Like the solution by generating extra commands, this involves tedious | Like the solution by generating extra commands, this involves tedious | ||
extra typing; which of the two techniques is preferable for a given | extra typing; which of the two techniques is preferable for a given | ||
Ligne 54: | Ligne 51: | ||
may be treated in the same way, so one can enter Forster's rather | may be treated in the same way, so one can enter Forster's rather | ||
complicated name as: | complicated name as: | ||
- | ```bibtex | + | </code>bibtex |
@article{forster2006, | @article{forster2006, | ||
author = {Forster, P.M. {\relax de F.} and Collins, M.}, | author = {Forster, P.M. {\relax de F.} and Collins, M.}, | ||
title = ... | title = ... | ||
- | ``` | + | </code> |
The same trick can be played if you're entering whole names: | The same trick can be played if you're entering whole names: | ||
- | ```latex | + | |
+ | <code latex> | ||
... | ... | ||
author = {Epifanov, Sasha {\relax Yu}ri and | author = {Epifanov, Sasha {\relax Yu}ri and | ||
... | ... | ||
- | ``` | + | </code> |
(though no guarantee, that either of those names is right, is | (though no guarantee, that either of those names is right, is | ||
offered!) | offered!) | ||
However, if you're typing the names in the "natural" (Western) way, | However, if you're typing the names in the "natural" (Western) way, | ||
with given names first, the trick: | with given names first, the trick: | ||
- | ```bibtex | + | </code>bibtex |
... | ... | ||
author = {P.M. {\relax de F.} Forster and | author = {P.M. {\relax de F.} Forster and | ||
... | ... | ||
- | ``` | + | </code> |
- | doesn't work — "de F. Forster" is treated as a compound family | + | doesn't work --- "de F. Forster" is treated as a compound family |
names. | names. | ||
+ | |||
+ | ----- | ||
+ | |||
+ | //Source:// [[faquk>FAQ-bibtranscinit|Multi-letter initials in BibTeX]] | ||
+ | |||
+ | {{htmlmetatags>metatag-keywords=(LaTeX,bibliographies) | ||
+ | metatag-og:title=(Multi-letter initials in BibTeX) | ||
+ | metatag-og:site_name=(FAQ LaTeX francophone) | ||
+ | }} | ||