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 Dernière révision Les deux révisions suivantes | ||
3_composition:annexes:bibliographie:plusieurs_bibliographies_dans_un_document [2018/05/25 08:59] joseph.wright |
3_composition:annexes:bibliographie:plusieurs_bibliographies_dans_un_document [2021/11/06 11:30] yannick.tanguy Suppression de la page reportée sur la page française. |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Multiple bibliographies? |
- | section: Bibliographies and citations | + | |
- | subsection: Creating citations | + | |
- | permalink: / | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | # Multiple bibliographies? | ||
If you're thinking of multiple bibliographies tied to some part of | If you're thinking of multiple bibliographies tied to some part of | ||
your document (such as the chapters within the document), please see | your document (such as the chapters within the document), please see | ||
- | [bibliographies per chapter](/ | + | [[3_composition/ |
For more than one bibliography, | For more than one bibliography, | ||
- | The [`multibbl`](https:// | + | The [[ctanpkg> |
- | a command | + | a command |
redefines the other bibliography commands so that each time you use any one | redefines the other bibliography commands so that each time you use any one | ||
of them, you give it the tag for the bibliography where you want the | of them, you give it the tag for the bibliography where you want the | ||
- | citations to appear. | + | citations to appear. |
a further extra argument that says what title to use for the resulting | a further extra argument that says what title to use for the resulting | ||
section or chapter (i.e., it patches | section or chapter (i.e., it patches | ||
- | [`\refname` and `\bibname`](/ | + | [[3_composition/ |
- | [`babel`](https:// | + | in a [[ctanpkg> |
- | ```latex | + | |
+ | < | ||
\usepackage{multibbl} | \usepackage{multibbl} | ||
\newbibliography{bk} | \newbibliography{bk} | ||
Ligne 36: | Ligne 31: | ||
\bibliography{bk}{book-bib}{References to books} | \bibliography{bk}{book-bib}{References to books} | ||
\bibliography{art}{art-bib}{References to articles} | \bibliography{art}{art-bib}{References to articles} | ||
- | ``` | + | </ |
- | (Note that the optional argument of `\cite` appears | + | (Note that the optional argument of '' |
- | new tag argument, and that the `\bibliography` commands may list | + | new tag argument, and that the '' |
- | more than one `bib` file& | + | more than one '' |
may list the same set of files.) | may list the same set of files.) | ||
- | The `\bibliography` data goes into files whose names are | + | The '' |
- | & | + | <//tag-name//>// |
- | ```latex | + | |
+ | < | ||
bibtex bk | bibtex bk | ||
bibtex art | bibtex art | ||
- | ``` | + | </ |
after the first run of LaTeX, to get the citations in the correct | after the first run of LaTeX, to get the citations in the correct | ||
place. | place. | ||
- | The [`multibib`](https:// | + | The [[ctanpkg> |
- | '' | + | "additional topics", each of which comes with its own series of |
bibliography commands. | bibliography commands. | ||
- | <!-- {% raw %} --> | + | |
- | ```latex | + | < |
\usepackage{multibib} | \usepackage{multibib} | ||
\newcites{bk, | \newcites{bk, | ||
Ligne 69: | Ligne 65: | ||
\bibliographybk{book-bib} | \bibliographybk{book-bib} | ||
\bibliographyart{art-bib} | \bibliographyart{art-bib} | ||
- | ``` | + | </code> |
- | <!-- {% endraw %} --> | + | |
- | Again, as for [`multibbl`](https:// | + | |
- | scan any list of `bib` files. | + | |
- | BibTeX processing with [`multibib`](https:// | + | Again, as for [[ctanpkg> |
- | [`multibbl`](https:// | + | scan any list of '' |
- | ```latex | + | |
+ | BibTeX processing with [[ctanpkg> | ||
+ | [[ctanpkg> | ||
+ | |||
+ | < | ||
bibtex bk | bibtex bk | ||
bibtex art | bibtex art | ||
- | ``` | + | </ |
- | Note that, unlike [`multibbl`](https:// | + | Note that, unlike [[ctanpkg> |
- | simple, unmodified bibliography (as well as the '' | + | simple, unmodified bibliography (as well as the "topic" |
- | The [`bibtopic`](https:// | + | The [[ctanpkg> |
different bibliographies. | different bibliographies. | ||
- | you put a sequence of `btSect` environments (each of which | + | you put a sequence of '' |
specifies a bibliography database to scan) to typeset the separate | specifies a bibliography database to scan) to typeset the separate | ||
- | bibliographies. | + | bibliographies. |
- | ```latex | + | |
+ | < | ||
\usepackage{bibtopic} | \usepackage{bibtopic} | ||
\bibliographystyle{alpha} | \bibliographystyle{alpha} | ||
Ligne 104: | Ligne 102: | ||
\btPrintCited | \btPrintCited | ||
\end{btSect} | \end{btSect} | ||
- | ``` | + | </ |
Note the different way of specifying a bibliographystyle: | Note the different way of specifying a bibliographystyle: | ||
a different style for a particular bibliography, | a different style for a particular bibliography, | ||
- | optional argument to the `btSect` environment. | + | optional argument to the '' |
- | Processing with BibTeX, in this case, uses `aux` files whose names | + | Processing with BibTeX, in this case, uses '' |
are derived from the name of the base document. | are derived from the name of the base document. | ||
you need to say: | you need to say: | ||
- | ```latex | + | |
+ | < | ||
bibtex diss1 | bibtex diss1 | ||
bibtex diss2 | bibtex diss2 | ||
- | ``` | + | </ |
- | There is also a command | + | There is also a command |
the content of the database (if nothing has been cited from the | the content of the database (if nothing has been cited from the | ||
- | database, this is equivalent to LaTeX standard | + | database, this is equivalent to LaTeX standard |
- | However, the _real_ | + | However, the // |
- | [`multibib`](https:// | + | [[ctanpkg> |
- | bibliography section is determined in [`bibtopic`](https:// | + | bibliography section is determined in [[ctanpkg> |
- | the `bib` files. | + | the '' |
- | An entirely different approach is taken by the [`splitbib`](https:// | + | An entirely different approach is taken by the [[ctanpkg> |
- | package. | + | package. |
preamble of your document, for each category you want a separate | preamble of your document, for each category you want a separate | ||
- | citation list for. In each environment, | + | citation list for. In each environment, |
- | that you want listed in each category. | + | that you want listed in each category. |
- | (or, more precisely, the `thebibliography` environment it | + | (or, more precisely, the '' |
uses) will sort the keys as requested. | uses) will sort the keys as requested. | ||
- | `category` appear in a '' | + | '' |
sorting process.) | sorting process.) | ||
- | (a PDF file in the CTAN directory, | + | (a PDF file in the CTAN directory, which you can browse to, from the link, below). |
- | | + | |
+ | |||
+ | ----- | ||
+ | //Source:// [[faquk> | ||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} | ||