Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The following code produced a TeX capacity exceeded error

\documentclass{scrbook}
\usepackage{caption}
\usepackage{cleveref}
\begin{document}
\begin{figure}
  Text
  \label{fig:figures:1}
\end{figure}
\end{document}

If either caption or cleverref are not loaded the error does not happen.

Versions are:

caption.sty    2011/11/10 v3.2e Customizing captions (AR)
cleveref.sty    2011/10/24{} v0.18{} Intelligent cross-referencing

I have contacted the authors of both packages, but if someone here can provide an intermediate solution I would appreciate it.

share|improve this question

closed as too localized by lockstep, Martin Scharrer Dec 25 '11 at 9:14

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
This may be related to the recent update to the cleveref package. (The date is late October 2011, but I believe it was uploaded to CTAN just a few days ago.) I've noticed similar problems since the update but haven't had the time yet to contact Toby Cubitt (the author of the cleveref package). –  Mico Dec 24 '11 at 12:51
    
Yes, I stripped the code to produce a minimum code example. –  Matthias Pospiech Dec 24 '11 at 12:53
5  
1. An update to the cleveref package is already on it's way to CTAN. 2. I haven't tried it myself but loading the caption package after the cleveref package should help if waiting for the new version of cleveref is not an option. –  Axel Sommerfeldt Dec 24 '11 at 13:01
2  
the update (cleveref 0.18.1) is already on www.tex.ac.uk and (99% certainly) on dante.ctan.org –  wasteofspace Dec 24 '11 at 15:28
1  
Merry Christmas –  Axel Sommerfeldt Dec 24 '11 at 17:32