Bug Tracker RSS feed

ID 312🔗
Date: 2025-11-10 17:01:46
Last update: 2025-11-10 18:21:30
Status Closed (Not a Bug)
Category glossaries
Version 4.8
Summary no warning/error for use of undefined key variant

Return to Search Results

Sign in to subscribe to notifications about this report.

Description

I am not sure if this is intended (and documented), so just to be sure ...
When I use a key that is not defined no warning or error is thrown.

MWE

Download (158B)

\documentclass{standalone}
\usepackage{glossaries}
\newacronym{svm}{SVM}{support vector machine}
\begin{document}
    d\glsuseriii{svm}b
\end{document}

Evaluation

This is expected behaviour. The key is defined. If you don't specify the value when you define an entry it will be set to its default. In this case, the default for "user3" is empty. So

\newacronym{svm}{SVM}{support vector machine}
is equivalent to:
\newacronym[user3={}]{svm}{SVM}{support vector machine}

I'll update the documentation to clarify the default values for the "user1", ..., "user6" keys.

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

Return to Search Results