# Glossaries long form with hyper-ref

I can use \glsentrylong to use the long form. But this does not generate a hyper-ref to the section in the glossaries section.

How can I use the long form with hyper-ref? Like \gls would do.

Example:

\documentclass{article}
\usepackage{hyperref}
\usepackage{glossaries}

\newacronym[
description={\Glsentrylong{nn}. Statistical model.}
]{nn}{NN}{neural network}

\makeglossaries

\begin{document}

\Gls{nn}.  % this has a hyperref. and also is backlinked in glossaries later.

\Gls{nn}.  % this as well

\Glsentrylong{nn}.  % this does not have a hyperref

\printglossary[title={Glossary}]

\end{document}

• sorry but you are really long enough here to know that minimal examples are needed. May 20 at 10:01
• @UlrikeFischer Also in such cases where it would not add any further information like here? May 20 at 11:35
• Yes. I at least won't write a test document from scratch to understand the problem and check if a solution works. So if you don't provide a small complete example I won't bother with your question. May 20 at 11:39

You are using acronyms, and there you get the long form with \Acrlong:

\documentclass{article}
\usepackage{hyperref}
\usepackage{glossaries}

\newacronym[
description={\Glsentrylong{nn}. Statistical model.}
]{nn}{NN}{neural network}

\makeglossaries

\begin{document}

\Gls{nn}.  % this has a hyperref. and also is backlinked in glossaries later.

\Gls{nn}.  % this as well

\Glsentrylong{nn}.  % this does not have a hyperref

\Acrlong{nn}

\printglossary[title={Glossary}]

\end{document}


• A small extension to my original question: Can I also replace the text, e.g. "neural model", but it still links to the acronym "neural network", and also gets a backlink? May 30 at 13:24