我有以下 LaTeX 文件
\documentclass{article}
\usepackage{thm-restate, autonum}
\newtheorem{lem}{lemma}
\begin{document}
\begin{restatable}[Embedding lemma]{lem}{embedding}
\label{lem:embedding}
\begin{align}...\end{align}
\end{restatable}
\embedding*
\section{Bla bla}\label{sec:test}\ref{sec:test}
\end{document}
编译它会出现警告:
Package remreset Warning: The remreset package is obsolete:
LaTeX Warning: Reference `sec:test' on page 1 undefined on input line 13.
LaTeX Warning: There were undefined references.
如果我删除,autonum
问题就消失了。这是一个已知问题吗?