I am getting this error while trying to build my tex file.
As soon as I include the cleveref
package, I get this error and it shows
cleveref.sty
with the cursor at the bolded part of the file.
\def\make@df@tag@@@#1{%
\gdef\df@tag{\tagform@{#1}%
\toks@\@xp{\p@equation{#1}}%
\edef\@currentlabel{\the\toks@}%
\edef\cref@currentlabel{[equation][2147483647][]\the\toks@}}}
**}{}% end of \@ifpackageloaded{amsmath}**
\@ifpackageloaded{IEEEtrantools}{%
\PackageInfo{cleveref}{`IEEEtrantools' support loaded}
\let\cref@orig@@IEEEeqnarray\@@IEEEeqnarray
\def\@@IEEEeqnarray[#1]#2{%
\refstepcounter{equation}%
What could be the reason for this error?
from the comments:
\begin{filecontents*}{example.eps}
gsave newpath 20 20 moveto 20 220 lineto 220 220 lineto 220 20 lineto
closepath 2 setlinewidth gsave .4 setgray fill grestore stroke grestore
\end{filecontents*}
\RequirePackage{fix-cm}
\documentclass[smallextended]{svjour3}
\smartqed \let\proof\relax \let\endproof\relax \usepackage{cleveref}
\begin{document}
\title{Title} \author{First Author} \date{Received: date / Accepted: date}
\maketitle
\begin{abstract} \end{abstract}
\maketitle
\section{Introduction}
\end{document}
Best Answer
svjour3 isn't in texlive but I got a copy from the springer site. It appears to have a bug and your document goes into an infinite loop
\cl@chapter
is defined to expand to itself. This fixes (or at least avoids) that immediate problem.