1

I'm having an issue where I'm fully able to create a glossary with the glossaries package, but I'm unable to change the style - the command \setglossarystyle isn't recognised.

This example works:

\documentclass{article}
\usepackage[acronym, nopostdot, nonumberlist]{glossaries}
\newacronym{acr}{acr}{Acronym}
\makeglossaries
\begin{document}

\acrshort{acr}
\printglossary[type=\acronymtype]

\end{document}

But this one fails, with an error complaining that \setglossarystyle is an undefined control sequence:

\documentclass{article}
\usepackage[acronym, nopostdot, nonumberlist]{glossaries}
\newacronym{acr}{acr}{Acronym}
\makeglossaries
\begin{document}

\acrshort{acr}
\setglossarystyle{long}
\printglossary[type=\acronymtype]

\end{document}

Am I missing a package or something somewhere?

closed as off-topic by Joseph Wright May 3 '14 at 21:25

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Can you look in the .log file for glossaries.sty in order to show the version you're using? You should find a string such as Package: glossaries 2014/04/04 v4.07 (NLCT) – egreg Apr 25 '14 at 19:37
  • works fine for me - could you add \listfiles immediately before your \begin{document} and then paste the output as part of your question... sounds like an update might be in order: How do I update my TeX distribution? – cmhughes Apr 25 '14 at 19:42
  • 2
    \setglossarystyle was introduced in version v3.08a. – Nicola Talbot Apr 25 '14 at 20:04
  • Yeah, I had v3.07. Updating solved the problem. Thanks! ^_^ – Sjiveru Apr 26 '14 at 19:46
  • 2
    This question appears to be off-topic because it is about an issue fixed by updating the installed package version. – Joseph Wright May 3 '14 at 21:25

Browse other questions tagged or ask your own question.