Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I get the warning,

Package biblatex warning: Macro 'reviewauthor' undefined

when running the following,

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
    @Book{elvis,
    author = "Elvis Presley",
    title = "Turn Me One More Time",
    publisher = "Jail House Books",
    year = 1963,
}
\end{filecontents}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{\jobname.bib}

\begin{document}
Here is a citation \textcite{elvis}

\printbibliography
\end{document}

When using, say style=authoryear there's no warning.

Now this doesn't seem to cause any untoward effects yet but I hate warnings since they have a habit of coming back and haunting you later.

Any ideas what this is about?

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

The warning is harmless. The reasons why it is generated is because the apa style declares \renewbibmacro{reviewauthor} and the macro reviewauthor is not defined in the files loaded by the style.

However, the BibLaTeX manual, for \renewbibmacro, specifies

Similar to \newbibmacro but redefines ⟨name⟩. In contrast to \renewcommand, \renewbibmacro issues a warning message if the macro is undefined, and automatically falls back to \newbibmacro.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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