I am using latexdiff to generate a PDF diff of two versions of a document.
I am using overleaf with latexdiff according to this answer. I.e., with a latexmkrc file containing
$pdflatex = "latexdiff main_old.tex main.tex > main-d.tex; pdflatex %O main-d"
Though, if necessary I could switch to editing the document locally.
The document contains a lot of equations. Some equations have been deleted in the first few sections of the document, in which case they display as
But for my use case (responding to peer review) it would be useful to display the old equation numbers
for referencing the equations that have been deleted.
Also, more importantly, the numbering of the equations in main.tex differs from main_old.tex. It would be useful to display the equations as follows. If for example, in the previous version, a specific equation was number 5 but now it is number 3, I would like to display this as:
Is this somehow possible? Or is there a reason why it would not be?


