I have tried to add a reference to an appedix inside a subsection title. When I compile it appears a ?? and there is a link to the right place but I want in the link the number of the appendix and not the ??. Am I doing something wrong?
The code is:
\subsubsection{4 Herculis \ref{fig.A.1}}
The appendix:
\appendix
\section{Espectros red 150 lin/mm}\label{ap.A}
\subsection{4 Herculis}
and the error message:
Reference `fig.A.1' on page 32 undefined on input line 677.
Token not allowed in a PDF string (PDFDocEncoding):(hyperref) removing `\<def>-command' on input line 677. Token not allowed in a PDF string (PDFDocEncoding):(hyperref) removing `\<def>-command'
Token not allowed in a PDF string (PDFDocEncoding):(hyperref) removing `\@refundefined' on input line 677. Token not allowed in a PDF string (PDFDocEncoding):(hyperref) removing `\@refundefined'
Token not allowed in a PDF string (PDFDocEncoding):(hyperref) removing `\<def>-command' on input line 677. Token not allowed in a PDF string (PDFDocEncoding):(hyperref) removing `\<def>-command'
\documentclass{...}and ending with\end{document}. – Sean Allred Jun 21 '13 at 18:39\label{fig.A.1}. If you have please show the code ... – Mensch Jun 21 '13 at 18:45