I've read several posts and other webpages now on using \protect in front of \cite inside \caption. They all advise using \protect in this situation, and many go as far as to say that you must use it.
Now, I've been able to use \cite inside \caption without \protect and still get no errors. For example, the following works fine:
\documentclass{article}
\begin{document}
\begin{figure}
Hello
\caption{I cite this \cite[p. 41]{lang:cyc}.}
\end{figure}
\begin{thebibliography}{1}
\bibitem{lang:cyc}
S.~Lang.
\newblock {\em Cyclotomic fields {I} and {II}}, volume 121 of {\em Graduate Texts in Mathematics}.
\newblock Springer-Verlag, New York, second edition, 1990.
\newblock With an appendix by Karl Rubin.
\end{thebibliography}
\end{document}
I'm interested to know, therefore, whether \protect is strictly necessary in this context. Could it be that it's sometimes not necessary (as in the above), but that it's best to use it anyway because you never know when some intricate circumstance might make it necessary?
Thanks for your help.
\citein a “fragile” way. By default,\citeis a robust command. – egreg Apr 29 '14 at 17:38\citein a fragile way (apacite.sty). – egreg Apr 29 '14 at 17:50\citewithout problems in captions, also\refworks fine. The only occasion I had to use\protectinside a caption, was when I created a sub-figure and used\subrefwithin the main caption. [http://tex.stackexchange.com/questions/62636/referencing-subfigures-in-main-caption-with-subfloat-and-subref] – Dohn Joe Apr 29 '14 at 20:54