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 68🔗
Date: 2014-09-15 07:57:52
Status Closed (Fixed)
Category glossaries
Version 3.07
Summary Acronym shortplural not used

Sign in to subscribe to notifications about this report.

Description

Hi,
first I want to thank you for all your work on glossaries (and all other packages).

In media res:
Using plurals of acronyms does not work for me. The defined shortplural will only be used at first use of the acronym or never.

MWE

Download (1.23K)

\documentclass[10pt,a4paper]{article}
\usepackage[landscape]{geometry}
\usepackage{glossaries}

\newglossaryentry{potato}{
	name={potato},
	plural={potatoes},
	description={starchy tuber}}
\newacronym[longplural=longplural1, shortplural=shortplural1]{key1}{shortform1}{longform1}
\newacronym[longplural=longplural2, shortplural=shortplural2]{key2}{shortform2}{longform2}

\begin{document}

\makeglossaries
\printglossaries

Using plural of acronymentries multiple times \emph{does not} work fine.\\
For example:\\
Using plural twice: All \glspl{key1} are \emph{\glspl{key1}}.(What I get.)\\
Using plural twice: All longplural1 (shortplural1) are \emph{shortplural1}.(What I expect.)\\
Using singular twice: A \gls{key1} is a \gls{key1}.\\

Using plural of acronymentries multiple times the other way round (singular first, then plural) \emph{does not} work fine either.\\
For example:\\
Using singular twice: A \gls{key2} is a \gls{key2}.\\
Using plural twice: All \glspl{key2} are \emph{\glspl{key2}}.(What I get.)\\
Using plural twice: All shortplural2 are \emph{shortplural2}.(What I expect.)\\

Using the plural of glossaryentries mulitple times works fine.\\
For example:\\
Using plural twice: All \glspl{potato} are \glspl{potato}.\\

\end{document}

Evaluation

(BTW you need to move \makeglossaries to the preamble.) With the current version of glossaries (v4.11) I get the following:

   Using plural of acronymentries multiple times does not work fine.
For example:
Using plural twice: All longplural1 (shortplural1) are shortplural1.(What I get.)
Using plural twice: All longplural1 (shortplural1) are shortplural1.(What I expect.)
Using singular twice: A shortform1 is a shortform1.

   Using plural of acronymentries multiple times the other way round (singular first, then plural) does not work fine either.
For example:
Using singular twice: A longform2 (shortform2) is a shortform2.
Using plural twice: All shortplural2 are shortplural2.(What I get.)
Using plural twice: All shortplural2 are shortplural2.(What I expect.)

   Using the plural of glossaryentries mulitple times works fine.
For example:
Using plural twice: All potatoes are potatoes.
It may be that you need to upgrade to the latest version.

Comments

1 comment.

🔗Comment from Benni
Date: 2014-09-20 13:31:38

Hi,

1) thank you for your quick evaluation.
2) I'm happy to hear that the reported issue is fixed with v4.11

All the best & thanks again for your dedication,

Benni

PS: Thank you for the preamble-hint. I accidentially moved it to the document area when making a MWE.

Replying to Comment #37:

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.


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