In LaTeX you can easily reference a section by using \label{} next to a section and then \ref{} to create the reference. However, the reference only includes the number of the section, or the page with \pageref{}. I would like to insert a reference containing the text of the section.
Example:
\section{My Section}
\label{section:my}
This is a reference to Section~\ref{section:my}.
The output is the following:
1. My Section
This is a reference to Section 1.
I would like to have:
This is a reference to 1. My Section.