# Reset the counter of references in each chapter

I am currently busy with writing my PhD book in LaTeX. I want to have separate references list at the end of each chapter. Thanks to my colleague, we have added some line for this purpose and it works great at the moment. The problem now is that the counter continues increasing from the previous chapter. I want to have complete separate references list for each chapter, meaning that the counter should start from 1 for each chapter. Could you please tell me if there is any short solution like an option for this purpose?

\usepackage[backend=bibtex,style=ieee,natbib=true]{biblatex}

\ExecuteBibliographyOptions{refsegment=chapter,
firstinits=true,backref=true,backrefstyle=two,block=space,defernumbers=true}

\newcommand{\printreferences}%
\chapter*{References}


then at the and of each chapter I use

\printreferences


Thanks for any comment.

-

Use the refsection instead of the refsegment environment. Quoting section 3.6.5 of the manual:

The difference between a refsection and a refsegment environment is that the former creates labels which are local to the environment whereas the latter provides a target for the segment filter of \printbibliography without affecting the labels. They will be unique across the entire document.

\documentclass{article}

\usepackage[refsection=section]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
@misc{C03,
author = {Cuthor, C.},
year = {2003},
title = {Charlie},
}
\end{filecontents}

\begin{document}

\section{First}

Some  text \autocite{A01,B02}.

\section{Second}

Some  text \autocite{A01,C03}.

\end{document}


-
Thank you very much for your quick reply. I have just changed the code. It doesn't shoot any error but doesn't show any references though. I am digging in although I am pretty new in LaTeX. –  Koliva Jul 31 '12 at 19:05
I compiled it with \usepackage[backend=bibtex,style=ieee,natbib=true, refsection=section]{biblatex} and still no joy. –  Koliva Jul 31 '12 at 19:17

Modify your code along these lines and be sure to use biber instead of bibtex. bibtex does not have all the features of biber which is the default reference generator for biblatex.

\usepackage[style=ieee,natbib=true]{biblatex} %default backend is biber

\newcommand{\printreferences}%