glossaries-extra package FAQ
The glossary listing order is incorrect 🔗
Open the .glstex file in a text editor and check the value of the sort
field. This is the value used for the sort comparisons. (Special characters are marked up using commands like \glspercentchar
. These were the actual character when bib2gls sorted the entries, but were replaced in order to write the sort value to the .glstex file without causing a syntax error when LaTeX parses it.)
- Has content been stripped? If the missing content is non-alphabetic, you may need to change the
break-at
setting. If the missing content consisted of LaTeX code, run bib2gls in verbose mode (bib2gls --verbose
) and check the transcript file (.glg) for messages from the interpreter. - Has the sort value been obtained from the wrong field? Check the
sort-field
and the various fallback settings, such assymbol-sort-fallback
andabbreviation-sort-fallback
. See also Why doesn’tsymbol-sort-fallback
work? and Gallery: sorting. - Have the sort values been replaced with 0? Then you’ve most likely used a numeric sort method on non-numeric values or the numeric pattern used by the parser is incorrect. Run bib2gls with the verbose mode on and check the transcript file (.glg) for messages.
- If the sort values are correct then check the sort method and, if
sort=custom
, the sort rule.
If you have multiple .glstex files, these will form sorted sub-blocks.
2020-07-02 11:38:43
Permalink: https://www.dickimaw-books.com/faq.php?id=224
Alternative link: https://www.dickimaw-books.com/faq.php?itemlabel=bib2glswrongorder
Category: glossaries-extra package
Topic:
Problems related to selection and indexing with bib2gls