I installed latexdiff to track changes. The first question is where to give the command (latexdiff old.tex new.tex > diff.tex). I saw on the internet that it can be done in the Command/DOS environment. But then I get the error that the file new.tex cannot be found in the directory. I have checked where the other packages are located which is downloaded and which are working. And I have downloaded Perl. What am I doing wrong?

  • 4
    Make sure you're trying to run latexdiff in the correct directory (folder). Try typing dir on the command line, and see whether the new.tex file appears in the list somewhere. Jan 21, 2011 at 13:54
  • @Martin, could you post your comment as an answer so that this question doesn't remain unanswered? Jan 24, 2011 at 16:42
  • @Juan: Done, but feels a little like cheating.. Jan 24, 2011 at 19:44
  • @martin: you mean you'll get rep you feel you do not deserve? easy solution, call it CW. Jan 25, 2011 at 11:44

1 Answer 1


You seem to miss the new.tex file in your current directory. You can easily check whether it's present by running dir at the command line, and see whether the file appears in the output. You can always specify the full path to it, if necessary.

latexdiff is installed correctly and on your path (Perl as well), otherwise it would complain either about unknown command, or missing Perl interpreter.

A somewhat tangential note: Version control is almost mandatory if you're serious about using LaTeX for your writings.

Related questions:

  • latexdiff is very usefull for working with people who don't grok computers....(like my old advisor...) that said, latexdiff is some serious difficulties when the changes are too big.... Jan 25, 2011 at 11:45

You must log in to answer this question.