When I run latexdiff-vc --pdf old.tex new.tex on this, latexdiff-vc flips the closing
\end{align}
\end{gather}
into
\end{gather}
\end{align}
This results in a couple of errors as mentioned in the subject line. Now the strange part. The issue is in eq 1. But, if I delete eq 2 and/or 3, it'll disappear. Also, if I change eq 3 in such a way that it doesn't have the frac (e.g. a-b=0), it'll disappear.
Lastly, although the end statements are flipped in diff.tex, just pressing return through the errors compiles diff.pdf, and the pdf looks fine to me.
Below is a very minimal latex file which can be used as both old and new, or you can make a small change in the text change.
When I run
latexdiff-vc --pdf old.tex new.tex
on this,latexdiff-vc
flips the closinginto
This results in a couple of errors as mentioned in the subject line. Now the strange part. The issue is in eq 1. But, if I delete eq 2 and/or 3, it'll disappear. Also, if I change eq 3 in such a way that it doesn't have the frac (e.g.
a-b=0
), it'll disappear.Lastly, although the end statements are flipped in diff.tex, just pressing
return
through the errors compiles diff.pdf, and the pdf looks fine to me.