cgnieder / acro

acronyms for LaTeX
LaTeX Project Public License v1.3c
41 stars 9 forks source link

Indefinite forms also apply to inner acronyms #223

Closed FrederikLauber closed 2 years ago

FrederikLauber commented 3 years ago

Hello,

I found this issue working with indefinite forms of acronyms and also can reproduce it with custom declared acro forms.

MWE:

\documentclass{standalone}
\usepackage{acro}
\DeclareAcronym{DT}{short=DT,long={decision tree}}
\DeclareAcronym{BDT}{short=BDT,long={boosted \acl{DT}}}
\begin{document}
\Iac{BDT}
\end{document}

produces the text "a boosted a decision tree" which is obvious incorrect as it should read "a boosted decision tree". I guess this is an error or is the usage of acronyms within acronyms not supported in the first place? Cheers,