Hi, You may know latexdiff, a neat tool to visualize differences between LaTeX files (it annotates your .tex file with colors for removed/added parts, producing another compilable .tex file). I wrote a little shell-script that allows one to use latexdiff on files versionned by Git, with e.g. git latexdiff HEAD^ --main foo.tex --output foo.pdf Essentially, it does a checkout of the old and new revisions, and calls latexdiff + pdflatex for you. The result is attached in case anyone is interested. It may be relevant to add this to contrib/ in git.git. If anyone's interested, let me know, and I'll resend the code in the form of a patch doing that. Regards, -- Matthieu Moy http://www-verimag.imag.fr/~moy/
Attachment:
git-latexdiff
Description: Binary data