![以下错误信息是什么意思?`未定义的控制序列。\@Keywords l.4319 \ProcessKeyvalOptions{Hyp}`](https://linux22.com/image/297398/%E4%BB%A5%E4%B8%8B%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%98%AF%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D%EF%BC%9F%60%E6%9C%AA%E5%AE%9A%E4%B9%89%E7%9A%84%E6%8E%A7%E5%88%B6%E5%BA%8F%E5%88%97%E3%80%82%5C%40Keywords%20l.4319%20%5CProcessKeyvalOptions%7BHyp%7D%60.png)
我收到以下错误消息(设置: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
,不应删除。在那里设置适当的关键字。