Bug Tracker 
| 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
Thelocal 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 languageExpected result:
(XML).
global: hypertext markup language (HTML), extensible markup language
(XML).
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
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=191
