For example, I have :
\section {first section}
\label{sec:first}\
...
then I want to refer to the first section, I use it as below:
Please look at `\nameref{first}` for details.
I will get:
Please look at first section for details.
But if I only want this (without section, only partial part of the reference):
Please look at first for details.
How should I do to get it?
I guess a better example would be:
\section{data.h File Description}
\label{sec:datah}
....
Details are given in \nameref{datah}.
What I really want is:
Details are given in data.h.
But I get:
Details are given in data.h File Description.
I hope this example is clear enought. Is there any way to do this?

\section{first section}...\section{second section}...\section{some section}, or does it differ sometimes? Since the sections are numbered and the output is1 First section, you should consider just writing\section{First}which will output1 Firstand yield the appropriate\namerefyou're after. – Werner Sep 21 '12 at 17:59\namerefis not a standard LaTeX command. Please provide a minal example. – Sep 22 '12 at 18:13