I am using the natbib package to manage my references for my thesis. Unfortunately the citations are undefined and it prints "?" in the pdf rather than the actual Citation from my bib file. Neither are my references printed. I am using texmaker. Does anybody know how to solve my problem? Do i have to compile it in a specific order? I usually compile: PDFLatex - Bibtex - PDFlatex - show pdf latex.
Here is my code:
\documentclass[12pt,a4paper]{article}
%% Font
%\usepackage{mathpazo}
%% Mathematics
\usepackage{amsmath, latexsym}
%% Graphics
\usepackage{graphicx}
%% Line spacing
\usepackage[onehalfspacing]{setspace}
%% Bibliography
\usepackage[round]{natbib}
\bibliographystyle{abbrvnat}
%% Hyperlinks
\usepackage[hidelinks]{hyperref}
\usepackage{float}
\usepackage{booktabs}
\usepackage{footnote}
\usepackage[flushleft]{threeparttable}
\usepackage{lscape}
\newcommand{\eg}{{\it e.g.}}
\newcommand{\ie}{{\it i.e.}}
\begin{document}
\newpage
\renewcommand{\thepage}{\roman{page}}
\setcounter{page}{2}
\setcounter{page}{1}
\renewcommand{\thepage}{\arabic{page}}
\section{Introduction}
\section{Literature Review}
\section{Identity Index }
The identity index developed by FehrAdvice \& Partners AG measures a person's feeling of belonging to a particular cooparation.
An identity is defined as a person's sense of self \citep{akerlof2000economics} .
\bibliography{References}
\end{document}
.bibentryakerlof2000economics. Please also check the.blgand.logfiles for warning or error messages. – moewe Jul 20 '19 at 08:58.bibfile, you run it on the basename of your.texfile (or BibTeX on the.auxand Biber on the.bcf). – moewe Jul 23 '19 at 14:13