The Perl script “latexdiff” generates highlighted differences between two versions of a LaTeX document. This is required in submitting academic paper revisions.
brew install latexdiff
- Linux / WSL:
apt install latexdiff
Recursive latexdiff.py processes all .tex files in the directory. This is useful for very large projects like Ph.D. thesis or journal article.