In the preamble of main file
\usepackage[square, numbers, comma, sort&compress]{natbib}
\usepackage{chapterbib}
In tex file "A" – Chapter A
aaaaaa \cite{bibtexkey1}
\bibliographystyle{unsrtnat}
\bibliography{bib file A}
In tex file "B" – Chapter B
aaaaaa \cite{bibtexkey2}
\bibliographystyle{unsrtnat}
\bibliography{bib file B}
In tex file "C" – Chapter C
aaaaaa \cite{bibtexkey13}
\bibliographystyle{unsrtnat}
\bibliography{bib file C}
Compiling result:
- End of Chapter A Fully displayed cite references in
bib file A
- In pdf display question mark in text and at the end of Chapter B Fully displayed cite references in
bib file A
- The same result of references display as chapter B
Questions:
Could you please help me to solve the issue? Many thanks
P/s: I have tried several ways, but still not work.
Best Answer
Referring to your comments I assume that you want a bibliography at the end of each chapter using biblatex and biber. Important is the option
refsection=chapter
combined with the headingsubbibliography
at the\printbibliography
command in each chapter.You can compile the example code below by:
This is what you get: