cgnieder / acro

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

Missing rerun bool definition breaks second compilation #176

Closed flammermann closed 4 years ago

flammermann commented 4 years ago

In commit 187e3b4ba5004575ea63f3df599c5a51d4f3eb25 line 214 was deleted from acro2.sty. This line was the initializing definition of the global bool to detect whether or not a rerun is required, namely \g__acro_rerun_bool.

I believe this deletion was unintentional, because it leads the following error message when compiling a document for the second time:

! Undefined control sequence.
<argument> \g__acro_rerun_bool

l.291 \acro@rerun@check
?

To resolve the issue it seems to be sufficient to reinsert the definition:

\bool_new:N      \g__acro_rerun_bool

to acro2.sty in line 196 without harming any other functionalities (not checked extensively for every variation of package options but).