latexdiff is a Perl script which compares two LaTeX files and marks up significant differences between them.

learn more… | top users | synonyms

5
votes
0answers
1k views

Using Latexdiff math-markup for not comparing equations

I am using Latexdiff to compare 2 Latex files. I can do it successfully for text but it gives me problem with equations which I have a lot. I do not want to compare the equations. If I understand ...
4
votes
0answers
210 views

Latexdiff “fixes” and config files

Latexdiff, while overall very useful, sometimes requires manual fixes to its configuration variables and default options; for instance, excluding the tikzpicture environment from the diff algorithm ...
3
votes
0answers
53 views

latexdiff Producing Error with Simple Tabular

I ran across an error using latexdiff that I have reduced to the following MWE. Given before and after files... \documentclass{article} \begin{document} \thispagestyle{empty} \begin{tabular}{ll} A &...
3
votes
0answers
184 views

How does the latexrevise command actually work?

I am following the example given in the documentation of latexdiff. I run the following code and get a third latex file with the changes. latexdiff example-draft.tex example-rev.tex > example-...
2
votes
0answers
376 views

Using latexdiff with TortoiseHg

I am using TortoiseHg to track my Thesis document, and latexdiff to track differences in the document. To avoid saving the previous versions, I would like to combine latexdiff with tortoise (...
2
votes
0answers
63 views

latexdiff: marking whole block as changed

When I rewrite a paragraph (but keeping a few sentences or equations the same) I would like to mark the whole block as changed so it appears in the diff as one whole block in strike-through-red and ...
2
votes
0answers
165 views

Latexdiff figure

it is the first time that I use latexdiff. I am comparing two files, old.tex and new.tex. In the old.tex, I have "figure_old.eps". In the new.tex, I have used a different figure "figure_new.eps". In ...
2
votes
0answers
108 views

How to export changes from a .tex file back to the source .Rnw file

Let's say my work-flow is writing a paper with multiple R chunks as a .Rnw then compiling it into a .tex file and then typesetting it into the final document. Now, after the document has been ...
1
vote
0answers
7 views

latexdiff for IEEE trans using texstudio

Trying to use latexdiff for an IEEE paper, I got lots of errors for compiling it using Pdflatex. Any idea why? what is the best configuration of latexdiff. Note that the original documents was ...
1
vote
0answers
24 views

git-latexdiff and relative imports on linux

I have a paper which is basically structured in a directory this way: mypaper/ main.tex sections/ intro.tex methods.tex conclusions.tex img/ img1.png ...
1
vote
0answers
43 views

Error when combining biblatex, hyperref and latexdiff

I've stumbled upon a weird incompatibility between the hyperref and biblatex packages and latexdiff. If there is an added citation with more authors than the biblatex maxcitenames parameter, then I ...
1
vote
0answers
93 views

latexdiff: Ignore inserted commands

I am working on quite large documents and want to visualize the differences of different versions using latexdiff. My old document did not use a fancy glossary, while the new one does. Now, latexdiff ...
1
vote
0answers
216 views

Latexdiff not working in Windows (Unescaped left brace in regex)

Because the miktex repo is down today, I tried installed the latexdiff package manually. I am using windows 10 by the way. Here are the steps I followed. Installed strawberry perl from http://...
1
vote
0answers
174 views

Failure After Using Latexdiff Script: latexdiff marking up lstlisting environment

After running a script to use latexdiff on a multiple input latex file I am left with a diff.tex file that is generating the following error: ./diff.tex:7009: LaTeX Error: \begin{description} on ...
1
vote
0answers
283 views

Problem in LaTeXDiff

When i tried to to see Changes for the below text using latexdiff its not giving the correct result Eg: exciting and bold new book -> Orignal file excitig and bod new bok -> Modified file ...
1
vote
0answers
3k views

Using latexdiff in MiKTeX

I am trying to use latexdiff to compare two .tex files, producing a .pdf with a markup similar to the "track changes" function in Microsoft Word (see https://www.sharelatex.com/blog/2013/02/16/using-...
1
vote
0answers
276 views

latexdiff: Bad math environment delimiter

I have an error trying to compile a very simple latexdiff file: \documentclass{article} %DIF 51a51 %DIF > %DIF ------- \newcommand{\diffblock}[1]{#1} %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF %...
1
vote
0answers
201 views

How to have latexdiff ignore specific line of text?

I have a certain piece of latex code that is giving me problems with compilation after I did a latexdiff. ... \LTcapwidth=\textwidth \begin{landscape} \begin{table} ... Gives me a diff file ...
0
votes
0answers
11 views

texdiff summary statistics

I have old chapter .tex files that I have edited over months, and now I want to get metrics of how much I have changed the files. One option is texdiff, followed by a grep on DIF. How to create a &#...
0
votes
0answers
58 views

latexdiff got compilation error

I got this error when compiling a tex file generated by latexdiff Underfull \hbox (badness 6364) in paragraph at lines 187--199 | [] | [] | [] | [] | [] | [] | [] Runaway ...
0
votes
0answers
43 views

all citations are missing in latexdiff

I have used latexdiff to generate a newDiff.tex and then compiled it with the normall pdflatex-bibtex and then twice pdflatex, but I received many warnings for the each citations and the output pdf is ...
0
votes
0answers
222 views

Running latexdiff on mac os x 10.8.5

MacTex should contain already latexdiff but when I type "latexdiff" I have "latexdiff: Command not found". Also, if I type "which latexdiff" I have "latexdiff: Command not found". I've just installed ...
0
votes
0answers
193 views

Using latexdiff with IEEEeqnarray environment

Note: I asked this question on Stackoverflow a month ago, but I'm deleting it and re-posting it here because I got no answers there. I recently discovered latexdiff, and it has generally been a ...
0
votes
0answers
375 views

latexdiff error

I am pretty new in using latexdiff. Now trying to use it but continuously getting error from one of my equations. The following is the equation that I removed in the revised version: \begin{equation}\...