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?
.logfile forglossaries.styin order to show the version you're using? You should find a string such asPackage: glossaries 2014/04/04 v4.07 (NLCT)– egreg Apr 25 '14 at 19:37\listfilesimmediately 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\setglossarystylewas introduced in version v3.08a. – Nicola Talbot Apr 25 '14 at 20:04\setglossarystyleresults in an error in this example. – Diaa Jul 29 '18 at 20:00glossariesversion. – Nicola Talbot Jul 30 '18 at 12:21