After visiting wiki on labels and cross-referencing, a couple of tex sites (1,2), and a stackexchange solution, the following reference will not appear in the caption. I'm using pdflatex on ubuntu.
The section label that is being referenced (appen) is defined at the end of the doc. All of the following attempts to insert the reference in the caption produce ?? or [?]:
\begin{figure}[!ht]
\caption*{See the ~\ref{appen} for language abbreviations.}
\makebox[\textwidth]{\includegraphics[width=100mm]{{/filepath/hourly.update}.pdf}}
\end{figure}
\begin{figure}[!ht]
\caption*{See the ~\cite{appen} for language abbreviations.}
\makebox[\textwidth]{\includegraphics[width=100mm]{{/filepath/hourly.update}.pdf}}
\end{figure}
\begin{figure}[!ht]
\caption*{See the ~\protect\ref{appen} for language abbreviations.}
\makebox[\textwidth]{\includegraphics[width=100mm]{{/filepath/hourly.update}.pdf}}
\end{figure}
\begin{figure}[!ht]
\caption*{See the ~\protect\cite{appen} for language abbreviations.}
\makebox[\textwidth]{\includegraphics[width=100mm]{{/filepath/hourly.update}.pdf}}
\end{figure}
\section{Appendix}
\label{appen}
\subsection{Language Abbreviations}
...words, figures, tables, and such.
-- edit 2013-02-12
Error received:
LaTeX Warning: Reference `appen' on page 2 undefined on input line 94
Any idea how to insert a reference within a caption?