Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
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. –  Martin Tapankov Jan 21 '11 at 13:54
    
@Martin, could you post your comment as an answer so that this question doesn't remain unanswered? –  Juan A. Navarro Jan 24 '11 at 16:42
    
@Juan: Done, but feels a little like cheating.. –  Martin Tapankov Jan 24 '11 at 19:44
    
@martin: you mean you'll get rep you feel you do not deserve? easy solution, call it CW. –  Yossi Farjoun Jan 25 '11 at 11:44
add comment

1 Answer

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:

share|improve this answer
    
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.... –  Yossi Farjoun Jan 25 '11 at 11:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.