[Tex/LaTex] Best practice to peer-review a LaTeX document

best practicescollaboration

I'm currently writing a big document in LaTeX. The language is English and since I'm not a native English speaker, I've found a friend who will review and correct the document for me as soon as I have finished it.

Now I'm thinking about how this can be done. I don't want him to change the original version of my documents, since maybe I don't want to include all the modifications. So how can I best compare two different versions of LaTeX documents to see what he has changed?

Best Answer

The preferred way is latexdiff. You'll need to have Perl installed, as this is really a script.

The usage is quite simple (see below), but check the documentation for more options.

latexdiff old.tex new.tex > diff.tex

On an unrelated note, I had a question some time ago about comparing PDF documents, but hopefully you won't need that.

You might also find this discussion helpful, which is partly related to what you're asking.

Related Question