Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug when change a reference (eqref) example attached #210

Closed
ouboub opened this issue Aug 5, 2020 · 1 comment
Closed

bug when change a reference (eqref) example attached #210

ouboub opened this issue Aug 5, 2020 · 1 comment

Comments

@ouboub
Copy link

ouboub commented Aug 5, 2020

I run
latexdiff-so test2-old.tex test2.tex > diff.tex
the diff file has the old wrong reference commented out
\DIFdelbegin %DIFDELCMD < \eqref{eq:sec3-applications:1} %%%
\DIFdelend \DIFaddbegin \eqref{eq:sec3-applications:15} \DIFaddend with respect to the
I attach the files
regards
Uwe Brauer
PS, since github does not allow tex files I had to name them txt, sigh
test2.txt
test2-old.txt
diff.txt
diff.pdf

@ftilmann
Copy link
Owner

This is expected behaviour, as eqref is a special command added by amsmath package that latexdiff doesn't know about . You get the desired behaviour with the --append-safecmd=eqref option. As amsmath is fairly common, of course, I have just added that to the default list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants