# Disable hyperlinks in some entries for glossaries

I am using the glossaries package a lot in my thesis. There are some entries which appear very frequently throughout the whole document. I would like to disable hyperlinking for these entries but keep it for all other entries.

I have tried putting \glsdisablehyper just before the frequent entries to no avail.

-

For these "frequently appearing" entries use the starred versions of glossaries' user commands (e.g. \gls*) which suppress hyperlinks.

\documentclass{article}

\usepackage{hyperref}

\usepackage{glossaries}
\makeglossaries

\newglossaryentry{electrolyte}{name=electrolyte,
description={solution able to conduct electric current}}

\newglossaryentry{pi}{name={\ensuremath{\pi}},
description={ratio of circumference of circle to its diameter},sort=pi}

\begin{document}

Some text about \gls{electrolyte} and \gls*{pi}.

\printglossaries

\end{document}

-
Is there anyway to disable them (from the command definition?), as I don't want to go through the document and change them all. Thanks for the answer by the way –  Wolfgang Kerzendorf Aug 17 '11 at 1:32