我收到以下错误消息(设置:Ububtu 14 LTS、TeXmaker、TeX Live 2013/Debian、pdfLaTeX):
日志文件说:
! Undefined control sequence. <argument> \@Keywords l.4319 \ProcessKeyvalOptions{Hyp}
The control sequence at the end of the top line of your error message was never \def'ed.
hyperref.sty 说:
\ProcessKeyvalOptions{Hyp}
\def\Hy@xspace@end{}
\ltx@IfUndefined{xspaceaddexceptions}{%
\Hy@AtBeginDocument{%
\ltx@IfUndefined{xspaceaddexceptions}{%
}{%
\def\Hy@xspace@end{%
\ltx@gobble{end for xspace}%
}%
\xspaceaddexceptions{%
\Hy@xspace@end,\hyper@linkend,\hyper@anchorend
}%
}%
}%
}
知道这是什么意思吗?
梅威瑟:
\RequirePackage[patch]{kvoptions}
\documentclass{DissOnlineLatex}
%\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{lscape}
\usepackage{setspace}
\usepackage[style=chem-angew,backend=bibtex8,]{biblatex}
\usepackage{hyperref}
\usepackage[printonlyused]{acronym}
\bibliography{Literatur.bib}
\onehalfspacing
\begin{document}
\end{document}
答案1
错误消息意味着\@Keywords
未定义。
\@Keywords
仅由类定义DissOnlineLatex
,如果\Keywords
使用:
\newcommand*{\Keywords}[1]{\gdef\@Keywords{#1}}
\Keywords
在末尾调用metadata.tex
,不应删除。在那里设置适当的关键字。