Latest news 2021-09-06: new blog post "Legacy Documents and TeX Live Docker Images".

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 with sort=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

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:

You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=88