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

Add option 'error' for undefined acronym handling #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

threema-theo
Copy link

When 'error' is set, an undefined acronym will throw an error instead of just a warning and thus nudge users to fix the erroneous acronym.

This is my first look behind a usepackage! So any tips/improvements are welcome :)

This closes #58 .

@threema-theo
Copy link
Author

Ah wait... This doesn't work yet. In the first run, this will always throw errors as the acronyms are not defined yet...

@threema-theo threema-theo changed the title Add option 'error' for undefined acronym handling WIP: Add option 'error' for undefined acronym handling Sep 26, 2024
When 'error' is set, an undefined acronym will throw an error instead of
just a warning and thus nudge users to fix the erroneous acronym.
@threema-theo
Copy link
Author

Ah wait... This doesn't work yet. In the first run, this will always throw errors as the acronyms are not defined yet...

Should be fixed by now:
I rely on \AC@populated to be equal to \AC@used. Iff so, then it is not the first run.

fix checksum
@threema-theo threema-theo changed the title WIP: Add option 'error' for undefined acronym handling Add option 'error' for undefined acronym handling Sep 30, 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

Successfully merging this pull request may close these issues.

Add Option to Make Undefined Acronyms Produce an Error
2 participants