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

learn more… | top users | synonyms

0
votes
0answers
26 views

Combining multiple files into one using subfiles [duplicate]

I have seen simple tools for accomplishing this with \input and \include, but none for using the subfiles package. What I am trying to do is have a very large software design document split into files ...
1
vote
0answers
45 views

diff against the working directory with git-latexdiff

I use git for my latex document and I want to diff against the working directory. MWE: \documentclass{article} \begin{document} a \end{document} setup git: git init; git add .; git commit -m ...
4
votes
1answer
70 views

latexdiff: exclude caption text

Is anyone aware on an option in latexdiff that lets one exclude the caption from appearing in the diff? E.g. whenever I move a figure around, latexdiff will keep the caption text at the old place, ...
1
vote
0answers
91 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 ...
4
votes
0answers
85 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 ...
1
vote
0answers
49 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 ...
0
votes
0answers
117 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: ...
1
vote
0answers
45 views

Batch file to run latexdiff [closed]

If you have experience using latexdiff, you may know that it depends on Perl and the command is latexdiff draft.tex revision.tex > diff.tex Yet, every time I need to open up a Windows cmd console ...
1
vote
1answer
232 views

latexdiff doesn't mark changes in bibliography (BibTeX)

I'm using latexdiff to show changes between versions of an article written with the achemso package, but it doesn't seem to be able to highlight changes within the bibliography (including added ...
0
votes
1answer
47 views

latexdiff does not highlight changes within \AtEndDocument

For a certain journal I have to follow this structure: Main text References Figures, one per page Extra text I've managed to accomplish that by using package endfloat that moves the figures to the ...
3
votes
1answer
249 views

Latexdiff with subfiles

Is there a way to make latexdiff work with the 'subfiles' package ? I use subfiles to include parts of the document from different .tex files. Latexdiff does not seem to mark changes in the ...
1
vote
1answer
139 views

latexdiff: changes in bibliography with BibLaTeX and Biber

latexdiff is able to highlight differences in the bibliography when the content of the bbl generated by BibTeX is included in the document. I've been trying to unsuccessfully do the same with ...
1
vote
0answers
454 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 ...
1
vote
0answers
138 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 ...
12
votes
2answers
303 views

How to create a 'summary of changes' with latexdiff

Following my previous question, I have successfully created a dif.tex file of a large, complex project, the results of which can be seen here. (This was done, in the end by updating latexdiff to the ...
11
votes
2answers
382 views

Make Latexdiff work on big, complex project

I'm making final corrections to my thesis and, as others (e.g. here and here, on this site) have mentioned, showing the changes you've made from one file to the next to supervisors/examiners is ...
3
votes
1answer
485 views

Error compiling a latexdiff PDF file

I just started trying out latexdiff for editing some papers and I am having trouble with the getting the tex output from latexdiff compile when my code includes \intertext within a \begin{align*} ...
3
votes
1answer
293 views

latexdiff and lstlisting

I was wondering if it is possible to have latexdiff ignore all lstlistings from my documents when finding diffs. Most of my listings contain special characters. That works rather nicely within an ...
3
votes
0answers
393 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 ...
2
votes
1answer
296 views

latexdiff hide the old version (the red crossed text)

My journal editor is asking for a file that highlights only additions to the document (don't ask me why). So, I don't want to see the red-crossed text (the old version or the discarded text) in the ...
1
vote
0answers
338 views

The perl interpreter could not be found [duplicate]

I am new to LaTeX and using it for my thesis. However, right now I am having trouble in using latexdiff. I did the instructions as follows: Question: How to generate latexdiff on Windows? Answer: ...
1
vote
0answers
113 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
204 views

latexdiff compiles broken file

I am using latexdiff for diffing 2 versions of a document and the file created breaks whenever there is as change to chapters, sections, subsections, etc, or when this chapters,sections are added or ...
0
votes
1answer
2k views

Installing latexdiff on a Mac

I need to install latexdiff on my Mac, but have been unable to. The simplest approach sudo port install latexdiff gives me the error sudo: port: command not found. Alternative installation ...
3
votes
2answers
5k views

Installation/usage of latexdiff on Windows 7

Description I'm new to both Perl and latexdiff. I'd like to use latexdiff to track changes between versions of my LaTeX documents. However I couldn't get it to work. I have MikTeX 2.9, and ...
0
votes
1answer
325 views

Problem executing script for latexdiff

I am a LaTeX beginner and new to Scripting. I try to implement this interesting solution for latexdiff and multiple files found in this question-answer before I begin writing my phd thesis. However ...
-2
votes
1answer
760 views

Problem regarding Latexdiff, Perl and MikTex 2.9 on Win7 [closed]

I try to implement this interesting solution for latexdiff and multiple files. There are other questions regarding missing perl scripts but I cannot relate them or their solutions to my problem (i.e. ...
3
votes
0answers
193 views

When using latexdiff, is there a way to generate a list of pages that contain changes? [closed]

I have tried redefining \DIFaddbegin et al. with todo (todonotes) or index (makeidx) calls by using the preamble below, but I'm not getting anything. %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF %DIF ...
5
votes
2answers
2k views

error “latexdiff: The Perl Script could not be found.” [duplicate]

I have MikTeX 2.9 installation and Strawberry Perl 5.10.1.5. All the latexdiff, latexdiff-fast, latexidff-so paths seem to be present in the scripts.ini file and their .exe files in the ...
4
votes
0answers
2k views

latexdiff problem in MikTex 2.8 after update: “Perl script not found” [closed]

Some days ago, I've updated my Miktex 2.8 installation (on Windows 7). However, since doing that I have problems with latexdiff (it did work before). When I run it, I get: latexdiff: the Perl script ...
2
votes
2answers
1k views

Problem using latexdiff and pdflatex with custom command

Using latexdiff I have the problem, that by adding new \section, I get the following error by trying to run pdflatex. ! Argument of \UL@word has an extra }. <inserted text> ...
4
votes
2answers
240 views

ConTeXt equivalent of latexdiff

I was just wondering if anyone knows of a ConTeXt equivalent to latexdiff? For those not familiar with latexdiff: it is a Perl script that marks up differences between 2 latex files. It is included ...
3
votes
1answer
522 views

Force latexdiff not to parse tikzpicture environments

Is it possible to force latexdiff not to parse TikZ figures? When I run latexdiff on a document where there is something like \begin{figure} \begin{tikzpicture} ... \end{tikzpicture} \end{figure} ...
10
votes
1answer
1k views

is there an option in latexdiff to ignore whole environments?

I need to highlight the difference between two rather complex math tex-files and get a lot of errors. The files are complex in the math equations, fair enough to get errors, but what if I would like ...
3
votes
1answer
354 views

latexdiff produces invalid output from changes to \multirow

A co-worker and I are hoping to start using latexdiff for tracking changes in a document he is writing and I am proofreading. I've run into a spot where latexdiff seems to be generating invalid ...
8
votes
1answer
2k views

latexdiff + svn not working with multiple files (flatten)

Short question Seems like --flatten doesn't work properly with latexdiff-vc. How can I get this working, without reverting to my elaborated workflow described below? Context I track the history of ...
5
votes
1answer
808 views

latexdiff fails on description environments

This example fails to generate a valid .tex: test.tex \documentclass[a4paper]{report} \begin{document} \begin{description} \item[thing] explanation of thing \end{description} \end{document} ...
1
vote
1answer
672 views

How to use correctly latexdiff with figures?

I did change a source of some image between new and old version of .tex files, when I run latexdiff it marks such parts like this: \DIFdelend %DIF > lamp \DIFaddbegin \begin{figure*}[t] ...
1
vote
1answer
298 views

Is it possible to have an undetermined character length argument in a macro?

I have the following macro, \def\RCS$ $#1: #2 $ ${\expandafter\def\csname RCS#1\endcsname{#2}} Which is used for revision version control, i.e, \RCS$ $Revision: 1.2 $ $ \RCS$ $Date: 2010/04/02 ...
2
votes
1answer
242 views

Can latexdiff-cvs handle RCS tags?

I would like to know if anyone has a nice way of combining latexdiff-rcs with printing actual RCS tags in their document. For example, I am using CVS to version control a latex document. My document ...
6
votes
2answers
467 views

Make latexdiff mark differences in title

I am using latexdiff for showing the difference between two latex documents, but for some reason latexdiff is not displaying differences in the title of a document. Is there a way to fix this?
4
votes
1answer
4k views

Error when trying to generate a PDF from a latexdiff document.

I used latexdiff to generate a tex document with the differences between two other tex documents. This worked fine, but when I try to generate a PDf from the diff document I always get this error: ...
7
votes
1answer
851 views

trackchanges VS latexdiff

I am trying to decide whether to choose trackchanges or latexdiff for corrections on my thesis. Can anyone tell me their views? I have had problems with latexdiff choking on equations (is there any ...
20
votes
4answers
1k views

texdiff for multi-file documents in subversion

I've been looking for a convenient way to highlight changes between subversion revisions of my Latex document in the generated PDF. I am working on a reasonably complex document that pulls together ...
4
votes
1answer
1k views

latexdiff is not working

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 ...
8
votes
3answers
2k views

Latexdiff error (caused by multi paragraph \sout): Paragraph ended before \UL@on was complete

I try to use latexdiff to point out changes I have made in a document to the other people who need to read it and give me their advice... However, I've been getting this error: Runaway argument? {En ...
14
votes
2answers
2k views

Best LaTeX-aware diff and merge tools for subversion

What's a good (or preferably, in your opinion the best) way to make subversion diff'ing and merging LaTeX-aware? I know latexdiff and latexrevision exist, but it's not clear to me how to make those ...
71
votes
6answers
9k views

Using latexdiff with git

I'd like to be able to use latexdiff with git. At the moment I have an alias in my .gitconfig file for a word-based diff: [alias] wdiff = diff --color-words but is it possible to make an alias ...
8
votes
1answer
2k views

Can latexdiff be used for mathematics documents?

I've been pulling my hair out trying to get latexdiff to work with a mathematics document. It produces output that latex can't compile if one of the files is this: \documentclass{amsart} ...