2

Good evening.

I'm writing my thesis and I want to put a bibliography in each chapter. for that, I use the package \usepackage{chapterbib} and at the end of each chapter I define the concerned bibliography.

But when I compile, I get the first bibliography repeated at the end of each chapters knowing that I give each bibliograhy a specific name.

Please can you help me. Thank you

Torbjørn T.
  • 206,688
A H
  • 301

1 Answers1

5

I'd use package bibunits if you have to use old BiBTeX, eg (call this test.tex)

\documentclass{report}
\usepackage[sectionbib]{bibunits}
\usepackage{url}
\begin{document}
\title{My Thesis}
\author{A N Other}
\maketitle
\begin{bibunit}[ieeetr]
  \chapter{Intro}
  Text \cite{flynn2009}
  \putbib[test]
\end{bibunit}
\begin{bibunit}[vancouver]
  \chapter{Research}
  Text \cite{flynn2013}
  \putbib[test]
\end{bibunit}
\begin{bibunit}[acm]
  \chapter{Conclusion}
  Text \cite{flynn2016}
  \putbib[test]
\end{bibunit}
\end{document}

Run with something that automates the process such as latexmk, using this as your test.bib, eg latexmk -gg -pdf -bibtex test

@inproceedings{flynn2009,
  author     = {Peter Flynn},
  title      = {{Why writers don't use \textsc{xml}: 
  The usability of editing software for structured documents}},
  series     = {{Balisage---The Markup Conference (11--14 August)}},
  year   = {2009},
  address    = {Montr\'{e}al, \textsc{qc}},
  publisher      = {Balisage Series on Markup Technologies},
  volume     = {3},
  url    = {http://www.balisage.net/Proceedings/vol3/html/Flynn01/BalisageVol3-Flynn01.html}
}

@inproceedings{flynn2013,
  author     = {Peter Flynn},
  title      = {{Markup to generate markup to generate markup}},
  subtitle   = {Using \textsc{xml} to create and maintain
  \LaTeX{} packages and classes},
  series     = {{Balisage---The Markup Conference (6--9 August 2013)}},
  year   = {2013},
  address    = {Montréal, \textsc{qc}},
  publisher      = {Balisage Series on Markup Technologies},
  volume     = {10},
  url    = {http://www.balisage.net/Proceedings/vol10/html/Flynn01/BalisageVol10-Flynn01.html}
}

@book{flynn2016,
  author     = {Peter Flynn},
  title      = {{Formatting Information}},
  publisher      = {Silmaril},
  address    = {Cork, Ireland},
  year   = {2016},
  month      = {April},
  url    = {http://latex.silmaril.ie/formattinginformation/}
}

P

Peter Flynn
  • 2,870