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

learn more… | top users | synonyms

0
votes
1answer
25 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
30 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 ...
1
vote
1answer
56 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 ...
0
votes
1answer
44 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 ...
0
votes
0answers
144 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
46 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 ...
10
votes
2answers
179 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 ...
9
votes
1answer
236 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
117 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
187 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 ...
2
votes
0answers
217 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
134 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
337 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
79 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
135 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
1k 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 ...
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 ...
0
votes
1answer
249 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
579 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
143 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
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 ...
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
707 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
223 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
373 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} ...
9
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
291 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 ...
4
votes
1answer
637 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
527 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
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 ...
2
votes
1answer
233 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 ...
5
votes
2answers
425 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
3k 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
793 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 ...
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 ...
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 ...
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 ...
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} ...