This Python script checks the grammar, spelling, and other issues in LaTeX files (.tex) within a specified directory using pydetex
to extract plain text and language_tool_python
for grammar checking. It saves the results of each file's grammar check in a separate report file in a folder named grammar_check
.
You need to install the required libraries via pip:
pip install pydetex language_tool_python