
5 Jul
2012
5 Jul
'12
6:37 a.m.
On Wed, 4 Jul 2012, Jason White wrote:
As an additional note, if you want word-by-word diffs of revisions of a TeX document in Git, use the --word-diff option of git diff, after adding the following line to your .gitattributes file (creating that file in the top-level repository directory if required). *.tex diff=tex
git hadn't been invented when I finished my thesii, but wdiff did. I don't know how the outputs compare because I don't have a handy .tex,v right now to do a git diff between, but my standard word diff invocation would be: wdiff -a old.tex new.tex (dunno whether screenreaders can show highlights/strikethrough though!) -- Tim Connors