Suppose I have a document structure like this and I am using hyperref
:
Chapter 1 \label{chapter:one}
Section 1 \label{sec:one}
Chapter 2
...
If I input
\ref{chapter:one}, \ref{sec:one}
I get
1, 1.1
I want to get instead:
Chapter 1, Section 1.1
Can I get this within hyperref
? If yes, how?