latexdiff icon indicating copy to clipboard operation
latexdiff copied to clipboard

tikzpicture and picture env issue

Open gutofarias opened this issue 4 years ago • 1 comments
trafficstars

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

  • old tex file
  • pdf old file
  • new tex file
  • pdf new file
  • diff file

latexdiff-issue.zip

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

gutofarias avatar May 15 '21 21:05 gutofarias

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

ORippler avatar Nov 10 '21 11:11 ORippler