更新后longtable不能用

发布于 2024-06-05 14:45:10

6月4日TeXLive更新后用XeLaTeX编译出错
源TEX代码:

\documentclass[a4paper,fontset=none,zihao=5,CJKmath]{ctexart}
\usepackage{longtable}

\begin{document}

\begin{center}
\small
\begin{longtable}{|c|c|}
  \caption*{员工}\\
  \hline
  \textbf{编号} & \textbf{姓名} \\
  \hline
  \endfirsthead
  \caption*{(续)}\\
  \hline
 \textbf{编号} & \textbf{姓名} \\
  \hline
  \endhead
  \endfoot
  \endlastfoot
  A01 & 陈 \\
  \hline
  A02 & 李 \\
  \hline
  A03 & 张 \\
  \hline
  A04 & 黄 \\
  \hline
\end{longtable}
\end{center}

\end{document} 

编译时提示

! Undefined control sequence.
\longtable ...mn mode}\@ehc \fi \UseTaggingSocket 
                                                  {tbl/vmode/begin}\begingro...
l.8 \begin{longtable}
                     {|c|c|}
? 
! Emergency stop.
\longtable ...mn mode}\@ehc \fi \UseTaggingSocket 
                                                  {tbl/vmode/begin}\begingro...
l.8 \begin{longtable}
                     {|c|c|}
End of file on the terminal!

查看更多

关注者
0
被浏览
266
1 个回答
Joseph
Joseph 2024-06-07
这家伙很懒,什么也没写!

更新后能用了

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览