Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [latexdiff]

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

0
votes
0answers
30 views

latexdiff does not work with the diagrams package

Here is a MWE showing a problem with using latexdiff with the diagrams package (for commutative diagrams). How can I fix this? new.tex: \documentclass{article} \usepackage{diagrams} \begin{...
2
votes
1answer
39 views

latexdiff don't work in table with \scalebox

When revise my manuscript, I found latexdiff can't label changes in tables. For example, there are two tex files before and after revision: Before revision \documentclass{article} \usepackage{...
0
votes
0answers
171 views

latexdiff error: The system cannot find the file specified

After an apparently mandatory Windows update screwed up my PATH variables and Controlled Folder Access, I took great pains to reconfigure (and even reinstall) MikTeX 2.9 so that the usual routines ...
0
votes
1answer
59 views

How to highlight deleted text in the PDF output generated by compiling latexdiff

For the purposes of showing corrections to a PhD thesis, I am using latexdiff to produce a PDF showing the difference between the original and the new version. My examiner has requested me to not ...
0
votes
1answer
49 views

Gibberish string prepended to deleted text in the PDF obtained by compiling 'diff' file generated by latexdiff

I am using latexdiff for marking up corrections requested by the examiners to my PhD thesis. I have a strange issue with this. Upon compiling the diff.tex file, I get a specific string 4.0pt=-.55ex ...
2
votes
1answer
75 views

some tex files use a % before footnote?

I simply can't understand the difference: in some of my tex files I see something like this: some text with a footnote\footnote{some footnote} while in other files i see: some text with a footnote% ...
0
votes
0answers
96 views

Latexdiff output error

I am comparing two latex files using latexdiff. It doesn't compile due to the following error: ! Missing $ inserted.$ \DIFdel{x^ = arg\min_{x\in \mathcal{D}_u} } How to solve this issue?
4
votes
0answers
81 views

Typesetting an accessibility friendly diff-metric for changes per paragraph between two TeX documents

I am peer-reviewing a dispute in authorship order between two parties in our research group for a co-authored manuscript. I suggested them to use the excellent latexdiff.pl to compare their ...
1
vote
0answers
63 views

Document with tracking and without tracking

I have created the latex paper for the submission in IEEE letters. The letter is two column single space. In order to submit the revision i need to make three documents: a) single-column double-space ...
2
votes
0answers
100 views

“not a valid pathspec” wit git-latexdiff

Do anyone know what's wrong here? $ git-latexdiff --main main.tex master other-branch /usr/bin/latexpand fatal: empty string is not a valid pathspec. please use . instead if you meant to match all ...
2
votes
0answers
31 views

latexdiff for single character

I have a document in which many words are corrected in terms of inflection from an original one. Normally, latexdiff shows the strike and correction for entire word, which makes the difference ...
0
votes
0answers
118 views

latexdiff trips over hskip

I have a bibliography of a document in a style that produces lines like these in the bbl file: .\hskip 1em plus 0.5em minus 0.4em\relax Springer When using latexdiff on documents where one of these ...
2
votes
0answers
49 views

Is there any way to strike superscripted references properly with latexdiff?

I am using latexdiff to keep track of changes in my LaTeX documents. Superscripted references are striked on the same level as normal text, making them appear underlined. I want to get rid of this ...
1
vote
1answer
172 views

latexdiff: how to keep the original colored text in the diff.tex version?

I have a latex documents which contains text in color. When I run latexdiff old.tex new.tex > diff.tex the diff.tex version do not contains the colors anymore. How can I keep the original color ...
0
votes
0answers
73 views

How to choose the options in latexdiff (MacTex)?

I use latexdiff in MacTex, and this is the command: latexdiff [options] old.tex new.tex > diff.tex I don't know which option can make the differ revision more beautiful. Thanks!
1
vote
0answers
376 views

latexdiff in linuxmint Unescaped left brace in regex is deprecated, passed through in regex;

I have linuxmint OS, am a relatively new linux user, and I have found that multiple people have had this problem with latexdiff but I cannot figure out how to solve this and have spent a lot of time ...
1
vote
1answer
262 views

latexdiff file not found on include figure.tikz

I am running latexdiff --flatten main.tex main.tex > new.tex to produce a document with all the input, include and subfile LaTeX files included. The goal is to then do the same with an older ...
0
votes
3answers
4k views

MacTex problem - 'pdflatex does not exist' error

I had a version of MacTex 2014. I needed to use latexdiff but this latter command did not work on a terminal. So I installed latexdiff as a package from CTAN, by using its make file. After this ...
1
vote
1answer
457 views

What output encoding does `latexdiff` use?

I'm trying to use latexdiff on two versions of a document. These are encoded in UTF8 and have the \usepackage[utf8]{inputenc} statement as first line within the preamble. I processed the files then ...
2
votes
1answer
72 views

How can I include the section number of a deleted section in the deletion formatting applied by latexdiff?

I have a document marked up by latexdiff and then edited to make it compile. The current output for a deleted section is similar to this: How can I include the section number in the deletion markup? ...
1
vote
0answers
284 views

How do I use latexdiff with MikTex without Perl given repository problem?

The CTAN latexdiff page states that latexdiff is contained within miktex. Trying to install it using MiKTeX Package Manager (Admin) as suggested January 14th, I instead encounter an error (is it a ...
0
votes
1answer
539 views

How to use Latexdiff with TexLive

I am trying to use latexdiff to compare two tex documents on my pc. I use TexLive to compile my latex documents. I know the latexdiff package is already installed with under C:\texlive\2016\bin\win32 ...
1
vote
1answer
145 views

Is latexdiff-vc -r inclusive or exclusive?

I often use latexdiff-vc -r <rev> but I always wondered if <rev> is inclusive or exclusive.
0
votes
1answer
307 views

force latexdiff to ignore small changes and only consider the blocks larger than a size

I am using latexdiff to highlight the changes between two tex files. It can find and highlight the added/deleted parts. But I want it to only show the large blocks of texts, and not the minor changes:...
0
votes
1answer
698 views

Encoding problem with latexdiff

After discovering latexdiff, I wanted to give it a try and promptly ran into what seems to be an enconding issue. Consider these two very simple example files (without special characters): \...
1
vote
1answer
197 views

Lualatex, changebar and latexdiff: no changebars visible

Compiling following latex file with lualatex (0.95) does not show any changebars \documentclass{article} \usepackage{changebar} \usepackage{lipsum} \begin{document} \begin{changebar}[1mm] \lipsum[...
1
vote
1answer
213 views

Compiling the latexdiff when adding a subscript before a pmatrix environment causes compilation error

Consider the following two simple .tex files: test_old.tex: \documentclass{article} \usepackage{amsmath} \begin{document} $a \begin{pmatrix}a & b\end{pmatrix}$ \end{document} and test_new....
1
vote
0answers
187 views

pgfplotstabletypeset not opening csv file when using latexdiff

When I generate a document with the code below (data file copied at the bottom), my table is correctly imported. If I change a word in, for example the caption, and do a diff of the two files using ...
1
vote
1answer
77 views

latexdiff and \let

I added this line to my document to redefine l@chapter later: \let\oldlchapter\l@chapter Now latexdiff creates this, which doesn't compile: \let\oldlchapter\DIFadd{\l@chapter } What can I do to ...
1
vote
2answers
524 views

Latexdiff error on changing chapter title

When I try to compile latexdiff output on two documents where the title of a chapter was changed, I get the following error: ! Missing number, treated as zero. <to be read again> \protect l.1 ...
2
votes
1answer
503 views

texdiff on plain tex files

I have two TeX files that I need to compare, and I thought texdiff could do this for me. Unfortunately, in the manual page, it reads For texdiff to work, the following LaTeX code must be inserted ...
1
vote
0answers
49 views

Why does a colored line break wrapped in curly spaces take up space?

I have noticed a weird vertical spacing issue when combining \color with an enumerate environment. Basically, it seems that {(line break)} takes up different amounts of horizontal space depending on ...
2
votes
1answer
256 views

Completely hide deletions in latexdiff

I usually try to use latexdiff in a way that the diff result looks exactly as the revised document, just with colored highlights. But this does not always work, for example, when I merge paragraphs. ...
1
vote
1answer
148 views

Which command do I need to \protect to make latexdiff work?

I have used the answer from Access the original label in cleveref's \crefformat to access the label of a cleveref reference. This worked fine until I through latexdiff into the game. Now, my ...
1
vote
0answers
91 views

Ignoring glossary commands for latexdiff

I am in the process of rewriting a big file, where I need to produce the diff file of the new file with respect to the older version. Owing to the large number of symbols, I find it is good to have a ...
1
vote
1answer
86 views

latexdiff and not showing changes with eurosym

I use latexdiff and it works great, apart from currency values for which I use the eurosym package. If I have a document mwe_a.tex \documentclass{article} \usepackage{mwe} \usepackage[right]{eurosym}...
0
votes
1answer
74 views

latexdiff problems with SCfigure

When I use latexdiff on documents with SCfigures that have changed slightly, for example in size, they appear twice such that the caption has no space and messes up the formatting. For figures this ...
2
votes
2answers
182 views

Clash between latexdiff and endfloat

When I posted the original question I hadn't yet found the origin of the clash, which turned to be caused by \endfloat. Original question I just started to use latexdiff since I realized it could ...
0
votes
1answer
366 views

latexdiff is changing the codification

When I run latexdiff it changes the codification of my TEX files from utf8 to ISO (I can see at the bottom of Texstudio) And replaces the characters with accents (á,é,í,ó,ú) by things like (ía, ó,...
1
vote
0answers
200 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 ...
4
votes
2answers
1k views

Customizing latexdiff default (UNDERLINE) output styling

I'm using latexdiff to highlight the differences between two versions of a tex document, using the default style which is UNDERLINE. This style formats added text in blue with a wavy underline, and ...
4
votes
0answers
2k views

latexdiff Producing Error with Simple Tabular [closed]

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
1answer
231 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 ...
3
votes
0answers
327 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
867 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 ...
4
votes
0answers
739 views

all citations are missing in latexdiff [closed]

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 ...
1
vote
0answers
902 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://...
7
votes
1answer
497 views

Latexdiff support for Lyx

As a regular LyX-user i'd love to know if there exists some back-end to latexdiff available for Lyx. Currently i'm using the following bash commands to get what I want. new=MyFileName old=...
1
vote
1answer
507 views

latexdiff incompatible with half brackets

I recently encountered some problem using latexdiff when the tex file contains matched half brackets like \left(\. or \.\right). For example, I have two files, one is test-old.tex, \documentclass{...
1
vote
1answer
213 views

Error in building pdf from Latex file created by latexdiff [closed]

I am using latexdiff to highlight changes in latex files. I made the latex file using latexdiff. When I want to build the PDF file, I get many errors like: Paragraph ended before \caption@...