The glossaries package now has a more flexible way of defining custom
acronym styles. You can achieve the same effect using the
"hyperfirst=false" package option to switch off the hyperlink on first
use and define a new acronym style that inserts a hyperlink for the
short version when the full form is used:
\documentclass{article}
\usepackage[colorlinks]{hyperref}
\usepackage[hyperfirst=false]{glossaries}
\makeglossaries
\newacronymstyle{linkshort}
{%
% use the "long-short" display style:
\GlsUseAcrEntryDispStyle{long-short}%
}
{%
% use the "long-short" style definitions:
\GlsUseAcrStyleDefs{long-short}%
% adjust the full form so that it has a hyperlink for the short part:
\renewcommand*{\genacrfullformat}[2]{%
\glsentrylong{##1}##2\space
(\glshyperlink[\protect\firstacronymfont{\glsentryshort{##1}}]{##1})%
}%
% same for the plural form:
\renewcommand*{\genplacrfullformat}[2]{%
\glsentrylongpl{##1}##2\space
(\glshyperlink[\protect\firstacronymfont{\glsentryshortpl{##1}}]{##1})%
}%
}
% apply this new style
\setacronymstyle{linkshort}
% now define the acronyms
\newacronym{gnu}{GNU}{Gnu is Not Unix}
\begin{document}
First use: \gls{gnu}. Next use: \gls{gnu}.
Full form: \acrfull*{gnu}.
\printglossaries
\end{document}
This has the advantage that you no longer need to mess around with
internal commands, as I had to do in my reply to your linked post, but
note that the starred version is needed for \acrfull in this case.
Regards
Nicola Talbot
--
Home:
http://www.dickimaw-books.com/
Creating a LaTeX Minimal Example:
http://www.dickimaw-books.com/latex/minexample/