Latest news 2024-10-15: New blog post: Tales for Our Times Book Launch.

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 103🔗
Date: 2015-12-03 13:42:07
Status Closed (Fixed)
Category glossaries
Version v4.20
Summary Confusing Warning: Deprecated use of \glossaryentryfield

Sign in to subscribe to notifications about this report.

Description

If no default style for glossaries is defined via option nostyles and \printglossary is set without any style, you get the Warning:
Deprecated use of \glossaryentryfield.
In my eyes, that's a little bit confusing. Maybe it is possible to create a specific Warning, that no style was set and a fallback layout is used.

MWE

Download (314B)

\listfiles
\documentclass{scrartcl}
\usepackage{selinput}\SelectInputMappings{adieresis={ä},germandbls={ß}}
\usepackage[%
  automake,%
  nostyles,%
]{glossaries}
\makeglossaries
\begin{document}
\newglossaryentry{sample}{%
  name={sample},
  description={an example}
}
\gls{sample}
\printglossary
\end{document}

Evaluation

The glossaries package now provides a clearer warning when this situation occurs. Your MWE should now show the following in the transcript:

Package glossaries Warning: No default glossary style provided 
(glossaries)                for the glossary `main'. 
(glossaries)                Using deprecated fallback. 
(glossaries)                To fix this set the style with 
(glossaries)                \setglossarystyle or use the 
(glossaries)                style key=value option on input line 19.
This should hopefully highlight the actual problem and make the later deprecated warning more understandable.

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