# Bibliography after each chapter from single bib file

I am trying to compile a thesis which has a main.tex file which includes different chapters. I need to have references after each chapter. All the references are in a single .bib file. But when I compile I do not get references list and in place of reference number I get [?].

\documentclass[phd,tocprelim]{CU}
\usepackage[sectionbib]{chapterbib}

%\bibliographystyle{plain}
%\bibliographystyle{IEEEbib}

\begin{document}

\include{chapter1/thesis-chapter1}
\include{chapter2/thesis-chapter2}
\include{chapter3/thesis-chapter3}

\end{document}


The individual chapters are stored in separate sub-folders. An example for chapter 1 is (All_citations is bibliography file):

\chapter{abc}{\label{1}}
\section{Introduction}
...
...
\bibliographystyle{ieeetr}
\bibliography{All_citations}


Thanks

• I found threads similar to your question in the forum: tex.stackexchange.com/questions/282779/bibliography-by-chapter tex.stackexchange.com/questions/374546/… tex.stackexchange.com/questions/229846/… do you think they can help you? – Annie Fubini Feb 17 '20 at 14:41
• Thanks Annie for answering. But I have already seen these threads and unfortunately, they are not solving the issue. – Zulqar Feb 17 '20 at 14:57
• I'm sorry I can't help. Unfortunately it goes beyond my skills. I try to involve more experienced users. – Annie Fubini Feb 18 '20 at 11:52
• If the bibliography style is in the main directory, you should use \bibliography{../All_citations} --- does bibtex find the file or is it complaining? – Rmano Feb 18 '20 at 12:06
• did you run bibtex on all the aux-files from the \include commands? You will needed bibtex thesis-chapter1 (or perhaps bibtex chapter1/thesis-chapter1, I have forgotten and didn't check). – Ulrike Fischer Feb 18 '20 at 12:28