Bug Tracker RSS feed

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

Return to Search Results

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.

🔗Comment from Nicola Talbot 🦜
Date: 2021-11-18 20:01:02

The problem doesn't occur if prefix is used instead of targetnameprefix.

Replying to Comment #85:

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

Return to Search Results