Bibliography Latex Chapter

chapterbib | References following each Chapter

Postby JensL » Sat Dec 13, 2008 12:07 pm

Hi there,

I am trying to compile a thesis in LaTeX and I need to put in References after each chapter. I have spend hours trying to get chapterbib to work, but I can't get it right.

Can anyone give a good example how to solve this problem? My current structure, cleaned of the formatting code, is this:


This is the main document called "Thesis.tex". The three individual chapters are stored in separate sub-folders, following a suggestion from someone on this list. An example for thesis-chapter1 is:

and the bibliography for this chapter is in thesis-chapter1.bib, which looks like this:

and is also stored in the sub-folder. Accordingly, there is a thesis-chapter2.bib in sub-folder "chapter2", and a thesis-chapter3.bib in sub-folder "chapter3".

For a test, I set up chapter 2 identical to chapter 1, but citing
, which is the only reference in thesis-chapter2.bib.
In chapter 3, I want to cite by \cite{awe}, which is the only reference in "thesis-chapter3.bib".

A number of web pages suggest that you need to compile as follows

But it doesn't work, and I can't make any sense out of the error messages I get:

Can anyone give a detailed example of how to use chapterbib properly to obtain a bibliography at the end of each chapter?
There are a few comments on this topics on the web, but I can't get it to work.

Any help is greatly appreciated.
  1. \documentclass[phd,tocprelim]{CU}
  2. \usepackage[sectionbib]{chapterbib}
  3. %\bibliographystyle{plain}
  4. %\bibliographystyle{IEEEbib}
  5. \include{chapter1/thesis-chapter1}
  6. \include{chapter2/thesis-chapter2}
  7. \include{chapter3/thesis-chapter3}
  1. The text for Section 1 goes here, without brackets.
  2. test \cite{Brakenridge1994}
  3. \bibliographystyle{plain}
  4. \bibliography{chapter1/thesis-chapter1}
  1. @article{Brakenridge1994,
  2. Author = {Brakenridge, G.B. and Knox, J.C. and Paylor II, E.D. and Magiligan, F.},
  3. Title = {Radar Remote Sensing Aids Study of the Great Flood of 1993},
  1. A level-1 auxiliary file: chapter2/thesis-chapter2.aux
  2. Illegal, another \bibstyle command---line 8 of file chapter2/thesis-chapter2.aux
  3. I'm skipping whatever remains of this command
  4. Illegal, another \bibdata command---line 9 of file chapter2/thesis-chapter2.aux
  5. : {chapter2/thesis-chapter2}
  6. I'm skipping whatever remains of this command
  7. A level-1 auxiliary file: chapter3/thesis-chapter3.aux
  8. Illegal, another \bibstyle command---line 8 of file chapter3/thesis-chapter3.aux
  9. I'm skipping whatever remains of this command
  10. Illegal, another \bibdata command---line 9 of file chapter3/thesis-chapter3.aux
  11. : {chapter3/thesis-chapter3}
  12. I'm skipping whatever remains of this command
  13. Database file #1: chapter1/thesis-chapter1.bib
  14. Warning--I dind't find a database entry for "Barber1996"
Last edited by JensL on Sat Dec 13, 2008 1:52 pm, edited 1 time in total.

Please, wait while we are validating your browser

0 thoughts on “Bibliography Latex Chapter

Leave a Reply

Your email address will not be published. Required fields are marked *