[Tugindia] Including bibliography in each chapter

Viswanath P viswap at Math.net
Sun Apr 27 00:56:41 CEST 2003


Hi Tug-India,

        I am facing some problem in including bibliography for
each chapters.  When I include this bib files under each chapter 
in the main tex document as,

**********************************
\usepackage[sectionbib]{natbib}
\usepackage{chapterbib}
\bibliographystyle{plain}

\input{chapter1.tex}
\bibliography{bib-chapter1}

\input{chapter2.tex}
\bibliography{bib-chapter2}

******************************************

I did latex once, and bibtex followed by twice latexing
as specified in the tutorial.

The error message is,

+++++++++++++++++++++++++++++++++++++++++++
bibtex thesis
This is BibTeX, Version 0.99c (Web2C 7.3.1)
The top-level auxiliary file: thesis.aux
The style file: plain.bst
Illegal, another \bibdata command---line 311 of file thesis.aux
 : \bibdata
 :         {bib-chapter2}
I'm skipping whatever remains of this command
Database file #1: bib-chapter1.bib
(There was 1 error message)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Any hint on how to do the bibliography compilation for each
chapter which has seperate bib files.  

I tried \bibliography{bib-chapter1, bib-chapter2} which puts
the references in the chapter 1 itself.

Thank you,

with regards,

Viswanath P.

_____________________________________________________________
Get your free web-based e-mail account from http://www.Math.net
Your online tourguide of Mathematics, with books, links, news,
message boards, and much more!

_____________________________________________________________
Select your own custom email address for FREE! Get you at yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag


More information about the Tugindia mailing list