在 Ubuntu 上编译时出错

在 Ubuntu 上编译时出错

我在 Ubuntu 上编译 tex 项目时遇到问题。我可以在 Windows 上编译它而没有任何错误,但在 Ubuntu 上却不行。我尝试了许多不同的 tex 编辑器,但仍然出现相同的错误。

有问题的行位于 toc 文件中:

\contentsline {section}{\makebox [0.85cm]{I\hfill } Teoretick\IeC {\'a} \IeC {\v c}\IeC {\'a}st}{8}{part.1}

和错误信息:

Use of \@makepicbox doesn't match its definition ...C {\'a} \IeC {\v c}\IeC {\'a}st}{8}{part.1}
Use of \@makebox doesn't match its definition ...C {\'a} \IeC {\v c}\IeC {\'a}st}{8}{part.1}
Missing \endcsname inserted ...C {\'a} \IeC {\v c}\IeC {\'a}st}{8}{part.1}
Illegal parameter number in definition of \reserved@a ...C {\'a} \IeC {\v c}\IeC {\'a}st}{8}{part.1}

但在 Windows 上,toc 文件中的这一行是相同的,并且可以正常工作。问题出在哪里?

相关内容