[Tex/LaTex] Acronym capitalization not working in plural mode

acronymscapitalizationglossaries

I am using the glossaries package to manage acronyms and it seems like the combination of "use long form", "make first letter uppercase" and "use plural form" does not work (see MWP below):

At first I thought it might be related to the remarks in the glossaries documentation concerning the uppercase commands not being expandable as I came across this problem when using \Acfp at the beginning of a caption in combination with hyperref. But even after removing all the clutter, it still does not seem to work:

\documentclass{article}

\usepackage[acronym,shortcuts]{glossaries}

\newacronym{mTA}{mTA}{my test acronym}

\begin{document}
Try acr shortcuts:\\
\acf{mTA}\\
\Acf{mTA}\\
\acfp{mTA}\\
\Acfp{mTA}\\

Try acr commands:\\
\acrfull{mTA}\\
\Acrfull{mTA}\\
\acrfullpl{mTA}\\
\Acrfullpl{mTA}\\

Try gls commands:\\
\glsentryfirst{mTA}\\
\Glsentryfirst{mTA}\\
\glsentryfirstplural{mTA}\\
\Glsentryfirstplural{mTA}\\
\end{document}

MWP

The \glsentryfirst* family does the 'right' thing but are lacking the hyperref information (not part of the MWP).

So am I missing something here?

Best Answer

This is a bug. I'll get it fixed in the next version. For now, a simple workaround is to use one of the new acronym styles:

\documentclass{article}

\usepackage[acronym,shortcuts]{glossaries}

\setacronymstyle{long-short}
\newacronym{mTA}{mTA}{my test acronym}

\begin{document}
Try acr shortcuts:\\
\acf{mTA}\\
\Acf{mTA}\\
\acfp{mTA}\\
\Acfp{mTA}\\

Try acr commands:\\
\acrfull{mTA}\\
\Acrfull{mTA}\\
\acrfullpl{mTA}\\
\Acrfullpl{mTA}\\

Try gls commands:\\
\glsentryfirst{mTA}\\
\Glsentryfirst{mTA}\\
\glsentryfirstplural{mTA}\\
\Glsentryfirstplural{mTA}\\
\end{document}

Image of result

Related Question