I'm having trouble getting basic APA bibliographies to work. The same thing works with nejm style, but changing the style to apa gives errors:
! Undefined control sequence.
<argument> \mkbibdateapalongextra
{year}{month}{day}\iffieldundef {endyear}{...
Package biblatex Warning: Macro 'name:apa:last-first' undefined.
(biblatex) Using \newbibmacro.
Package biblatex Warning: Macro 'name:apa:first-last' undefined.
(biblatex) Using \newbibmacro.
I'm using texlive 2012, as you can see I'm using biber, yes, I reran biber, and also tried delting the .bbl file and rerunning tools. My source markup is:
\documentclass[12pt]{article}
\usepackage[hidelinks]{hyperref}
\usepackage[backend=biber,style=apa]{biblatex}
\addbibresource{BibResource.bib}
\begin{document}
test\parencite{ormrod2004human}
\clearpage
\printbibliography
\end{document}
Best Answer
You need to
\DeclareLanguageMapping
to provide the macros thatbiblatex
is expecting. Note that this requires you to load thebabel
package as well. See page 231 of thebiblatex
manual for more information.