The following LaTeX manuscript is copy-and-pasted from pp. 5-6 of Nicola L.C. Talbot's "The glossaries package v4.34: a guide for beginners", v. 2017-11-03 (link).

description={starchy tuber}}
description={vegetable with thick green or purple leaves}}
description={round pale root vegetable}}
description={orange root}}
Chop the \gls{cabbage}, \glspl{potato} and \glspl{carrot}.
\printunsrtglossaries % list all entries

When I compile it with pdflatex, the compilation fails with the following error message:

! Package xkeyval Error: value `none' is not allowed.

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

l.784 \RequirePackage

What is the problem, and how can I fix it?

As per egreg's request, here's \listfiles's output.

 *File List*
 article.cls    2014/09/29 v1.4h Standard LaTeX document class
  size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
glossaries-extra.sty    2017/05/10 v1.15 (NLCT)
 xkeyval.sty    2014/12/03 v2.7a package option processing (HA)
 xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
etoolbox.sty    2017/01/02 v2.4 e-TeX tools for LaTeX (JAW)
glossaries.sty    2017/01/19 v4.29 (NLCT)
  ifthen.sty    2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
mfirstuc.sty    2016/07/31 v2.04 (NLCT)
textcase.sty    2004/10/07 v0.07 Text only upper/lower case changing (DPC)
    xfor.sty    2009/02/05 v1.05 (NLCT)
datatool-base.sty    2016/07/28 v2.27 (NLCT)
 amsmath.sty    2016/11/05 v2.16a AMS math features
 amstext.sty    2000/06/29 v2.01 AMS text
  amsgen.sty    1999/11/30 v2.0 generic functions
  amsbsy.sty    1999/11/29 v1.2d Bold Symbols
  amsopn.sty    2016/03/08 v2.02 operator names
  substr.sty    2009/10/20 v1.2 Handle substrings
datatool-fp.sty    2016/07/28 v2.27 (NLCT)
      fp.sty    1995/04/02
defpattern.sty    1994/10/12
fp-basic.sty    1996/05/13
fp-addons.sty    1995/03/15
 fp-snap.sty    1995/04/05
  fp-exp.sty    1995/04/03
fp-trigo.sty    1995/04/14
  fp-pas.sty    1994/08/29
fp-random.sty    1995/02/23
  fp-eqn.sty    1995/04/03
  fp-upn.sty    1996/10/21
 fp-eval.sty    1995/04/03
glossaries-compatible-307.sty    2017/01/19 v4.29 (NLCT)
glossary-hypernav.sty    2017/01/19 v4.29 (NLCT)
glossary-list.sty    2017/01/19 v4.29 (NLCT)
glossary-long.sty    2017/01/19 v4.29 (NLCT)
longtable.sty    2014/10/28 v4.11 Multi-page Table package (DPC)
glossary-super.sty    2017/01/19 v4.29 (NLCT)
supertabular.sty    2004/02/20 v4.1e the supertabular environment
glossary-tree.sty    2017/01/19 v4.29 (NLCT)
  • @egreg: What do you mean? Should I add the control-sequence \listfiles immediate after \documentclass{article}, and then recompile? – Evan Aad Nov 14 '17 at 7:52
  • @egreg: OK, I've added \listfiles at the very beginning, and recompiled. Do you want me to copy-and-paste the list of files that precedes the error message I cited above? – Evan Aad Nov 14 '17 at 8:27
  • @egreg: The log file does not contain the string *File List*, and there's no list of files following the error message. – Evan Aad Nov 14 '17 at 8:32
  • @egreg: I see. I've edited my post with \listfiles's output. – Evan Aad Nov 14 '17 at 8:38
  • 2
    First update the glossaries bundle. I have glossaries-extra v. 1.23 and glossaries v. 4.34. – egreg Nov 14 '17 at 8:43

Your version of glossaries is too old. The sort=none option was introduced to glossaries v4.30 (2017-06-11), so you need to update if you want to use it.

  • Incidentally, does bib2gls work with AUCTeX in the sense that running pdflatex on a LaTeX source file that contains \usepackage{glossaries-extra} emits whatever signal is necessary so that executing C-c C-c repeatedly in Emacs will run pdflatex -> bib2gls -> pdflatex? – Evan Aad Nov 14 '17 at 10:08
  • @EvanAad I'm sorry I don't know anything about AUCTeX. Can it be configured to search for strings in the .aux file? If so, it needs to check for \glsxtr@resource. – Nicola Talbot Nov 14 '17 at 11:57
  • To work with AUCTeX your package needs to issue a warning. See this comment from AUCTeX's author and maintainer. – Evan Aad Nov 14 '17 at 12:15
  • @EvanAad There will be undefined references on the first run or when new references are added, but there's no way for LaTeX to determine if the number lists need updating on subsequent runs. (With makeglossaries there aren't any warnings at all.) How does AUCTeX deal with makeindex which also doesn't generate warnings. – Nicola Talbot Nov 14 '17 at 12:57
  • I have no idea. – Evan Aad Nov 14 '17 at 13:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.