11

I have two latex source files, one created by me and the other modified by a colleague.

Introduced modifications, unfortunately, also regard line breaks and spacing (source text line breaks, not latex ones), so that it is difficult for me to compare the files with standard unix text tools.

So I wonder if there is some latex text processor that could reduce both files to a common form, where could be simpler to spot the essential differences and hide/normalize the inessential ones. A sort of beautifier, like tidy for html.

Alternatively, I would ear some advices on how others approach such problem.

14

I think latexdiff (shipped with both MiKTeX and TeX Live) might be what you're after. According to the Perl script package description, it provides visual mark up of visible changes, as well as changes not affecting visible text is marked in the source code.

I have not used it myself and cannot attest to how efficient it is at addressing your needs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.