使用xelatex编译tex文件,报错称cls文件undefined control sequence

2020-09-04 16:02发布

## 编译环境 操作系统 * [x] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [ ] TexLive `年...

## 编译环境 操作系统 * [x] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [ ] TexLive `年份` * [x] MikTeX `4.0.1` * [ ] CTeX `若需勾选,请把[ ]改成[x]` ## 我的问题 cls文件报错 ![](https://wenda.latexstudio.net/data/attach/200904/NTyNakWC.png) 以下是4个错误的描述 ! Undefined control sequence. \LaTeX3 error: Use \str_if_eq:eeTF not \str_if_eq_x:nnTF depreca... l.140 } The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ----------------------------------------------------- ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.140 } You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. --------------------------------------------------- ! Undefined control sequence. \LaTeX3 error: Use \str_if_eq:eeTF not \str_if_eq_x:nnTF depreca... l.140 } The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ---------------------------------------------------- ! Undefined control sequence. \LaTeX3 error: Use \str_if_eq:eeTF not \str_if_eq_x:nnTF depreca... l.140 } The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Package fontspec Info: Font family 'TimesNewRoman(0)' created for font 'Times
1条回答
应该是兼容问题,去看看模板的 维护地址有没有兼容好。

作者追问:2020-09-04 16:32

不好意思,我不太理解模板的维护地址是什么,能不能说得再详细一些?

一周热门 更多>