Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acro in compatibility mode freezes when using plural forms (e.g. \acp) of undefined acronyms #273

Open
ytzemih opened this issue Aug 29, 2024 · 0 comments

Comments

@ytzemih
Copy link

ytzemih commented Aug 29, 2024

An MWE that shows the behaviour under pdflatex and luatex (in my case, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Debian)) is given here:

\documentclass{article}
\usepackage{acro}[=v2] % <== happens only in compatibility mode
% \DeclareAcronym{MWE}{short = MWE, long = Minimum Working Example}
\begin{document}
\Aclp{MWE} % <== comment to avoid [pdf|lua]latex freeze 
% \aclp{MWE} 
% \Acp{MWE} 
% \acp{MWE} 
\acs{MWE} % <== throws an error as expected if MWE is undefined
\ac{MWE}
\end{document}

The "p"-commands seem to be affected consistently after a few tests. It seems as if there is problem with plural-form compatibility?

Because of known efficiency problems, I need to continue to use the compatibility mode, the latter of which is totally fine for my purposes. But the freezes are happening quite likely when switching between many (larger) documents and acronym lists.

Thanks for a quick check.

@ytzemih ytzemih changed the title Acro in compatibility mode freezes when using \acp with undefined acronyms Acro in compatibility mode freezes when using plural forms (e.g. \acp) of undefined acronyms Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant