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

learn more… | top users | synonyms

63
votes
6answers
7k 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 ...
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 ...
12
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 ...
9
votes
1answer
979 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 ...
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 ...
0
votes
1answer
247 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 ...
3
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 ...
9
votes
1answer
229 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 ...
8
votes
1answer
1k 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} ...
2
votes
2answers
3k 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 ...
7
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 ...
5
votes
2answers
1k 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 ...
3
votes
1answer
179 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
140 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 ...
2
votes
1answer
232 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 ...
1
vote
1answer
264 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 ...