\documentclass{article}
\usepackage{hevea}
\begin{document}

\section{Section One}\label{sec/one}
Link to section \ref{sec/one} and section~\ref{sec/two}.
Also a link to subsection coucou~\ref{sec/coucou}.
\section{Section Two}\label{sec/two}
\subsection{Subsection}
Link to the following section coucou~\ref{sec/coucou}.

Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par

Just
newline.

\subsection{Coucou\label{sec/coucou}}
Link to section \ref{sec/one}.

Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par
Lot of space.\par


\end{document}
