As posted in my other question, I am publishing a book and these 2 errors are the only errors remaining after weeks of struggling in solving problems.
The following image:
is produced by the following code:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{natbib}
\title{testest}
\author{dennis93muller }
\date{August 2016}
\begin{document}
\maketitle
programs as defined by \citet{DeMaio2009Bike-sharing:Future}.
\bibliographystyle{plain}
\bibliography{Mendeley.bib}
\section{Introduction}
\end{document}
The bib.file contains the following:
@article{DeMaio2009Bike-sharing:Future,
title = {{Bike-sharing: History, impacts, models of provision, and future}},
year = {2009},
journal = {Journal of Public Transportation},
author = {DeMaio, Paul},
number = {4},
pages = {3},
volume = {12},
isbn = {1077-291X}
}
The output should be: programs as defined by DeMaio. However this is not the case. Does anyone have any idea why this is happening? I have also tried \cite or \citep, neither have the right ouput!
\title{testest} \author{dennis93muller } \date{August 2016}
\begin{document}
\maketitle
programs as defined by \citet{DeMaio2009Bike-sharing:Future}.
\section{Introduction}
\end{document} provides the same output with the following error: You have cited something which is not included in your bibliography. Make sure that the citation (\cite{...}) has a corresponding key in your bibliography, and that both are spelled the same way.
– Soldexio Aug 18 '16 at 15:18