Bug Tracker 
| ID | 88🔗 |
|---|---|
| Date: | 2015-05-06 04:20:51 |
| Status | Closed (Not a Bug) |
| Category | glossaries |
| Version | 4.15 |
| Summary | Groups not working for sort=def |
| OS | Windows 7 |
Sign in to subscribe to notifications about this report.
Description
When using glossaries withsort=def and style=alttreehypergroup, groups are not recognized any more and the output is broken.
Glossaries version: 4.15
This bug was reported on TEX.SX, too (includes images of the expected and actual output): Glossaries: Groups not working
MWE
Download (820B)
% arara: pdflatex: { action: nonstopmode }
% arara: makeglossaries
% arara: pdflatex: { action: nonstopmode }
% arara: pdflatex: { action: nonstopmode }
\documentclass{article}
% WORKING:
% \usepackage[style=alttreehypergroup, symbols, nolong, nosuper, nonumberlist]{glossaries}
% NOT WORKING:
\usepackage[sort=def, style=alttreehypergroup, symbols, nolong, nosuper, nonumberlist]{glossaries}
\glssetwidest[1]{xxxx}
\makeglossaries
\newglossaryentry{firstgroup}{name={firstgroup}, description={\nopostdesc}}
\newglossaryentry{aaa}{name={aaa}, description=abcd, parent=firstgroup}
\newglossaryentry{secondgroup}{name={secondgroup}, description={\nopostdesc}}
\newglossaryentry{bbb}{name={bbb}, description=abcd, parent=secondgroup}
\begin{document}
\glsaddall
\printglossaries
\end{document}Evaluation
I've put a more detailed response in my answer on TeX.SX, but this is a feature rather than a bug due to the fact that the sort=def key changes the sort key for each entry to a numerical value, so all entries end up in the "Numbers" group. You can get around it by switching to "Option 1" and passing the sort=def to \printnoidxglossary.
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=88
