Smile for the Camera: a new cybercrime short story ebook.

Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

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

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.

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.

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