Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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}
share|improve this answer
1  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/25805/disable-hyperlinks-in-some-entries-for-glossaries
tex.stackexchange.com
crawl=CC-MAIN-2014-23
65915
application/http; msgtype=response
sha1:7ZXMFGZJIFER5HHCRZWHKB4UYVEHHWAY
<urn:uuid:d57a73ef-cdd9-4536-a161-d2393df4f9d1>
2014-08-01T01:54:50Z
198.252.206.16
sha1:ETYDOFTQS4ETJHNG4SAXZIFIWOSRRLJ4
<urn:uuid:193e38fd-fec8-4134-b641-acedf8429cae>
http://tex.stackexchange.com/questions/25805/disable-hyperlinks-in-some-entries-for-glossaries
response
<urn:uuid:3738ef39-8e45-4c41-a1d8-b2efc651b90b>
robots: classic
hostname: ip-10-146-231-18.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-23
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for July 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf