当我尝试编译示例论文 tex 模板时出现错误:
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (MiKTeX 2.9)
entering extended mode
("C:\Users\bossman\Desktop\FAU Disseration\fausample.tex"
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 68 languages loaded.
("C:\Users\bossman\Desktop\FAU Disseration\fauthesis.cls"
Document Class: fauthesis 2014/09/23 v1.0 (C. Beetle)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\report.cls"
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo"))
! Undefined control sequence.
l.232 ^^I^^I\ifnum\pdfoutput
> 0^^I^^I^^I^^I^^I^^I^^I^^I^^I% Test if \pdfout...
以下是第 232 行的 .cls 代码:
% This checks carefully if the \pdfoutput command is defined, and then sets the PDF page margins.
%
{\expandafter}\expandafter\ifx\csname pdfoutput\endcsname\relax\else
% Test if \pdfoutput not defined
\ifx\pdfoutput\relax\else % Test if \pdfoutput not previously tested
\ifnum\pdfoutput > 0 Test if \pdfoutput active
\@foundpdflatextrue
\setlength\pdfpageheight{11in}%
\setlength\pdfpagewidth{8.5in}%
\fi\fi\fi
我已更新上面的控制台窗口文本。您能告诉我其他哪些信息会有帮助吗?
我使用 WinEdt 来编译 tex 文件。
任何帮助将不胜感激。
谢谢。
答案1
Ulrike Fischer 提出了使用 pdflatex 的解决方案。