I am attempting to read my student's LaTeX file and leave suggestion/corrections. This is for Win7 and a file of about 100 pages. At a minimum I expect to compare two files and/or show changes with a different color. Which TeX editors are most suitable for this task?
4 Answers
Well emacs of course:-) (M-x ediff to show diffs)

- 757,742
-
4
-
1
-
@PauloCereda Not sure why you say "Boo" ? I thought you were a big fan of the font. – David Carlisle Apr 03 '14 at 10:08
-
There's a tool called latexdiff which highlights differences between 2 tex files. You call it this way:
latexdiff [ OPTIONS ] old.tex new.tex > diff.tex
And then you run pdflatex on diff.tex and you will get a new pdf file which highlights changes in the document (quite similar to the review option in MS Word).
Later edit: If you wish to compare source files (e.g. .tex) then any decent version control software (git, svn etc) provides a diff tool for this purpose.
- 3,093
As of two days ago the online TeX editor ShareLaTeX has added change tracking to its features. Especially nice is that since it is online and requires you to have an account, it will automatically identify the user who enters the comment.
Here is a link to their blog post explaining the new feature.
It does have some limitations, though. See the big IDE list question for some more info.
-
I haven't tried very long files (more than 30-40 page PDF), though, so can't say how compilation times would be impacted if the thesis was all a single .tex. Hopefully, though, it isn't just one long .tex file. – Dennis Apr 02 '14 at 20:53
Another editor is Sublime Text where you can set up LaTeX compilation fairly easy with packages LaTeXTools or LaTeXing and have diff functionality in a variety of ways with
- Glue A package allowing to access your OS console, so you directly run commands like
svn diff. - FileDiffs A package allowing to diff different files or sections of files.
Also, there are a lot of packages for integration of version control like svn and git a simple search in the package control repository can unravel a lot of them though I have not personally tried.
meld. For leaving notes in documents, you may like packagetodonotes. – Raphael Apr 03 '14 at 06:29