Problem:
Getting error messages when trying to cite a reference in the figure caption. Not sure what I am doing wrong. Can't seem to find that this has been up previously either.
Minimal Working Example:
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\graphicspath{{figures/}}
\usepackage{apacite}
\bibliographystyle{apacite}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{rub14,
author = {Rubin, Jared},
title = {Printing and {Protestants}: An empirical test of the role of printing in the {Reformation}},
journal = {Review of Economics and Statistics},
volume = {96},
number = {2},
pages = {270--286},
year = {2014},
}
\end{filecontents}
\begin{document}
\begin{figure}[htp]
\centering
\includegraphics[width=\textwidth]{conceptdriven.eps}
\caption{\label{fig:researchscope}The process of concept-driven design approach in relation to theory and use situation, adopted from \citeA[p.~282]{rub14}}
\end{figure}
\bibliography{\jobname}
\end{document}
Desired outcome:
The reference to be directly after the words "adopted from".
\protect
in front of\citeA
, i.e.,\protect\citeA{...}
. The\label
command should not be in the scope of the\caption
command. Thus it should be\caption{....}\label{....}
.