Latest news 2020-07-03: SmashWords sale (ends 31st July 2020): 50% off crime/SF novel The Private Enemy and 100% off (free!) I’ve Heard the Mermaid Sing.

Bug Tracker

ID:74 🔗
Status:Closed (Not a Bug)
Date:2014-11-19 12:37:58
Summary:Incorrect acronym expansion


In the attached MWE, acronym acr2 uses \gls{acr1} in the long form. On first use in the text, \gls{acr2} is expanded with "(acr1)" appended instead of "(acr2)". If I omit \setacronymstyle{long-short} from the preamble, the expected short form is used.

This is with glossaries 2014/09/01 v4.11 (NLCT), xelatex and makeglossaries.





\newacronym{acr1}{acr1}{first acronym}
\newacronym{acr2}{acr2}{another version of \gls{acr1}}



In my text, I first use \gls{acr1} and \gls{acr2} for the first time, then I
use both \gls{acr1} and \gls{acr2} a second time.



This occurs because the first use of acr1 occurs in the list of acronyms, which is at the start of the document. The same thing happens if an acronym occurs in the table of contents. Suggestions: Closed as this is expected behaviour not a bug.

Add comment or return to search results.

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

E mail:
Confirm E mail:
Confirm Bug ID:

To unsubscribe from all notifications use the notifications page.


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:
[li]first item[/li]
[li]second item[/li]

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

Click on the Preview button to preview the message.

Return to search results.