I believe I have everything configured correctly (having looked at other questions). I have replaced bibtex % with biber % in the Commands and I have selected PdfLaTex + Bib(la)tex + PdfLaTex (x2) + View Pdf. Minimal working example as follows:




\citet{Cocks2011} liked to play in the snow. The snow was rather cold \citep{Cocks2011}.



The example bilbliography:

author = {Cocks, L. Robin M. and Torsvik, Trond H.},
doi = {10.1016/j.earscirev.2011.01.007},
issn = {00128252},
journal = {Earth-Science Reviews},
keywords = {Laurentia,Palaeozoic,palaeogeography},
number = {1-2},
pages = {1--51},
publisher = {Elsevier B.V.},
title = {{The Palaeozoic geography of Laurentia and western Laurussia: A stable craton with mobile margins}},
url = {http://linkinghub.elsevier.com/retrieve/pii/S001282521100016X},
volume = {106},
year = {2011}

Running biber then Quick Build produces the following error:

 ! Package keyval Error: uniqueprimaryauthor undefined.See the keyval package documentation for explanation.Type H <return> for immediate help.... ... dateabbrev=false}

closed as off-topic by moewe, Stefan Pinnow, Thorsten, user36296, Mensch Jun 10 '16 at 16:01

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • I neglected to mention that I am using the latest version of Miktex (v2.9) – Ton Jun 9 '16 at 15:53
  • This pretty much looks like a version mismatch between biblatex/Biber and biblatex-apa to me. Make sure to update all packages by running the Update Manager (in both Admin and User mode) twice. – moewe Jun 9 '16 at 17:35
  • Just for people getting here by some sort of search function: Refer to Biblatex with Biber: Configuring my editor to avoid undefined citations for help on running Biber in TeXmaker. – moewe Jun 9 '16 at 17:42
  • 4
    I'm voting to close this question as off-topic because it was about a a version mismatch between biblatex-apa and biblatex/Biber that has since been resolved by the OP (see comment below Bernard's answer). – moewe Jun 10 '16 at 14:08

What you did is correct. For me there's just a small problem with your code: the apa style requires a \DeclareLanguageMapping declaration. Also, you should load csquotes. So add these lines to your preamble:


enter image description here

Edit (20/02/2019): As indicated by @moewe's comment below, \DeclareLanguageMapping is now automatic in recent versions of biblatex-apa.

  • I have added those three lines but the uniqueprimaryauthor error remains the same. – Ton Jun 9 '16 at 17:25
  • With only the code and bibliography you posted? – Bernard Jun 9 '16 at 17:27
  • Also which versions of biber and biblatex do you use? – Bernard Jun 9 '16 at 17:36
  • I took on board the advice by @moewe to update everything and it is all working now. Thanks very much Bernard and moewe – Ton Jun 10 '16 at 8:11
  • In recent versions of biblatex-apa the \DeclareLanguageMapping will be applied automatically, so there is no need for a manual mapping any more. – moewe Feb 20 at 8:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.