I'm need to make a list of equation in my document. I found and use the modified version of Lev Bishop's code from here. Everything work until there's an accent in the equation label. I got this error message :

! TeX capacity exceeded, sorry [input stack size=5000].

\@latex@warning #1->\GenericWarning {\space \space \space \@spaces \@spaces ...

l.38 \label{eq:équation}

I'm currently using TeXnicCenter on Windows 7 but I tried others and they all gave me the same error... Do you have any solution ?

Example in Latex



\let\oldequation = \equation
\let\endoldequation = \endequation
\AtBeginDocument{\let\oldlabel = \label}

\newcommand{\listequationsname}{Liste d'équations}






  • 4
    Welcome to TeX.SX! It's best to avoid accented characters in labels.
    – egreg
    Aug 15, 2014 at 22:26

1 Answer 1


Labels should contain only ASCII characters, otherwise special characters, that are internally represented with control sequences, expand and you find terrible things in referring to such labels; if you change your label to equ:eqauation, getting rid of that é, everything will run smoothly. It is less French, but it works; after all labels should not be read by humans, but only by the typesetting engine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .