\section{sub2 with spaces}\label{sec:sub2 with spaces}
\begin{equation}
f(x) = 42
\label{eq:included sub with spaces is working}
\end{equation}