I need to prepare a manuscript according to APA 6th style. I tried using the apa6 class and biblatex for document style and references respectively. The citations within the contents are not coming out properly, and the bibliography is not printed (despite using the \printbibliography command). Please advise what is wrong. My code is given below:
\documentclass[12pt,biblatex]{apa6}
\usepackage[british]{babel}
\DeclareLanguageMapping{british}{british-apa}
\usepackage{filecontents}
\begin{filecontents*}{soccer.bib}
@book{kuper2012,
title={Soccernomics: Why England Loses, why Spain, Germany, and Brazil win, and why the US, Japan, Australia, Turkey - and even Iraq - are destined to become the kings of the world's most popular sport},
author={Kuper, Simon and Szymanski, Stefan},
year={2012},
publisher={Nation Books, New York}
}
\end{filecontents*}
\addbibresource{soccer.bib}
\begin{document}
Soccer is one of the most popular sports in the world \parencite{kuper2012}.
\printbibliography
\end{document}
document.tex, then you would have to runpdflatex document,biber document,pdflatex document,pdflatex document. Please see Question mark instead of citation number for a first guess what's wrong. Did you run Biber? What do the.logand.blgfiles say? – moewe Jul 31 '15 at 14:48INFO - This is Biber 2.5 INFO - Logfile is 'document.blg' INFO - Reading 'document.bcf' ERROR - Error: Found biblatex control file version 3.2, expected version 3.1. This means that your biber (2.5) and biblatex (3.6) versions are incompatible. See compat matrix in biblatex or biber PDF documentation. INFO - ERRORS: 1
Process exited with error(s)
– Vineet Payyappalli Oct 10 '16 at 16:42biblatexand Biber don't match. Run an update (viatlmgron TeX live and both Updaters - Admin and User - on MikTeX). Withbiblatexversion 3.6 you need to use Biber 2.6. – moewe Oct 10 '16 at 16:50