oetiker / acronym

LaTeX Acronym Package
10 stars 11 forks source link

Add Option to Make Undefined Acronyms Produce an Error #58

Open threema-theo opened 1 month ago

threema-theo commented 1 month ago

Hi,

thanks for this amazing package!

I think a document with missing acronym definitions is somewhat broken. Therefore it would make sense to let the users opt for failing upon undefined acronyms. A document with missing acronym definitions would then not successfully compile but fail with \PackageError{acronym}{Acronym ‘#3’ is not defined}%.

Also I quickly checked for a workaround to map \PackageWarning{acronym} to a \PackageError{acronym} but could not find one. I'm happy if there is a workaround that solves the problem.

Cheers

oetiker commented 1 month ago

sounds like a nice idea ... how about a PR ... ideally this would be a configurable behavior.

threema-theo commented 1 month ago

Thanks for the openness. I've given it a try!