Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
composition:annexes:bibliographie:bibliographies_par_chapitre [2018/06/03 13:12] samcarter3_composition:annexes:bibliographie:bibliographies_par_chapitre [2021/11/06 11:08] (Version actuelle) – Récupération d'éléments d'une autre page. yannick.tanguy
Ligne 1: Ligne 1:
---- +====== Comment obtenir des bibliographies séparées par chapitre======
-title: Separate bibliographies per chapter? +
-category: bibliographies +
-tags: citations +
-permalink: /FAQ-chapbib +
-date: 2014-06-10 +
----+
  
-A separate bibliography for each "chapter" of a document can be provided +===== Avec l'extension “chapterbib” =====
-with the package [`chapterbib`](https://ctan.org/pkg/chapterbib) (which comes with a bunch of +
-other good bibliographic things).  The package allows you a +
-different bibliography for each `\include`d file (i.e., despite the +
-package's name, the availability of bibliographies is related to the +
-component source files of the document rather than to the chapters that +
-logically structure the document).+
  
-The package [`bibunits`](https://ctan.org/pkg/bibunits) ties bibliographies to logical units +Pour avoir une bibliographie séparée pour chaque « chapitre » d'un document, on peut utiliser l'extension [[ctanpkg>chapterbib]] (qui fournit pas mal d'autres fonctionnalités utiles pour les bibliographies).  
-within the document: the package will deal with chapters and sections +
-(as defined by LaTeX itselfand also defines a `bibunit` +
-environment so that users can select their own structuring.+
  
-[The `biblatex` package](FAQ-biblatex), with +Cette extension vous permet d'avoir une bibliographie individuelle pour chaque fichier ''\include'' : ainsi, malgré le nom de l'extension, la construction des bibliographies se base sur les différents fichiers sources du document plutôt que sur les chapitres définis par sa structure logique. L'extension permet également d'avoir une bibliographie globale pour le document. 
-`biber`, provides a similar facility; enclose the text for + 
-which you want a local bibliography in a `refsection` +===== Avec l'extension “bibunits” ===== 
-environmentand place a `\printbibliography` command as the last + 
-thing in that environment+L'extension [[ctanpkg>bibunits]], elle, lie les bibliographies aux unités logiques du document : elle traite les chapitres et les sections (comme définis par <latex>\LaTeX</latex>), et définit également un environnement ''bibunit'' afin que l'utilisateur puisse sélectionner sa propre structuration. 
-```latex+ 
 +<code latex> 
 +\documentclass{report} 
 +\usepackage[latin1]{inputenc} 
 +\usepackage[T1]{fontenc} 
 +\usepackage{bibunits} 
 + 
 +\begin{document} 
 + 
 +\bibliographyunit[\chapter] 
 +\bibliographystyle{plain} 
 +\bibliography{geometrie,algorithmes} 
 + 
 +\chapter{Algorithmes.} 
 +Présentation d'algorithmes. \nocite{*} 
 +\putbib[algorithmes] 
 + 
 +\chapter{Géométrie.} 
 +Texte sur la géométrie. \nocite{*} 
 +\putbib[geometrie] 
 + 
 +\end{document} 
 +</code> 
 + 
 +La compilation de cet exemple va entraîner la création de plusieurs fichiers ''.aux''qu'il faudra ensuite passer à ''BibTeX''.  
 + 
 +===== Avec l'extension “BibLaTeX” (et le programme “biber”) ===== 
 + 
 +L'extension [[ctanpkg>biblatex|BibLaTeX]], avec [[ctanpkg>biber]], [[3_composition:annexes:bibliographie:remplacer_bibtex|fournit une fonction similaire]] : ajoutez le texte pour lequel vous souhaitez une bibliographie locale dans un environnement ''refsection'', et ajoutez à la fin de cet environnement la commande ''\printbibliography'' 
 + 
 +<code latex>
 \begin{refsection} \begin{refsection}
-\chapter{First chapter+\chapter{Premier chapitre
-\section{Foo+\section{Ma section
-Some text \cite{this} +Du texte\cite{Ceciavec de références\cite{Cela}. 
-with citations \cite{that}.+
 \printbibliography \printbibliography
 \end{refsection} \end{refsection}
-``` +</code> 
-Then process with LaTeX (of whatever flavourand use + 
-`biber` to process the bibliography output.  Note that +Ensuite, compilez avec <latex>\LaTeX</latex> (pdfLaTeX, XeLaTeX, LuaLaTeX... peu importeet lancez ''biber'' pour traiter la bibliographie.  Notez que ''\printbibliography'' peut prendre un argument optionnel ''heading=titre biblio'' pour que la bibliographie ait un titre de (sous-)section.
-`\printbibliography` can take an optional argument +
-`heading=bib title` to provide the bibliography with a +
-(sub)section title.+
  
 +-----
 +//Sources://
 +  * [[faquk>FAQ-chapbib|Separate bibliographies per chapter?]]
 +  * https://stackoverflow.com/questions/2765209/latex-bibliography-per-chapter
  
 +{{htmlmetatags>metatag-keywords=(LaTeX,bibliographies,maquette,sous-bibliographies)
 +metatag-og:title=(Comment obtenir des bibliographies séparées par chapitre)
 +metatag-og:site_name=(FAQ LaTeX francophone)
 +}}
3_composition/annexes/bibliographie/bibliographies_par_chapitre.1528031565.txt.gz · Dernière modification : 2018/06/03 13:12 de samcarter
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0