尝试使用 isov2 词汇表

尝试使用 isov2 词汇表

当我尝试使用时\usepackage[section=sclause]{glossaries}出现以下错误:

Package xkeyval Error: value `sclause' is not allowed.

See the xkeyval package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.242 \setglossarysection{sclause}

Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

解决这个问题最简单的方法是什么?section=none在这种情况下,无标题选项也很有用。

答案1

\renewcommand{\glossarysection}[2][]{} 以下是按照另一篇帖子中的建议使用的最小工作示例:

\documentclass[a4paper,oneside,12pt]{isov2}
\usepackage[UKenglish]{babel}
\usepackage{lipsum}
\usepackage[toc,acronym,nonumberlist]{glossaries}
\makeglossaries
\newglossaryentry{accreditation}{name={accreditation},
    description={procedure by which an authoritative 
    body gives formal recognition that a body or person is
    competent to carry out specific tasks [ISO/IEC Guide 2]}}
\newglossaryentry{latex}
{
    name=latex,
    description={Is a mark up language specially suited 
    for scientific documents \newline [Latexbook]}
}
\newacronym{dc}{d.c.}{direct current}
\newacronym{ac}{a.c.}{alternating current}
\newacronym{DC}{DC}{direct current, d.c. is preferred}
\newacronym{AC}{AC}{alternating current, a.c. is preferred}
\begin{document}


\clause{Terms, definitions and abbreviations}
\renewcommand{\glossarysection}[2][]{}
\glsaddall
\sclause{Terms and definitions}
\printglossary
\sclause{Abbreviations}
\printglossary[type=\acronymtype]
\clause{Section}
\lipsum[1-30]
\end{document}

相关内容