# Glossary WITHOUT location numbers

I'm using Glossary package and its printing the glossary list with a number at the end of each item (I'm assuming its chapter number).

Is there a way NOT to print this number?

Thanks!!

• Welcome to TeX.SX! I would have expected it is the page number. Anyway, there are many ways to produce glossaries in TeX. Can you show us an MWE of how you get yours, please? – moewe Jun 24 '18 at 15:27
• Note that the glossary package is obsolete and has been replaced by glossaries. – moewe Jun 24 '18 at 16:10
• With glossaries, I've never got a number. – cfr Jun 24 '18 at 17:01
• It will only be the chapter number if you have used counter=chapter. The default is the page number. – Nicola Talbot Jun 25 '18 at 12:32

That's the location or number list. It can be suppressed with the package option nonumberlist (assuming you actually meant the glossaries package, not the obsolete glossary package).

MWE (demonstrating the default behaviour):

\documentclass{report}

\usepackage{glossaries}

\makeglossaries

\newglossaryentry{sample}{name={sample},description={an example}}

\begin{document}
\chapter{Sample}

\gls{sample} %page 1

\chapter{Another Sample}

\gls{sample}% page 2

\printglossaries

\end{document}


Without number list:

\documentclass{report}

\usepackage[nonumberlist]{glossaries}

\makeglossaries

\newglossaryentry{sample}{name={sample},description={an example}}

\begin{document}
\chapter{Sample}

\gls{sample} %page 1

\chapter{Another Sample}

\gls{sample}% page 2

\printglossaries

\end{document}


Alternatively:

\documentclass{report}

\usepackage{glossaries}

\makeglossaries

\newglossaryentry{sample}{name={sample},description={an example}}

\begin{document}
\chapter{Sample}

\gls{sample} %page 1

\chapter{Another Sample}

\gls{sample}% page 2

\printglossary[nonumberlist]

\end{document}