I have a problem using the cleveref package in combination with the built-in \appendix command. I receive the following error: "Missing number, treated as zero..." as soon as I activate the \appendix command. If no appendix is used, the document compiles well. Please see the minimal working example below. Thank you for your time.
Code: Select all
\documentclass{report}
\usepackage[capitalise]{cleveref}
\begin{document}
\appendix
\chapter{World}
\label{C:World}
\cref{C:World} gives an overview of the world continents.
\cref{S:Eurasia,S:Africa} describe the continents of Eurasia and Africa.
\section{Eurasia}
\label{S:Eurasia}
Eurasia is a continent or supercontinent covering about 52,990,000 km$^2$
(20,846,000 mi$^2$) or about 10.6\% of the Earth's surface (36.2\% of the land
area) located primarily in the eastern and northern hemispheres.
\section{Africa}
\label{S:Africa}
Africa is the world's second largest and second most populous continent, after
Asia. At about 30.2 million km$^2$ (11.7 million sq mi) including adjacent
islands, it covers 6\% of the Earth's total surface area and 20.4\% of the total
land area.
\end{document}