For those who are familiar with Ms.Word you might know that there is a feature called Track Changes on the Review tab in Ms.Word. This feature is very useful to view tracked changes that we’ve made to the document. Now, how if we use editor? Can we track changes in LaTeX? The answer is : Sure, you can. 🙂
I just figure out today that we can use latexdiff to view tracked changes in LaTeX. Here’s what I have done to make latexdiff works in my office PC. My PC OS is Windows XP Version 2002.
[contentblock id=1 img=adsense.png]
- Install Perl from activePerl.com
- Download latexdiff : e.g http://haakoh.at.ifi.uio.no/latexdiff/
- Unzip the latexdiff file and put it inside the directory where you have installed Perl (e.g Perl>bin)
- Set the Perl path in Windows
- Put the old and new file in the same folder with the latexdiff file.
- Compile the file from command prompt using this command:
perl latexdiff old.tex new.tex > diff.tex
- A diff.tex file will be created that shows the difference between your old and new files.
- You can compile it to a pdf file using MikTex editor as usual.