LaTeX: bibliography per chapter.
Posted
by YuppieNetworking
on Stack Overflow
See other posts from Stack Overflow
or by YuppieNetworking
Published on 2010-05-04T12:29:34Z
Indexed on
2010/05/04
12:38 UTC
Read the original article
Hit count: 564
Hello all,
I am helping a colleague with his PhD thesis and we need to present the bibliography at the end of each chapter. The question is: does anyone have a minimal working example for this case using latex+bibtex?
The current document structure that we use is the following:
main.tex
chap1.tex
chap2.tex
...
chapn.tex
biblio.bib
Where main.tex contains packages, document declarations, macros and \includes for each chapter. biblio.bib is the only bibtex file (I think is easier to have all citations in one place).
We have searched and tried with different latex packages, reading and following their documentation. Specifically, bibitems and chapterbib.
bibitems successfully generates bu*.aux files, but when running bibtex for each one of them, an error occurs since there is no \bibdata element in the .aux file.
chapterbib also generates a .aux file, but bibtex finishes with an error caused by using multiple \bibliography{file} in the .tex files (one per chapter).
Some coworkers suggested using a separate bibtex file for each chapter, which could be a problem of maintenance in the future when citing the same publications in different chapters.
We will like to continue having this document structure, if possible. So, if anyone could shed some light to this problem, we will appreciate it.
Thanks.
© Stack Overflow or respective owner