Latest news 2025-07-01: Ebook Sale July 2025. Cybercrime fiction short stories Unsocial Media and Smile for the Camera free; crime fiction short story The Briefcase free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.

Bug Tracker RSS feed

ID 187🔗
Submitted by: Denis Bitouzé
Date: 2021-10-28 20:51:34
Status Closed (Fixed)
Category glossaries
Version 4.48
Summary Compilation fails if hyperref is loaded and the style is listhypergroup
Cross Ref 186

Return to Search Results

Sign in to subscribe to notifications about this report.

Description

Compilation fails if hyperref is loaded and the style is listhypergroup ith the following error:
! Undefined control sequence.
\glsnavigation ->\def \@gls@between 
                                    {}\ifcsundef {@gls@hypergrouplist@\@glo@...
l.2 \begin{theglossary}\glossaryheader

MWE

Download (372B)

\listfiles
%
\documentclass{article}
\usepackage{hyperref}
\usepackage{glossaries}
\makeglossaries
\setglossarystyle{listhypergroup}
\newglossaryentry{distance}
{%
  name={distance},
  description={the length between two points},
  symbol={m}
}
\begin{document}
\gls{distance}
\printglossary
\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

Evaluation

It looks as though this bug was introduced by bug fix #186. The following patch is needed:

\renewcommand{\glslistinit}{%
  \ifdef\GetTitleStringDisableCommands
  {%
    \GetTitleStringSetup{expand}%
    \GetTitleStringDisableCommands{%
      \let\glsentryitem\@gobble
      \let\glstarget\@secondoftwo
      \let\glossentryname\glslistexpandedname
      \let\glslistgroupheaderfmt\@firstofone
      \let\glsgetgrouptitle\@firstofone
      \let\glsnavhypertarget\@secondoftwo
      \let\glsnavigation\relax
    }%
  }%
  {}%
}
Fixed in version 4.49 (2021-11-01).

Comments

1 comment.

🔗Comment from Johannes Huber
Date: 2021-10-30 13:19:44

I can confirm this behaviour with glossary style: altlist

Replying to Comment #73:

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. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

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.


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. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

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=187

Return to Search Results