Limit on number of glossary entries

Haines Brown haines at histomat.net
Tue Feb 11 18:09:36 CET 2025


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:

%   (/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.

In my defns file there is this stanza: 

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

I looked at the manual, but no luck

Here is the minimal working eample:

\documentclass{book} %
\usepackage{polyglossia} %
   \setdefaultlanguage{english} %
\usepackage{hyperref} % versus usual, with glossaries must beloaded first
\usepackage[toc,nogroupskip]{glossaries-extra}

\makeglossaries
\loadglsentries{defns}

\begin{document}

\tableofcontents

\noindent A: \gls{A}\\
B: \gls{B}\\
C: \gls{C}\\
D: \gls{D}\\
E: \gls{E}\\
F: \gls{F}\\
I: \gls{I}\\
J: \gls{J}\\
K: \gls{K}\\
L: \gls{L}\\
M: \gls{M}\\
% N: \gls{N}\\

\clearpage
\printglossaries
\end{document}




More information about the tex-live mailing list.