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

Bug Tracker

ID 113🔗
Date: 2016-08-14 06:58:04
Status Closed (Fixed)
Category glossaries-extra
Version 1.06
Summary \RestoreAcronyms throw errors Undefined control sequence \gls

Sign in to subscribe to notifications about this report.

Description

From RestoreAcronyms throw errors Undefined control sequence \gls

Hello,
when using \RestoreAcronyms from glossaries-extra all \gls works as previously in glossaries but I get "Undefined control sequence \gls" errors

MWE:

\documentclass[a4paper, 12pt]{memoir}
\usepackage{glossaries-extra}
\RestoreAcronyms
\newacronym{label}{acronyme}{Definition}
\newacronym[plural={acronyme pluriel},first={texte à afficher à la première occurrence},firstplural={idem, mais au pluriel}]{label2}{acronyme}{Définition}
\makeglossaries
\begin{document}
\gls{label} foo
\gls{label} foo
\gls{label2} foo
\gls{label2} foo
\printglossary
\end{document}
My ultimate goal was to use \Glsfmtfull in headings as recommended but keeping the same behaviour of acronyms defined with \newacronym{label}{acronyme}{Definition} : in glossaries-extra without RestoreAcronyms, label (from my MWE) will never be seen "full (short)" at first display but label2 yes. I rather prefer to don't change my whole glossary file!

Thank you for reading

MWE

Download (584B)

\documentclass[a4paper, titlepage, 12pt]{memoir}

%\usepackage[toc=false]{glossaries}
\usepackage{glossaries-extra}
\RestoreAcronyms
%\setabbreviationstyle{long-short-sc}

\newacronym{label}{acronyme}{Définition}
\newacronym[plural={acronyme pluriel},first={texte à afficher à la première occurrence},firstplural={idem, mais au pluriel}]{label2}{acronyme}{Définition}
\makeglossaries




\begin{document}
\gls{label} bla

\gls{label} de 


\gls{label} sqedgf

\gls{label2} bla

\gls{label2} de 


\gls{label2} sqedgf


\printglossary
\end{document}

Evaluation

Bug fixed in version 1.07 (2016-08-15). However, \RestoreAcronyms is incompatible with \Glsfmtfull. I recommend you just use

\setabbreviationstyle[acronym]{long-short-sc}
instead of
\RestoreAcronyms

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