Skip to content

Infinite loop(?) when a theorem is restated multiple time via thm-restate #309

@djn-ams

Description

@djn-ams
  • btran243 (still in production)

Consider the following MWE:

\documentclass{amsart}

\usepackage{thm-restate}

\newtheorem{thm}{Theorem}

\begin{document}

\section{One}

\begin{restatable}{thm}{firstthm}
Hi
\end{restatable}

\section{Two}

\firstthm*

\section{Three}

\firstthm*

\end{document}

This will compile just fine and produce the expected output with TeX. With TeXML, however, it will make it to Section 3 and then seemingly freeze; removing the second \firstthm* command will stop the (presumed) infinite loop.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions