I am trying to create my first book using book-class. I have successfully included chapters and the reference pages of each chapter are shown flawlessly. However, for some reason my citations in the main text don't work - for example, instead Sims (2003), I get author ?. I have tried numerous things but can't figure out, why is this happening - would appreciate a lot, if someone could help.
Here is a piece of code that I find relevant:
The main thesis.tex file that includes chapters:
\documentclass[a4paper,12pt]{book}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[numbers,sectionbib]{natbib}
\usepackage{chapterbib}
\usepackage[onehalfspacing]{setspace}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{color}
\usepackage[utf8]{inputenc}
\usepackage{fullpage}
\usepackage{epigraph}
\usepackage{xr}
\setcounter{MaxMatrixCols}{10}
%\addtolength{\oddsidemargin}{-0.5in}
%\addtolength{\evensidemargin}{-0.5in}
%\addtolength{\textwidth}{1.0in}
%\addtolength{\topmargin}{-0.5in}
%\addtolength{\textheight}{1.0in}
\setlength{\epigraphwidth}{0.7\textwidth}
\usepackage[titletoc]{appendix}
%\bibliographystyle{plainnat}
\begin{document}
\frontmatter
%\pagenumbering{roman}
\tableofcontents
\mainmatter
%\pagenumbering{arabic}
\include{tex/chapter1}\newpage\cleardoublepage
%\input{tex/chapter2}\newpage\cleardoublepage
%\input{tex/chapter3}\newpage\cleardoublepage
%\input{tex/chapter4}\newpage\cleardoublepage
%\input{tex/chapter5}\newpage\cleardoublepage
\end{document}
Inside chapters I call references page by:
\renewcommand\bibname{{REFERENCES}}
\bibliographystyle{plainnat}
\bibliography{tex/references}
Inside chapter texts I cite in the following way:
\citet{Weibull2007}
While the corresponding entry in the bib file references looks like:
@ARTICLE{Weibull2007,
author = {Jorgen W. Weibull and Lars-Goran Mattsson and Mark Voorneveld},
title = {Better May be Worse: Some Monotonicity Results and Paradoxes in Discrete Choice Under Uncertainty},
journal = {Theory and Decision},
year = {2007},
volume = {63},
month = {September},
timestamp = {2016.06.26}
}
As an output of this citation I get: (author?) [54] study
More information on the chapter setups:
\chapter[Content title ]{}
\title{Title}
\begin{center}
\huge{Title}
\footnote{text}
\large{author\footnote{
text}}
\vspace*{2cm}
\end{center}
\begin{center}
\textmd{Abstract}
\end{center}
text
\newpage
\section{Introduction}
text. cite{author1} text.\citep{author2} text. \ref{Sec: Model1} text.
\section{Section two}
text. \citeauthor{author3}.
\section{Conclusion}
text
\renewcommand\bibname{{REFERENCES}}
\bibliographystyle{plainnat}
\bibliography{tex/Citation}
\begin{appendices}
\appendixpage
\noappendicestocpagenum
\addappheadtotoc
\section{one}
text
\section{two}
text
\end{appendices}
Does anybody see the problem? Any help would be much appreciated.
Best,
Mark

(pdf)latex -> bibtex -> (pdf)latex (twice)? – Bernard Jun 26 '16 at 18:18\bibliographystyle{plainnat}.\citetand\citepdepends upon style. – Runar Jun 26 '16 at 18:27\input{....}statements -- this is not a compilable document! – Jun 26 '16 at 18:29\newpage\cleardoublepagestatements are probably unnecessary. – Mico Jun 26 '16 at 19:35