ftilmann / latexdiff

Compares two latex files and marks up significant differences between them. Releases on www.ctan.org and mirrors
GNU General Public License v3.0
513 stars 72 forks source link

tikzpicture and picture env issue #232

Open gutofarias opened 3 years ago

gutofarias commented 3 years ago

Hello,

How are you?

I've been running into an issue with the picture env (at least I think). I have a tikzpicture that end-up having a new command \PICTUREBLOCKtikzpicture added to the diff file. This commands causes the compilation to fail. This happens even if I don't even change the content of the tikzpicture.

I would be very happy if you could help-me. I'm sending the following files in a zip file

latexdiff-issue.zip

I narrowed down the file to have very few stuff, but kept the preamble intact.

ORippler commented 2 years ago

What is your preamble ? And what was your latexdiff version ?

I could reproduce the error with

$ /usr/bin/latexdiff --version
This is LATEXDIFF 1.2.1  (Algorithm::Diff 1.15 fast, Perl v5.26.1)
  (c) 2004-2017 F J Tilmann

but failed to to so with

$ latexdiff --version
This is LATEXDIFF 1.3.1.1 (Algorithm::Diff 1.15 so, Perl v5.32.1)
  (c) 2004-2020 F J Tilmann

Command was run as

latexdiff old-artigo-fl.tex new-artigo-fl.tex > tmp.tex