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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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}


Each chapter is as follows:
\chapter{chapter 1}

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.


share|improve this question

closed as unclear what you're asking by Johannes_B, Paul Gessler, cfr, Mike Renfro, egreg Mar 27 '15 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.

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
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