I do not understand why I am getting an extra page number "2" in the glossary below. The term appears only on Page 1 but not on Page 2. How can I get rid of this false reference?

Here is the MWE




description={description of the term}}

The \gls{t} appears on this page.


No glossary words on this page.



I compiled the code with pdflatex + makeglossaries + pdflatex The output looks like this

Page 1:

Page 1 contains the term

Page 2:

Page 2 contains no terms

Page 3: ( Note the false reference to Page 2 )

The glossary has an extra link to Page 2

Also note that the indexonlyfirst option of the glossaries package is neither relevant to this problem nor solves it.

  • Welcome! Define your glossary entries before \begin{document}. Also, \glsaddall adds all glossary entries. Hence, those entries are added on that page, despite the claim there asserting otherwise. – cfr Feb 25 '17 at 4:18
  • @cfr Thanks. After leaving out \glsaddall, the extra page references disappeared. – Anvita Feb 26 '17 at 10:02

Adds also the occurrence in the glossary itselfs One possible change could be


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.