only link the first appearance of a word to the glossary
This commit is contained in:
parent
1bd9295e6d
commit
6db6556cbb
|
@ -143,6 +143,14 @@
|
|||
\renewcommand{\lstlistoflistings}{\begingroup
|
||||
\tocfile{\lstlistlistingname}{lol}
|
||||
\endgroup}
|
||||
|
||||
\renewcommand*{\glslinkcheckfirsthyperhook}{%
|
||||
\ifglsused{\glslabel}%
|
||||
{%
|
||||
\setkeys{glslink}{hyper=false}%
|
||||
}%
|
||||
{}%
|
||||
}
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "main"
|
||||
|
|
Reference in New Issue