To annotate changes in a latex file; to produce nice, colored
annotations like this one:
Program 1 (20020718)
Written by William Scott Hoge <shoge at ECE dot NEU another dot EDU>.
Written in Perl, please read comments inside.
Program 2 -- (20020401)
Written by Robert Maron.
Linux system, probably also some unices.
Tested on RedHat 7.2.
- Download latest wdiff from
use my copy: wdiff sources,
patch it with:
patch -d wdiff-0.5g -p1 < patch-wdiff)
cd wdiff-0.5g ; ./configure && make && make install
- Copy the script texdiff to /usr/local/bin/
- To create sample-diff.tex
from sample-old.tex and
texdiff sample.tex sample-old.tex sample-diff.tex
- The file texdiff.tex is now included
into the sample-diff.tex
- Create PDF document
(the Makefile is included):
(when needed clean the source TeX manually; it is often needed
when changes are made within a table, section header or an itemize
list; in general - change open/close tags shall be within one item,
table cell, etc.)
- Note: texdiff can directly use CVS, run it without arguments
- texdiff - main script, generates diff annotated file
- texdiff.tex - some definitions to be included into diff annotated file
- wdiff-0.5g.tar.gz - wdiff sources; wdiff is a great tool written by Francois Pinard
- patch-wdiff - patch to make wdiff compile on RH7.2 Linux
page sponsored by TLS