I would like a way to make an hyperref link to the beginning of the current section or chapter, that has the same effect of using \label{section} and \ref{section} with hyperref on, but without having to use \label.
Here is an MWE:
\documentclass[10pt,a5paper]{report}
\usepackage{fontspec}
\usepackage{lipsum}
\usepackage[linktoc=all,hidelinks,bookmarksnumbered,pagebackref,xetex]{hyperref}
\begin{document}
\chapter{Chapter 1}
\lipsum[1-2]
\section{Section 1}
\lipsum[3-5]
\section{Section 2}
\lipsum[6]
\textbf{Link to current section.}\\
\textbf{Link to current chapter.}\\
\lipsum[6]
\end{document}
currentsection and what is wrong with\label? – Sep 29 '15 at 12:47