Limit on number of glossary entries

Nicola Talbot lists at dickimaw-books.com
Tue Feb 11 19:55:10 CET 2025


On 11/02/2025 17:09, Haines Brown via tex-live wrote:
> I find that there is a numerical limit ont he number of glossary
> entries I can have in a tex document. The working example works, but I
> add more item, I get this error:

For the record, the bib2gls manual has around 5,000 glossary entries, so 
it seems unlikely you've hit a limit with your minimal example.

> 
> %   (/home/haines/texlive/2024/texmf-dist/tex/latex/glossaries/styles/glossary-tree
> %    .sty)) (./defns) (./s.aux) (./s.out) (./s.out) (./s.toc)
> %  ! Package glossaries Error: Glossary entry `N' has not been defined.
> %  See the glossaries package documentation for explanation.

The error message indicates that the referenced glossary label hasn't 
been defined.

This mailing list is for TeX Live not for individual packages but it's 
possible that there's an error in your defns.tex file. For example, if 
you have a misplaced closing brace like this:

\newglossaryentry{M}{
  name=M,
  description=definition
\newglossaryentry{N}{
   name=N,
   description={definition}
}
}


Regards
Nicola Talbot


More information about the tex-live mailing list.