Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question

closed as unclear what you're asking by Johannes_B, Paul Gessler, cfr, Mike Renfro, egreg Mar 27 at 23:10

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

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 at 22:40