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

\exp_args_in_group:... generator(s) #16

Open
muzimuzhi opened this issue Feb 6, 2025 · 1 comment
Open

\exp_args_in_group:... generator(s) #16

muzimuzhi opened this issue Feb 6, 2025 · 1 comment

Comments

@muzimuzhi
Copy link
Owner

Argument expansion may change states (create new hash entries or raise a l3flag). Expanding arguments in a group is then wanted in some cases, See an example in https://redirect.github.com/latex3/latex2e/pull/1592.

\exp_args_in_group:<args> can be defined as

\group_begin: \exp_args:N<args> \group_end:

What if x-type expansion is involved?

Source of the idea

https://redirect.github.com/latex3/latex2e/pull/1592/files#r1895056903

@muzimuzhi
Copy link
Owner Author

\exp_args_generate:n uses \__cs_generate_internal_variant:n {<args>} to generate \exp_args:N<args>. See l3expan.dtx.

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