Last active
June 18, 2024 17:15
-
-
Save arthurlevy/9470214 to your computer and use it in GitHub Desktop.
compares two latex files and produces a pdf with differences markup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp paper.tex new_file.tex | |
git checkout v1 -- paper.tex | |
cp paper.tex old_file.tex | |
latexdiff -t CULINECHBAR --append-safecmd="vect,tens,moy,norm" old_file.tex new_file.tex > diff.tex | |
latex diff.tex | |
bibtex diff.aux | |
latex diff.tex | |
dvipdfmx -o diff.pdf diff.dvi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment