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

A bug of attachMacroArgsInArray #71

Open
theseanl opened this issue Jan 29, 2024 · 0 comments
Open

A bug of attachMacroArgsInArray #71

theseanl opened this issue Jan 29, 2024 · 0 comments

Comments

@theseanl
Copy link
Contributor

theseanl commented Jan 29, 2024

\NewDocumentCommand{\xxx}{ e{_} }{#1}

$\xxx_1$

Here _ shouldn't be parsed as a macro, but rather as a part of an argument of \xxx,
but currently _1 is first gobbled as a macro and \xxx cannot find an argument.

Logic in attach-arguments.ts need to be changed.

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