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?
Well emacs of course:-) (M-x ediff to show diffs)
4Emacs. Of course.– mborkApr 2, 2014 at 15:42
1Boo! ❤ But I upvoted it.
:)Apr 3, 2014 at 10:06
@PauloCereda Not sure why you say "Boo" ? I thought you were a big fan of the font. Apr 3, 2014 at 10:08
@David: Comic Sans? Of course.
:)Apr 3, 2014 at 10:10
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
diff.tex and you will get a new
Later edit: If you wish to compare source files (e.g.
.tex) then any decent version control software (
svn etc) provides a
diff tool for this purpose.
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.– DennisApr 2, 2014 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
- 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
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 package