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

Removing "comments" in code blocks #51

Open
samvelyan opened this issue Nov 16, 2021 · 0 comments
Open

Removing "comments" in code blocks #51

samvelyan opened this issue Nov 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@samvelyan
Copy link

samvelyan commented Nov 16, 2021

Hi, thank you for your wonderful work!

When running arxiv-latex-cleaner on projects that involve minted or lstlisting code blocks, the % symbol within a code block causes the cleaner to delete all the characters from the position of % onward .

It would be great if the comment cleaning is turned off on such code blocks, since % here is not intended as a LaTeX comment.

@samvelyan samvelyan changed the title Removing comments in code blocks of lstlisting Removing comments in code blocks Nov 16, 2021
@samvelyan samvelyan changed the title Removing comments in code blocks Removing "comments" in code blocks Nov 16, 2021
@jponttuset jponttuset added the enhancement New feature or request label Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants