General ⇒ Capabilities of "latexdiff"
Capabilities of "latexdiff"
I am novice with LaTeX and one of my friend want to me that i install "latexdiff" to work with him. I don't know "latexdiff" and i don't understand very well what i can make with it.
Can you explain to me some comment about this?
PS: "latexdiff" exists on Windows or only on Linux? (It seems that is just on Linux.)
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Capabilities of "latexdiff"
Code: Select all
texdoc latexdiff
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Capabilities of "latexdiff"
i was on this website :
http://www.peteryu.ca/tutorials/publishing/latexdiff
and i have installed "strawberry Perl" and "Miktex" for windows. These two tool are installed now on my computer.
Now, if i open a "command windows" and i put in DOS :
Code: Select all
latexdiff-so a.tex b.tex > differences.tex
it should be works ? (i have a file "differences.tex" that is created but i haven't not a correct result: the file is empty)
ps: i have already strawberry perl
- Attachments
-
- latexDiff.jpg (19.04 KiB) Viewed 11940 times
Re: Capabilities of "latexdiff"
it was a problem in the path and in one extension

cheers
Re: Capabilities of "latexdiff"
21did21 said that "it was a problem in the path and in one extension". Which path and which extension? How to solve this?
- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
Capabilities of "latexdiff"
welcome to the forum!
Perhaps provide complete information about your specific case. Such as files you compared by
latexdiff
. You can add attachments to forum posts for showing the files.Stefan
Re: Capabilities of "latexdiff"
I have just downloaded the StrawberryPerl that is on c:/perl and downloaded latexdiff (as explained in sharelatex[*]) that now have been copied to c:/perl/bin/latexdiff).
The two documents old.tex and new.tex compile very well separately.
latexdiff old.tex new.tex > diff.tex
creates an empty diff.tex in the folder c:/users/me/documents
Any idea why?
[*] https://www.sharelatex.com/blog/2013/02 ... ments.html
- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Capabilities of "latexdiff"
Stefan
Re: Capabilities of "latexdiff"
21did21 was right when they said there was a problem with the path: I never used the command line before so I figured out I had to go into the folder the two .tex were.
Using the "cd NameFolder" to get to where they are and from there running "latexdiff old.tex new.tex > diff.tex" all was well.
Sorry for the noob question.

- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Capabilities of "latexdiff"
Stefan