A command-line tool that cleans up LaTeX files by removing comments and correcting common anti-patterns.
blacktex is a command-line tool that cleans up LaTeX files by removing comments and correcting common anti-patterns. It helps users improve the readability and consistency of their LaTeX documents by automating formatting corrections based on established best practices.
LaTeX users, academic writers, researchers, and students who want to maintain clean and professional LaTeX source files without manual editing.
Developers choose blacktex for its simplicity and focus on automating LaTeX cleanup tasks, saving time and ensuring adherence to LaTeX best practices through a lightweight, command-line interface.
:black_heart: Cleans up your LaTeX files.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Strips all comments from LaTeX files, as demonstrated in the README where '% @johnny remember to insert name' is removed, resulting in cleaner and more professional source code.
Fixes common LaTeX issues based on the l2tabu guide, such as converting '$$a+b=c$$' to '\[a+b = c\]' for proper display math and correcting italic command usage.
Enables batch processing of multiple files with the '-i' flag, allowing efficient modification without manual output handling, as shown in the usage examples.
Offers a straightforward CLI with options like '-h' for help, making it easy to integrate into existing editing or scripting workflows.
Requires purchasing a license for personal and academic use, and commercial use needs separate contact, adding cost and complexity compared to free alternatives like latexindent.
Only corrects 'some common anti-patterns' as per the README, potentially missing other LaTeX best practices or edge cases, which limits its comprehensiveness.
Applies fixed rules without options to customize comment preservation or selective corrections, reducing flexibility for users with specific formatting needs.