3

I am customizing apa6e for a large report. I need the functionality of apa6e's leavefloats option. But when that option is passed to the class, biblatex-apa doesn't work, giving me an error about the argument of \MakeLowercase having an extra }.

By removing leavefloats, everything works perfectly. I can't figure out why exactly from reading the code, I'd appreciate if someone can point me in the right direction.

A latex example:

\documentclass[leavefloats]{apa6e}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa, backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\bibliography{books}
\title{Test}
\shorttitle{Test}
\author{Johnny B. Good}
\authornote{\ldots}
\abstract{\ldots}
\begin{document}
  \maketitle
  This is my example \parencite{good}.
  \newpage
  \printbibliography
\end{document}

The accompanying bib file:

@Book{good,
      author={Johnny B. Good},
      title={My great book},
      publisher={Good Publishing},
      year={1910}
}
  • A MWE example would be useful. – egreg Jan 20 '12 at 17:05
  • 2
    The command authornotes is undefined. The correct one is authornote. Avoid the command \bibliography instead use \addbibresource{books.bib}. With this modification your example works without any errors. – Marco Daniel Jan 20 '12 at 18:15
  • @MarcoDaniel Thanks! this is exactly what I needed. If you can add it as an answer I can accept it :) – ravl1084 Jan 21 '12 at 17:00
  • @ravl1084: Done ;-) – Marco Daniel Jan 21 '12 at 17:36
5

In relation to the comments I switch my comment to an answer

The error in your code based on the command \authonotes. This command is undefined. The correct one is \authornote (without "s").

Next thing. Please use \addbibresource instead of \bibliography. The manual of biblatex explains the differences and the advantages of \addbibresource. However \addbibresource expect the filename with the extension.

\addbibresource{books.bib}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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