Actually I am new in LaTeX. I want to get print the bibliography in every chapter. I have tried but failed. My files structure are given below:
In the folder texfiles there are one sub folder named chapters and two files one main .tex file named main.tex and another .bib file named bibliography.bib file.
The subfolder chapters contains two .tex files they are chapter01.tex and chapter02.tex.
The directory texfiles contains :
1.
main.tex:
\documentclass[a4paper,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
%\usepackage[sectionbib]{chapterbib}
\usepackage{biblatex}
\usepackage[numbers]{natbib}
\bibliography{bibliography}
\bibliographystyle{ieeetr}
\begin{document}
\author{Author's Name}
\title{Simple Book Example}
\date{January 2017}
\frontmatter
\maketitle
\tableofcontents
\mainmatter
\include{./chapters/chapter01}
\include{./chapters/chapter02}
\backmatter
\end{document}
2.
bibliography.bib:
@book{id1,
author = {author},
title = {title},
date = {date},
publisher={aaaaaaa},
year={2017}
}
@book{id2,
author = {author},
title = {title},
date = {date},
publisher={sdddddddds},
year={2017}
}
and the subdirectory chapters contains as follows:
1.
chapter01.tex:
\chapter{Title of chapter 1}
some text of chapter 1
\section{Title of section}
some text of section of chapter 1
\cite{id1,id2}
\printbibliography
2.
chapter02.tex:
\chapter{Title of chapter 2}
some text of chapter 2
\section{Title of section}
some text of section of chapter 2
\cite{id1,id2}
\printbibliography
I am using 'Texstudio' compiler in Linuxmint OS. Please help me to do this. Thanks in advance.


natbibpackage is incompatible withbiblatex(chapterbibis similarly incompatible withbiblatex), you will have to use one or the other. – Dai Bowen Jan 20 '17 at 07:39\bibliographystyleline,biblatexdoes not use the\bibliographystylecommand to set the style (take a look at thebiblatexmanual on CTAN or runtexdoc biblatexto get your local copy for information on styles withbiblatex) – Dai Bowen Jan 20 '17 at 07:47biber(the default backend forbiblatex)? Take a look at Question mark or bold citation key instead of citation number and Biblatex with Biber: Configuring my editor to avoid undefined citations for reference. – Dai Bowen Jan 20 '17 at 07:59latex biber latexcompilation sequence working, did you take a look at the questions that I linked to? – Dai Bowen Jan 23 '17 at 18:53