I use cleveref to get more convenient cross references which among other things support multiple references inside a single command. This works fine except in the appendix. Whenever I put multiple references inside a single
\cref{}
in the appendix I get an error on the second run of PDFLaTeX.Here's a minimal example ...
Code: Select all
\documentclass{scrbook}
\usepackage[utf8]{inputenc}
\usepackage{cleveref}
\begin{document}
\appendix
\section{Section One}
\label{A}
Merged cref: \cref{A,B}
\section{Section Two}
\label{B}
Merged cref: \cref{A,B}
\end{document}
Code: Select all
! Missing number, treated as zero.
<to be read again>
{
l.13 Merged cref: \cref{A,B}
\appendix
everything works just fine. Any ideas how to fix this?