The weirdest thing happened to me today:
I was looking for a way to link from an abbreviation to a glossary entry and found this answer. When emulating it in my code, it did not work - pdflatex
would ignore the see
attribute.
Fiddling around, I discovered that this only happens when the glossaries
package is included with the nonumberlist
attribute - something that should have no influence whatsoever on links.
Minimal code example:
\documentclass{article}
\usepackage{hyperref}
\usepackage[nonumberlist, acronym]{glossaries}
\makeglossaries
%%% define the acronym and use the see= option
\newglossaryentry{css}{type=\acronymtype, name={CSS}, description={Cascading Style Sheets}, first={Cascading Style Sheets (CSS)}, see=[Glossary:]{cssg}}
\newglossaryentry{cssg}{name={Cascading Style Sheets},
description={A language for specifying presentation attributed of XML documents.}}
\begin{document}
\glsaddall
% Acronyms
\printglossary[type=\acronymtype]
% Glossary
\printglossary[style=altlist,title=Glossary]
\end{document}
How can I fix this? And why is this even happening?