4

I am having problem in enclosing bibliography after each chapter. In fact the bibliography of first chapter is repeating after each chapter with ? mark in the main text of the second chapter onwards. Here is what I am doing: The main TeX file:

\usepackage[square, comma, sort&compress]{natbib}
\begin{document}
...
...
\begin{thesis}

\headingsoff
\headingson
\include{ch1/ch1}
\include{ch2/ch2}
......
....
\end{thesis}
\end{document}

Each chapter is as follows:
\chapter{chapter 1}
{\large
\section{Introduction}
\label{intro}
.....
.....
\bibliographystyle{bibstyle/thesis_bib}
\bibliography{ch1/bib/myref}
}

I am compiling main.tex as LaTeX and then BibTeX and back as LaTeX. The ref in 1st chapter is coming alright. But second chapter onwards it is giving problem. I have separate bib file for each chapter. Please help me finding out where I have done mistake.

Thanks

3
  • 5
    Use biblatex and not natbib if you want to split bibliographies. tex.ac.uk/cgi-bin/texfaq2html?label=chapbib – Ulrike Fischer Dec 19 '13 at 11:04
  • 1
    Have you seen this? – crixstox Dec 19 '13 at 14:25
  • No documentclass given, something providing a thesis environment. Though biblatex might work with its refsection functionality, it is unclear here. There are other Q/As on site, but since the environment here is not well defined, marking as duplicate seems difficult. I vote to close as unclear, especially since no feedback was given. – Johannes_B Mar 27 '15 at 22:40