[tex4ht] Unnumbered theorems and hyperref

Denis Bitouzé dbitouze at wanadoo.fr
Tue Sep 4 20:55:22 CEST 2012


Le mardi 04/09/12 à 20h43,
Denis Bitouzé <dbitouze at wanadoo.fr> a écrit :

Sorry, I wasn't precise enough...

> As long as hyperref is loaded

or the theorem stay unnumbered (remove the star to make it numbered)

> , the following MCE:
> 
> \documentclass{article}
> \usepackage{amsthm}
> \usepackage{hyperref}
> %
> \newtheorem*{theo}{Theorem}
> %
> \begin{document}
> \begin{theo}
>   Test.
> \end{theo}
> \end{document}
> 
> gives the error:
> 
> ! TeX capacity exceeded, sorry [input stack size=5000].
> \font at name ->
>              \OT1/cmr/m/n/10 
> l.8 \begin{theo}

In any case, pdflatex compilation is OK.
-- 
Denis



More information about the tex4ht mailing list