Open impact27 opened 3 years ago
You have discovered a way to fool latexdiff. In the current framework it's not that easy to fix. Can you move these definitions into the preamble? Alternatively, with --math-markup=3
it works. Thank you for your report, but the amount of effort to address this combined with it being quite an unusual setup, mean I will not address this in foreseeable future. As it's a bug I will leave the issue open, though
(in case you are suprised to get a reaction so late. I was unable to allot much time to latexdiff in the last few months; I now try try to got through the backlog of issues and prioritise them)
1- Create a file (test.tex) with:
2-
latexdiff test.tex test.tex > diff.tex
I get:
Notice the
\newcommand
lines are mixed together.