编译旧的 LaTeX 文档
最近我发现了一个我在 1994 年编写的旧 LaTeX 文档。它以一行开头
\documentstyle[makeidx,twoside,german,bibgerm,a4wide,mydefs,
equations,fleqn,psfig]{script}
现在我尝试在我的 Windows 机器上使用 MiKTeX 的实际版本来编译此文档,但 pdflatex 抱怨未定义的控制序列 '\phspace':
! Undefined control sequence.
<argument> \uppercase {i}\phspace
{1em}Fail--Stop
我非常确定这份文件在 1994 年编译时没有任何错误(这是我的论文)。我该怎么做才能使其再次编译?
Recently I found an old LaTeX document I've written in 1994. It starts with a line
\documentstyle[makeidx,twoside,german,bibgerm,a4wide,mydefs,
equations,fleqn,psfig]{script}
Now I tried to compile this document using an actual version of MiKTeX on my windows machine, but pdflatex complains about an undefined contol sequences '\phspace':
! Undefined control sequence.
<argument> \uppercase {i}\phspace
{1em}Fail--Stop
I'm very sure this document compiled without any errors in 1994 (it was my thesis). What can I do to make this compilable again?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这看起来像是来自
toc
文件的内容。您是否还在同一目录中保留了旧 LaTeX 生成的所有辅助文件?如果是这样,您应该在尝试使用现代 LaTeX 之前删除它们。这些至少包括aux
、toc
、lof
和lot
。This looks like something that comes from the
toc
file. Do you still have all the auxiliary files produced by the old LaTeX in the same directory? If so, you should delete them before trying with a modern LaTeX. These include at leastaux
,toc
,lof
, andlot
.我认为
\phspace
可能是一个不再使用的旧 LaTeX 2.09 原语。尝试添加您的序言。
I think
\phspace
was probably an old LaTeX 2.09 primitive that is no longer used. Try addingin your preamble.