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!!
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityThat'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}
glossary
package is obsolete and has been replaced byglossaries
.glossaries
, I've never got a number.counter=chapter
. The default is the page number.