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

Bug Tracker

ID 152🔗
Submitted by: Nicola Talbot 🦜
Date: 2020-02-28 15:27:06
Status Closed (Fixed)
Category glossaries-extra
Version 1.42
Summary Infinite loop caused by \glslabel in \glsxtrentryfmt

Sign in to subscribe to notifications about this report.

Description

If \glslabel is used as the first argument of \glsxtrentryfmt it causes an infinite loop.

MWE

Download (313B)

\documentclass{article}

\usepackage[record=only]{glossaries-extra}
\GlsXtrLoadResources[src={example-glossaries-brief}]

\newcommand*{\sampleformat}[1]{\glsxtrentryfmt{\glslabel}{#1}}

\glssetcategoryattribute{general}{textformat}{sampleformat}

\begin{document}
\gls{lorem}
\printunsrtglossaries
\end{document}

Evaluation

Fixed in v1.43 (2020-02-28).

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