Compare Latex documents with latexdiff on Mac
Quick comparison of two Latex documents
latexdiff ../path/old.tex new.tex --flatten > diff.tex
--flatten
here means to unwrap all included files into a flat text
At the end the difference looks like this:
Beware that sometimes the resulting diff.tex
file is compiled with errors. Usually they are resolved by removing preceeding the error empty lines or adding $
arround math symbols.