I have a problem with the reference of an annex. In the main .tex file I put
%... couple of lines before this
\include{ThesisChapter4} %
\include{ThesisAppendixA} % Appendix A
and in Appendix A I write this:
\chapter*{Appendix A}
\label{ThesisAppendixA} \thispagestyle{plain} %\pagenumbering{roman}
\begin{figure}[ht]
\centering
\includegraphics[scale=1]{images/heike/img1}
\label{image1}
\end{figure}
In the page of ThesisChapter4, I tried to refer to the chapter of Appendix A with this:
A complete procedure is provided in chapter \ref{chap:Appendix A}.
However, when I look at the created PDF, this is shown as
A complete procedure is provided in chapter ??.
I have actually managed to refer to different figures before, however so far these refer to labels in the same file (for instance, in thesis chapter 4, I refer to a certain figure in the thesis chapter 4). When I tried to reference to chapter Appendix A, it fails. I tried to refer to the label also (image1) but it also fails.
Does anyone know how to fix above problem?

ThesisAppendixA, notchap:Appendix A. – Torbjørn T. Feb 15 '12 at 18:20namerefpackage, and use... is provided in \nameref{ThesisAppendixA}, but it doesn't solve the figure reference. Depending on document class, you may have an\appendixcommand, that switches the numbering of subsequent chapters to A, B, C etc., instead of 1, 2, 3. Then you can use a numbered chapter, and refer to it as usual. Which class are you using? – Torbjørn T. Feb 15 '12 at 18:51