Latest news 2021-06-05: New blog post: Dickimaw Books Site Account.

Bug Tracker

ID 119🔗
Submitted by: Nicola Talbot 🦜
Date: 2017-02-07 03:22:33
Status Closed (Fixed)
Category glossaries-extra
Version 1.12
Summary \glsdisp hangs

Sign in to subscribe to notifications about this report.

Description

\glsdisp causes document build to hang.

MWE

Download (203B)

\documentclass{article}

\usepackage{glossaries-extra}
\newabbreviation{ekg}{EKG}{Elektrokardiogramm}

\begin{document}

Works: \gls{ekg}

Hangs with glossaries-extra: \glsdisp{ekg}{TEST}
\end{document}

Evaluation

Fixed in v1.13 (2017-02-17).

Patch:

\makeatletter

\renewcommand*{\@glsdisp}[3][]{%
  \@glsxtr@record{#1}{#2}%
  \glsdoifexists{#2}{%
    \let\do@gls@link@checkfirsthyper\@gls@link@checkfirsthyper
    \let\glsifplural\@secondoftwo
    \let\glscapscase\@firstofthree
    \def\glscustomtext{#3}%
    \def\glsinsert{}%
    \def\@glo@text{\csname gls@\glstype @entryfmt\endcsname}%
    \@gls@link[#1]{#2}{\@glo@text}%
    \ifKV@glslink@local
      \glslocalunset{#2}%
    \else
      \glsunset{#2}%
    \fi
  }%
  \glspostlinkhook
}

\makeatother

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