http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nameref
The way that works for me is the nameref command from within hyperref package. One possible usage is:
\section*{foo}
\label{sec:foo}
...
\nameref{sec:foo}
\section*{foo}
\label{sec:foo}
...
\nameref{sec:foo}
see http://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing for more detils\section{Greetings} \label{sec:greetings} Hello! \section{Referencing} I greeted in section~\ref{sec:greetings}.
\bibliography{file1,file2}where file1.bib and file2.bib contain the references