I've been attempting to get BiblaTeX to work with the Apa6 Document class. However, when I run pdflatex, biber, and pdflatex again, I get two errors:
- Undefined Control Sequence.
testtesttest \cite{Example01} - Undefined Control Sequence.
\end
Here is my tex file:
\documentclass[doc,12pt,biblatex]{apa6}
\usepackage{csquotes}
\usepackage[american]{babel}
\addbibresource{bibliography.bib}
\shorttitle{Short APA title}
\begin{document}
testtesttest \cite{Example01}
\printbibliography
\end{document}
Here is my bibliography file:
@misc { Example01,
author = "Bob Smith",
title = "A Million Random Stories with 100,000 Normal Characters",
publisher = "Bob's Publishing",
year = "2017"
}
@book { Example02,
author = "John Doe",
title = "Lorem Ipsum 2: The Lipsuming",
publisher = "Doe Books",
year = "2016"
}
Notes
- I'm using pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian)
- I'm using biber 2.7 (beta)
- I only need to remove the
\cite{Example01}phrase, and it compiles completely - The pdflatex appears to compile an incomplete version of the citations, eg. the citation looks like "Smith, labelyearlabelmonthlabelday" and the bibliography is similar.
- I'm using the
texlive-fullandtexlive-publisherspackages on Ubuntu 17.10.
\DeclareLanguageMapping{american}{american-apa}to your preamble. – moewe Sep 06 '17 at 17:48