Bug Tracker 
| ID | 190🔗 |
|---|---|
| Submitted by: | Nicola Talbot 🦜 |
| Date: | 2021-11-18 19:43:28 |
| Status | Closed (Fixed) |
| Category | glossaries-extra |
| Version | 1.47 |
| Summary | hypergroup, \glsnavhyperlinkname and targetnameprefix don't work together |
Sign in to subscribe to notifications about this report.
Description
If both\glsnavhyperlinkname and the targetnameprefix option are set then the group navigation hyperlinks are incorrect. The supplied MWE has group hyperlinks in the form sample.glsn:main@A (only using \glsnavhyperlinkname) but the group targets are in the form sampleprefix.sample.glsn:main@A which uses both \glsnavhyperlinkname and targetnameprefix.MWE
Download (535B)
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
% arara: pdflatex
\documentclass{article}
\usepackage[colorlinks]{hyperref}
\usepackage[debug=showtargets]{glossaries-extra}
\renewcommand*{\glsshowtargetouter}[1]{%
{\small[\glsshowtargetsymbol\glsshowtargetsymbol\glsshowtargetfont #1]}}
\makeglossaries
\loadglsentries{example-glossaries-brief}
\glsaddall
\begin{document}
\renewcommand*{\glsnavhyperlinkname}[2]{sample.glsn:#1@#2}%
\printglossary[targetnameprefix={sampleprefix.},style=listhypergroup]
\end{document}
Evaluation
Fixed in v1.48 (2021-11-22).
Comments
1 comment.
Replying to Comment #85:
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=190

Date: 2021-11-18 20:01:02
The problem doesn't occur if
prefixis used instead oftargetnameprefix.