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 CLI #2

Merged
merged 11 commits into from
May 24, 2022
Merged

Add CLI #2

merged 11 commits into from
May 24, 2022

Conversation

siefkenj
Copy link
Owner

Add unified-latex-cli for command-line interaction with unified latex.

@siefkenj siefkenj merged commit 2498a5c into main May 24, 2022
theseanl added a commit to theseanl/unified-latex that referenced this pull request Jan 21, 2024
Now expandMacros can correctly expand macros whose default arguments
reference other arguments. A special care was taken in order to follow
the behavior of xparse in case of circular references. In most of the
cases, xparse throws a compilation error, but it works in case like
`O{siefkenj#2} O{siefkenj#1}`. From this, we can reasonably guess that xparse treats
default arguments that directly copies another argument's value in a
special way. This behavior was implemented with a simple algorithm, and
it turns out to be consistent with xparse's behavior in cases considered
in unit tests.
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.

1 participant