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

Ignore macros with problematic argument specifications in listNewcommands #64

Open
theseanl opened this issue Jan 7, 2024 · 1 comment

Comments

@theseanl
Copy link
Contributor

theseanl commented Jan 7, 2024

For example, xparse allows specifying more than 1 characters as argument delimiters, such as in r{ab}c, but it simply ignores such macros. Trying to use a macro with such an argspec generates an error saying that there is no known macro with that name.

Currently, the argspec parser also accepts such argspecs, but for additional safety, we may implement some validator in unified-latex-utils-argspec which may be used in listNewcommands.

@siefkenj
Copy link
Owner

siefkenj commented Jan 8, 2024

I think this is more an error in xparse. Has it been reported?

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

2 participants