Search code examples
latexglossary

Glossary items stopped linking to the actual word


I am currently writting a report and implemented a glossary using the

\usepackage{glossaries}

Everything was working great a few days ago :

  • each word that required definition in my text was declared in my glossary and was linked with the \acrshrt{} function

For instance :


\usepackage{glossaries}
\makeglossaries

\section{Example}
bla bla bla \acrshrt{dms} bla bla bla

\newacronym{dms}{DMS}{DMS meaning}

which led to :

enter image description here and enter image description here (pages and word are clickable and point back to the word and its definition)

However now I have :

enter image description here and enter image description here

I geniuenly do not understand why it suddenly stopped working. I tried removing \hyperref and \url packages, but no changes.


Solution

  • Solution found :

    For some very very VERY obscure reasons, loading the \usepackage{hyperref} before \usepackage{glossaries} worked.

    Guess from now on I'll stop ordering my packages in an alphabetical order .. x)