Latest news 2024-10-15: New blog post: Tales for Our Times Book Launch.

glossaries package FAQ

makeindex complains that the entry is too long 🔗

As from glossaries version 4.0, this should no longer be an issue. For earlier versions, if you have a very long description, it is possible that you may exceed makeindex’s buffer. In which case, try defining a command that stores the long description, and use that when you define the entry. For example:

\newcommand{\mylongdescription}{A very long description}
\newglossaryentry{example}{name={example},
description={\mylongdescription}}
For pre v4.0: note that if you’ve used sanitize=description=false (which automatically occurs with certain acronym styles), then you need to use \protect:
\newcommand{\mylongdescription}{A very long description}
\newglossaryentry{example}{name={example},
description={\protect\mylongdescription}}
Alternative, try using xindy instead of makeindex. See the section on xindy in the glossaries documentation.

2020-07-01 11:05:25


Permalink: https://www.dickimaw-books.com/faq.php?id=6
Alternative link: https://www.dickimaw-books.com/faq.php?itemlabel=makeindextoolong

Category: glossaries package
Topic: Indexing Application Errors