I think I may have found a bug in either hyperref
, cleveref
oder varioref
but can't determine the details any further. If do not load hyperref
in the following example, the result is fine.
\documentclass[ngerman]{scrartcl}
\usepackage{babel}
%\usepackage{hyperref}
\usepackage{varioref}
\usepackage{cleveref}
\begin{document}
\section{Erster Abschnitt}\label{sec}
\begin{figure}
\rule{\textwidth}{1cm}
\caption{bild}\label{bild}
\end{figure}
Siehe \vref{sec}, siehe \vref{bild}
\end{document}
If I load hyperref
the reference reference to the section cannot be expanded, I get the following error instead:
! Argument of \@fourthoffive has an extra }.
<inserted text>
\par
l.19 Siehe \vref{sec}
, siehe \vref{bild}
?
Any idea from which package this error may result?