Bug Tracker RSS feed

ID 191🔗
Submitted by: Nicola Talbot 🦜
Date: 2021-11-20 21:04:02
Last update: 2022-10-19 20:01:40
Status Closed (Fixed)
Category glossaries
Version 4.49
Summary local \gls option not localised

Return to Search Results

Sign in to subscribe to notifications about this report.

Description

The local option to commands like \gls and \glsdisp changes the setting for the rest of the current scope instead of limiting it to the current command.

The attached MWE produces:

local: hypertext markup language (HTML), extensible markup language
(XML).
global: hypertext markup language (HTML), extensible markup language
(XML).
Expected result:
local: hypertext markup language (HTML), extensible markup language
(XML).
global: hypertext markup language (HTML), XML.

MWE

Download (305B)

% arara: pdflatex
\documentclass{article}

\usepackage{glossaries}

\setacronymstyle{long-short}
\newacronym{html}{HTML}{hypertext markup language}
\newacronym{xml}{XML}{extensible markup language}

\begin{document}
{local: \gls[local]{html}, \gls{xml}.
}

global: \gls{html}, \gls{xml}.


\end{document}

Evaluation

Patched in glossaries-extra v1.48 (2021-11-22). Fixed in glossaries 4.50 (make sure you also update mfirstuc when you update to this version).

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. 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=191

Return to Search Results