梅威瑟:
\documentclass{amsart}
\usepackage{hyperref}
\newtheorem{lemma}[equation]{Lemma}
\begin{document}
We see Lemma~\ref{lem:test}
\begin{lemma}
We have
\begin{equation}
i^2=-1
\end{equation}
in $\mathbb C$.
\label{lem:test}
\end{lemma}
Lemma~\ref{lem:test}
\end{document}
然后tex4ebook
会生成错误的超链接:
We see Lemma <a href="#x1-2r2">1<!--tex4ht:ref: lem:test --></a>
<span class="head"><a id="x1-2r1"></a><span class="ecbx-1000">Lemma 1.</span> </span>
我想知道这个覆盖equation
计数器是否已被弃用tex4ht
(或用于一般LaTeX
编程),或者是由于错误造成的?