Latest news 2024-03-02: Ebook sale (3rd–9th March 2024): short story cybercrime fiction Unsocial Media free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99. For further details, see latest blog post.

Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

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

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.

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