tex4ht:\emph 和 \xymatrix 之间可能存在冲突

tex4ht:\emph 和 \xymatrix 之间可能存在冲突

梅威瑟:

\documentclass{amsart}

\usepackage[all]{xy}

\begin{document}
\emph{
  Test
  \[
    \xymatrix@C-20pt{
      {\mathbf R} f_*\big[{\mathbf L} f^*A\otimes^{\mathbf L} f^\times{\mathcal O}_Y^{}\big]\ar[dr]_-{{\mathbf R} f_*\chi}\ar[rr]^-{p_{A,f^\times{\mathcal O}_Y^{}}^{-1}}& & A  \otimes_{}^{\mathbf L}{\mathbf R} f_*f^\times {\mathcal O}_Y^{} \ar[rr]^-{{\mathrm{id}}\otimes\varepsilon} &&  A\otimes^{\mathbf L}_{}{\mathcal O}_Y^{}\ar@{=}[dl]\\
      & {\mathbf R} f_*f^\times A\ar[rr]_-\varepsilon && A &
    }
  \]
  Test
}
\end{document}

我使用 对其进行了编译tex4ebook,出现以下错误:

[ERROR]   htlatex: Compilation errors in the htlatex run
[ERROR]   htlatex: Filename Line    Message
[ERROR]   htlatex: ./test.tex   15   Double superscript.
[ERROR]   htlatex: ./test.tex   15   Double superscript.
[ERROR]   htlatex: ./test.tex   15   Double superscript.
[ERROR]   htlatex: Compilation errors in the htlatex run
[ERROR]   htlatex: Filename Line    Message
[ERROR]   htlatex: ./test.tex   15   Double superscript.
[ERROR]   htlatex: ./test.tex   15   Double superscript.
[ERROR]   htlatex: ./test.tex   15   Double superscript.
[ERROR]   htlatex: Compilation errors in the htlatex run
[ERROR]   htlatex: Filename Line    Message
[ERROR]   htlatex: ./test.tex   15   Double superscript.
[ERROR]   htlatex: ./test.tex   15   Double superscript.
[ERROR]   htlatex: ./test.tex   15   Double superscript.

\[这真是令人费解。如果我把...\]部分放在 外面,就不会出错。\emph也不会出错pdflatex。我期待对此做出解释。

相关内容