The manual says:
1 Normal use: Put \bibliographystyle and \bibliography commands in each \included file. Run LATEX; run BibTEX on each included file; run
LATEX; run LATEX.
So you should do something like this:
\documentclass{article}
\usepackage{filecontents}
\usepackage[sectionbib]{natbib}
\usepackage{chapterbib}
\begin{filecontents*}{article_I_text.tex}
literature \cite{testref}.
\bibliographystyle{plain}
\bibliography{references}
\end{filecontents*}
\begin{filecontents*}{references.bib}
@article{testref,
title={testarticle}}
}
\end{filecontents*}
\begin{document}
\include{article_I_text}
\end{document}
The sectionbib
of natbib
replaces the sectionbib
option of chapterbib
, but not the entire package.
To get a bibliography after every chapter, you still have to load chapterbib
too:
\documentclass[twoside,openright,numbers=endperiod,titlepage,headinclude,
footinclude=false,cleardoublepage=empty,abstractoff,
BCOR=5mm,b5paper,fontsize=11pt, american,
]{scrreprt}
\usepackage[square, numbers, comma, sort&compress]{natbib}
\usepackage{chapterbib}
\begin{document}
\include{Chapters/Literature}
\end{document}
You do not need the sectionbib
option because it is incompatible with scrreprt
. A workaround can be found at sectionbib option for natbib doesn't work with scrreprt:
Change your chapters to
balaleafelj~\cite{1}.
\bibliographystyle{unsrtnat}
{\footnotesize \let\chapter\section
\bibliography{Chapters/outlookref}}
Remember that with chapterbib
, you have to run bibtex
for every chapter.
Best Answer
You wrote:
Short answer: Yes.
Longer answer: You can have both a global bibliography as well as per-chapter bibliographies. Here's an excerpt from pp 3f. of the user guide of the
chapterbib
package: