Closed smihael closed 2 years ago
I face the same bug with the gather
environment (instead of eqnarray), and the version 1.3.1.1 of latexdiff.
This issue has been fixed with commit 12ddc9e660fca68b8ab45fc4a074f66d81576be1 and will be available in versions 1.3.3 and higher
Changes in eqnarray environments are changed to align* environments when diffed.
old.tex:
new.tex:
Generated diff of the eqnarray environment:
The generated code won't compile with error "Package amsmath Error: Multiple \label's: label 'eq:a' will be lost. }\end{align}" My current workaround is to manually replace all occurrences of align back to eqnarray.
I'm using LATEXDIFF 1.3.0 (Algorithm::Diff 1.15 fast, Perl v5.30.0) shipped with KDE neon (Ubuntu 18.04 derivative).