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 to make a glossary. However I don't want the page numbers where the entry is referenced to be shown after the description in the glossary. How can I do that? Actually I use in preamble:

\usepackage[acronym]{glossaries}
\makeglossaries

and inside the document:

\printglossary[type=main,style=long]

I don't want the page numbers to be displayed because there are entries that are added in preamble with the command \glsadd{entry} and it will appear as present on page 1. And sometimes the page numbers list won't be complete, that is, there will be parts of the text which will contain one term and it won't reference directly the glossary.

How to prevent the page number to appear on glossary?

share|improve this question

3 Answers 3

up vote 14 down vote accepted

Throwing a glance at p. 90 of the glossaries manual, I suppose that the package option nonumberlist does the trick.

share|improve this answer
1  
Thanks for pointing the solution. The option nonumberlist gives the following error: ! LaTeX Error: Option clash for package glossaries. However I made it to work using: \renewcommand*{\glossaryentrynumbers}[1]{} –  Weslei Mar 10 '11 at 18:42
\usepackage[number=none]{glossary}
share|improve this answer
10  
The glossary package is obsolete, see this document. –  mhp Sep 8 '11 at 17:30

put option nonumberlist as option of printglossary

\printglossary[type=main,style=long,nonumberlist]

if print the glossary using printnoidxglossary use option nonumberlist as well

\printnoidxglossary[type=\acronymtype,title=Abreviations,nonumberlist]

\printnoidxglossary[title=Symbol,nonumberlist]
share|improve this answer

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.