Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| 3_composition:annexes:bibliographie:plusieurs_bibliographies_dans_un_document [2021/11/06 11:30] – Suppression de la page reportée sur la page française. yannick.tanguy | 3_composition:annexes:bibliographie:plusieurs_bibliographies_dans_un_document [2022/11/30 21:07] (Version actuelle) – <> → ⟨⟩ dbitouze | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ====== Multiple bibliographies? | ||
| + | |||
| + | |||
| + | If you're thinking of multiple bibliographies tied to some part of | ||
| + | your document (such as the chapters within the document), please see | ||
| + | [[3_composition/ | ||
| + | |||
| + | For more than one bibliography, | ||
| + | |||
| + | The [[ctanpkg> | ||
| + | a command '' | ||
| + | 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 | ||
| + | citations to appear. | ||
| + | a further extra argument that says what title to use for the resulting | ||
| + | section or chapter (i.e., it patches | ||
| + | [[3_composition/ | ||
| + | in a [[ctanpkg> | ||
| + | |||
| + | <code latex> | ||
| + | \usepackage{multibbl} | ||
| + | \newbibliography{bk} | ||
| + | \bibliographystyle{bk}{alpha} | ||
| + | \newbibliography{art} | ||
| + | \bibliographystyle{art}{plain} | ||
| + | ... | ||
| + | \cite[pp.~23--25]{bk}{milne: | ||
| + | ... | ||
| + | \cite{art}{einstein: | ||
| + | ... | ||
| + | \bibliography{bk}{book-bib}{References to books} | ||
| + | \bibliography{art}{art-bib}{References to articles} | ||
| + | </ | ||
| + | (Note that the optional argument of '' | ||
| + | new tag argument, and that the '' | ||
| + | more than one '' | ||
| + | may list the same set of files.) | ||
| + | |||
| + | The '' | ||
| + | '' | ||
| + | |||
| + | <code latex> | ||
| + | bibtex bk | ||
| + | bibtex art | ||
| + | </ | ||
| + | after the first run of LaTeX, to get the citations in the correct | ||
| + | place. | ||
| + | |||
| + | The [[ctanpkg> | ||
| + | " | ||
| + | bibliography commands. | ||
| + | |||
| + | <code latex> | ||
| + | \usepackage{multibib} | ||
| + | \newcites{bk, | ||
| + | | ||
| + | References from articles} | ||
| + | \bibliographystylebk{alpha} | ||
| + | \bibliographystyleart{plain} | ||
| + | ... | ||
| + | \citebk[pp.~23--25]{milne: | ||
| + | ... | ||
| + | \citeart{einstein: | ||
| + | ... | ||
| + | \bibliographybk{book-bib} | ||
| + | \bibliographyart{art-bib} | ||
| + | </ | ||
| + | |||
| + | Again, as for [[ctanpkg> | ||
| + | scan any list of '' | ||
| + | |||
| + | BibTeX processing with [[ctanpkg> | ||
| + | [[ctanpkg> | ||
| + | |||
| + | <code latex> | ||
| + | bibtex bk | ||
| + | bibtex art | ||
| + | </ | ||
| + | Note that, unlike [[ctanpkg> | ||
| + | simple, unmodified bibliography (as well as the " | ||
| + | |||
| + | The [[ctanpkg> | ||
| + | different bibliographies. | ||
| + | you put a sequence of '' | ||
| + | specifies a bibliography database to scan) to typeset the separate | ||
| + | bibliographies. | ||
| + | |||
| + | <code latex> | ||
| + | \usepackage{bibtopic} | ||
| + | \bibliographystyle{alpha} | ||
| + | ... | ||
| + | \cite[pp.~23--25]{milne: | ||
| + | ... | ||
| + | \cite{einstein: | ||
| + | ... | ||
| + | \begin{btSect}{book-bib} | ||
| + | \section{References from books} | ||
| + | \btPrintCited | ||
| + | \end{btSect} | ||
| + | \begin{btSect}[plain]{art-bib} | ||
| + | \section{References from articles} | ||
| + | \btPrintCited | ||
| + | \end{btSect} | ||
| + | </ | ||
| + | Note the different way of specifying a bibliographystyle: | ||
| + | a different style for a particular bibliography, | ||
| + | optional argument to the '' | ||
| + | |||
| + | Processing with BibTeX, in this case, uses '' | ||
| + | are derived from the name of the base document. | ||
| + | you need to say: | ||
| + | |||
| + | <code latex> | ||
| + | bibtex diss1 | ||
| + | bibtex diss2 | ||
| + | </ | ||
| + | |||
| + | There is also a command '' | ||
| + | the content of the database (if nothing has been cited from the | ||
| + | database, this is equivalent to LaTeX standard '' | ||
| + | |||
| + | However, the //real// difference from [[ctanpkg> | ||
| + | [[ctanpkg> | ||
| + | bibliography section is determined in [[ctanpkg> | ||
| + | the '' | ||
| + | |||
| + | An entirely different approach is taken by the [[ctanpkg> | ||
| + | package. | ||
| + | preamble of your document, for each category you want a separate | ||
| + | citation list for. In each environment, | ||
| + | that you want listed in each category. | ||
| + | (or, more precisely, the '' | ||
| + | uses) will sort the keys as requested. | ||
| + | '' | ||
| + | sorting process.) | ||
| + | (a PDF file in the CTAN directory, which you can browse to, from the link, below). | ||
| + | |||
| + | |||
| + | ----- | ||
| + | //Source:// [[faquk> | ||
| + | |||
| + | {{htmlmetatags> | ||
| + | metatag-og: | ||
| + | metatag-og: | ||
| + | }} | ||

