LaTeX 文件在两台计算机上编译,但不能在第三台计算机上编译

LaTeX 文件在两台计算机上编译,但不能在第三台计算机上编译

我尝试解决问题几天了但无法解决。

我有一个 LaTeX 文档,可以在两台计算机上编译,但不能在第三台计算机上编译。(其他文档在第三台相对较新的计算机上编译得很好。)这三台计算机都安装了最新的 MikTeX 2.9 发行版,都使用 emacs 24.3.1、AUCTeX 11.86 和 Windows 7。我已将 MikTeX 设置为动态下载软件包,因此我相信我下载了相同的软件包。我的主文档通过 \include 引入了三个文件。我正在将便携式硬盘中的文件读入所有三台计算机。编辑:换句话说,我正在从位于我要移动到每台计算机的单个便携式硬盘上的文件编译所有三台计算机上的文件。

我不明白为什么该文档无法在第三台计算机上编译。我相信问题与文档的目录或章节标题有关,因为在这台计算机上编译后,.toc 文件为空(大小 = 0)。

错误信息是:

ERROR: Missing control sequence inserted.
--- TeX said ---
<inserted text> 
               \inaccessible
 l.1 ...m \z@ {[1][-]}\futurelet \@let@token \let [
                                                     -]{chapter.14}{Economic Da...
--- HELP ---
This is probably caused by a \newcommand, \renewcommand, \newlength,
or \newsavebox > command whose first argument is not a command name.

错误消息中对第 14 章的引用是通过 \include 引入的三个文件之一。

我尝试查看日志文件,发现一些潜在问题,但我无法解释它们。附件是日志文件,我观察到的问题从第 1295 行开始。编辑:日志的这一部分位于底部。

我认为这个问题可能是某种 TeX 安装问题。我希望有人能给我指明正确的方向,因为我被困住了。

日志部分:

(r:\writing_other\aicpa_forensicaccounting\book_fa_content\fa_wrap.aux
(r:\writing_other\aicpa_forensicaccounting\book_fa_content\fa_damages_content.a
ux
! Extra }, or forgotten \endgroup.
l.11 ... wrong--perhaps a missing \protect \let }}
                                                   } } } } }
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.11 ...rong--perhaps a missing \protect \let }} }
                                                   } } } }
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.11 ...ng--perhaps a missing \protect \let }} } }
                                                   } } }
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.11 ...--perhaps a missing \protect \let }} } } }
                                                   } }
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.11 ...perhaps a missing \protect \let }} } } } }
                                                   }
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.11 ...rhaps a missing \protect \let }} } } } } }

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.14 ...rong--perhaps a missing \protect \let  } }
                                                   }
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.14 ...ng--perhaps a missing \protect \let  } } }

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.17 ...rong--perhaps a missing \protect \let  } }
                                                   }
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Extra }, or forgotten \endgroup.
l.17 ...ng--perhaps a missing \protect \let  } } }

I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

))

相关内容