Latex 中maketitle出错,不管将其放在begin document 之后还有 title…… autor之后 都没用

从网上下的模板文件,总是在maketitle处 报错,刚接触latex,望指教。maketitle之前的代码如下
% sagedoc.tex V1.0, 9 August 2013

\documentclass[Afour,sageh,times]{sagej}

\usepackage{moreverb,url}

%\usepackage[colorlinks,bookmarksopen,bookmarksnumbered,citecolor=red,urlcolor=red]{hyperref}

\newcommand\BibTeX{{\rmfamily B\kern-.05em \textsc{i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}

\def\volumeyear{2013}

\begin{document}

\runninghead{Smith and Wittkopf}

\title{A demonstration of the \LaTeXe\ class file for
\itshape{SAGE Publications}}

\author{Alistair Smith\affilnum{1} and Hendrik Wittkopf\affilnum{2}}

\affiliation{\affilnum{1}Sunrise Setting Ltd, UK\\
\affilnum{2}SAGE Publications Ltd, UK}

\corrauth{Alistair Smith, Sunrise Setting Ltd
Torbay Innovation Centre,
Vantage Point, Long Road,
Paignton, Devon,
TQ4~7EJ, UK.}

\email{[email protected]}

\begin{abstract}
This paper describes the use of the \LaTeXe\
\textsf{\journalclass} class file for setting papers to be
submitted to a \textit{SAGE Publications} journal.
\end{abstract}

\keywords{Class file, \LaTeXe, \textit{SAGE Publications}}

\maketitle
………………
………………
省略
………………
………………
\end{document}

你用latex或者xelatex编译就好了, 不关maketitle的事儿, 是图片格式eps的问题
如果要用pdftexify或者pdflatex编译, 需要调用epstopdf宏包追问

我也以为是编译的问题,只是试了一个遍,还是无法运行。
:-)

追答

给出你的例子文档 吧

温馨提示:答案为网友推荐,仅供参考
第1个回答  2020-02-16
请问你解决了么
第2个回答  2018-06-21
你是不是用中文命名了文件夹?刚刚我的也出现类似问题,改了之后好了。