I'm trying to use the acronym environment from the acronym package to typeset a list of acronyms in my document. I want to specify a non-standard plural form for an acronym using \acroplural (which, according to the package documentation, "is meant
to be used in the acronym environment"), but doing so is giving me an error message.
MWE
Document
\documentclass{article}
\usepackage{acronym,hyperref}
\begin{document}
\begin{acronym}
\acro{POI}{point of interest} \acroplural{POI}{POIs}{points of interest}
\end{acronym}
\end{document}
Error Messages
LaTeX Warning: Hyper reference `acro:POI' on page 1 undefined on input line 8.
LaTeX Warning: Hyper reference `acro:POI' on page 1 undefined on input line 8.
document.tex:8: Undefined control sequence.
\hyper@@link ->\let \Hy@reserved@a
\relax @ifnextchar [{\hyper@link@ }{\hyp...
l.8 ...}{point of interest} \acroplural{POI}{POIs}
{points of interest}
document.tex:8: Argument of \AC@acroplurali has an extra }.
<inserted text>
\par
l.8 ...}{point of interest} \acroplural{POI}{POIs}
{points of interest}
Runaway argument?
{POI}{\hyper@link@ }\def \reserved@b {\hyper@link@ [link]}\futurelet \ETC.
document.tex:8: Paragraph ended before \AC@acroplurali was complete.
<to be read again>
\par
l.8 ...}{point of interest} \acroplural{POI}{POIs}
{points of interest}
[1] (./document.aux)
Related
How to pluralize an acronym which ends in 'S' correctly? is a similar question, but it asks about defining a non-standard plural form outside of the acronym environment.

acronymenvironment to\acro{POI}{point of interest} \acroplural{POI}{points of interest}. I can get the document to compile by using\acro{POI}{point of interest} \acroplural{POI}[]{points of interest}, but then the short plural form doesn't show up at all. Do I have to do\acro{POI}{point of interest} \acroplural{POI}[POIs]{points of interest}(you said that was unnecessary)? – Ben Zelnick Jun 11 '23 at 21:21\acroplural{POI}[]{points of interest}supplies an optional argument which is empty (and so the short plural is set to be nothing),\acroplural{POI}{points of interest}does not supply an optional argument and so the short plural defaults to POIs. This is how optional arguments typically work in LaTeX, \newcommand argument confusion may help further understanding. – Dai Bowen Jun 11 '23 at 21:31[]is supplying a blank optional argument to the\acropluralcommand—sorry if I wasn't clear. My point in my previous comment was that if I omit the square brackets altogether (which, as you said, is "how optional arguments typically work in LaTeX"), then it still doesn't work. You can see this if you change the MWE to read\acro{POI}{point of interest} \acroplural{POI}{points of interest}and try to compile. – Ben Zelnick Jun 11 '23 at 22:20\acroplural{POI}[POIs]{points of interest}works it works, my reading of the documentation is definitely that\acroplural{POI}{points of interest}should work, so if it doesn't you should raise an issue (https://github.com/oetiker/acronym/issues). – Dai Bowen Jun 11 '23 at 23:02