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

--replace-command remove spurious white line #93

Open
tdegeus opened this issue Oct 2, 2023 · 1 comment
Open

--replace-command remove spurious white line #93

tdegeus opened this issue Oct 2, 2023 · 1 comment
Labels

Comments

@tdegeus
Copy link
Owner

tdegeus commented Oct 2, 2023

Consider

This is
\detail{
    ...
}
a line.

Then running

texcleanup --replace-command "{\detail}[1]" "" main.tex

should result in

This is
a line.

and not (as currently) in

This is

a line.
@tdegeus tdegeus added the bug label Oct 2, 2023
@tdegeus
Copy link
Owner Author

tdegeus commented Oct 25, 2023

It could be good to merge _replace_command_impl and _find_args into a single function at this time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant