我有一个 LaTeX 文档,在我的系统上可以通过 MiKTeX 编译,没有任何问题。当我将该文档及其相应的依赖文件上传到 ArXiv 时,它会引发 TeX Live 2016 编译的以下错误:
! Argument of \readlist_vii has an extra }.
<inserted text>
\par
l.147 \end{equation}
?
! Emergency stop.
<inserted text>
\par
l.147 \end{equation}
! ==> Fatal error occurred, no output PDF file produced!
引用的equation
环境确实与以下代码片段相关:
\begin{equation}\label{eq:kin}
\bm{q^{i}} = \bm{q^{i}_{b}} +
\bracketMatrixstack{\cos{(\theta^{i})} & \cos{(\theta^{i} + \phi^{i})}\\
\sin{(\theta^{i})} & \sin{(\theta^{i} + \phi^{i})}} \bm{l}
\end{equation}
此外,以下设置驱动\bracketMatrixstack
命令:
\usepackage{tabstackengine}
\setstacktabbedgap{1.5ex}
\setstackgap{L}{1.2\normalbaselineskip}
\def\stackalignment{c}
鉴于以下内容MWE
(我只是复制了整个序言,因为它可能会传达有关该问题的一些额外信息):
\documentclass[12pt]{spieman}
\pdfoutput=1
\usepackage{amsmath}
\usepackage{bm}
%for \bracketMatrixstack and/or \bracketVectorstack%%%%%%%%%%%
\usepackage{tabstackengine}
\setstacktabbedgap{1.5ex}% sets gap between columns
\setstackgap{L}{1.2\normalbaselineskip}% sets baselineskip of rows
\def\stackalignment{c}% sets column alignment
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\section{Introduction}
\begin{equation}
\bm{q^{i}} = \bm{q^{i}_{b}} +
\bracketMatrixstack{\cos{(\theta^{i})} & \cos{(\theta^{i} + \phi^{i})}\\
\sin{(\theta^{i})} & \sin{(\theta^{i} + \phi^{i})}} \bm{l}
\end{equation}
\end{document}
TeX Live 在这里抱怨什么?
编辑1:使用环境的结果\bmatrix
(在我看来)并不那么引人注目(考虑到那些过长的括号):