Latest news 2019-12-05: new blog post "RSS Feeds and Other Notifications."

Bug Tracker

ID68
StatusClosed (Fixed)
Categoryglossaries
Version3.07
SummaryAcronym shortplural not used

Report

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.

Benni

MWE

\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.

Comment from Benni
Date: 2014-09-20 07:31:38 CDT

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.

Add comment.

Watch This Report

If you would like to be notified whenever updates are made to this report, please fill in your email address in the box below and click on "Notify Me of Changes" button. (Please ensure the address is valid.) Your details won't be passed on to third parties in line with this site's Privacy Policy.

If you supply your name, it will be used in the email greeting, which provides a more personal message, otherwise you'll just get a generic greeting. If you have previously supplied your name when signing up for notifications, you don't need to resupply it unless you want to change it.

If you have previously subscribed to notifications for this report, you can unsubscribe by clicking on the "Stop Notification" button.

The "Confirm Bug ID" field helps to protect against spambots. Please enter the bug ID (which you can find at the top of this page).

(Optional.)
E mail:
Confirm E mail:
Confirm Bug ID:

To unsubscribe from all notifications use the notifications page.

Comment

You can append a comment to the report using the form below. Comments are checked first before being added. Any spam or offensive content will be removed first according to this site's Terms of Website Use. Please bear in mind that I develop and maintain free software in my spare time. If you want commerical level support then you can hire a TeX consultant.

The "Confirm Bug ID" field helps to protect against spambots. Please enter the bug ID (which you can find at the top of this page).

(Optional. If provided, it will be shown with the comment.)
Confirm Bug ID:

You can use the following markup:

[pre]Displayed verbatim[/pre]
[tt]monospace text[/tt]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

Click on the Preview button to preview the message.

Return to list.

© 2019 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs