LaTeX Diff
This is a ruby script that compares two LaTeX documents to
produce an annotated LaTeX file showing additions and deletions
with styled text and changebars.
Features
- Word-level diffing
 
- Fast (typically just a few seconds)
 
- Understands LaTeX elements to mostly maintain correct
syntax
 
- Customisable markup for added/deleted elements
 
- Ties in with bundled PostScript changebar package
 
Example

Requirements
- Ruby 1.8
 
- GNU diff with GTYPE-group-format support (known working with
2.8.1)
 
- LaTeX
 
- dvips
 
- ps2pdf
 
Note that pdflatex is not directly supported since the creation
of changebars
using the supplied ‘pschangebar’ LaTeX package requires
a PostScript
interpreter.
Obtaining
rblatexdiff-0.0.2.tgz
Acknowledgements
Heavily inspired by latexdiff.