-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
Description
Using latexrevise 1.3.2 and latexdiff 1.3.3 gives some weird behaviours in the presence of \cite{} commands.
I believe latexrevise simply removes all rows where %DIFAUXCMD appears.
Very minimal example:
test-old.tex
aaa ccc
test-new.tex
aaa \cite{ddd} ccc
latexdiff test-old.tex test-new.tex > test-diff.tex produces test-diff.tex
aaa \DIFaddbegin \DIFadd{\mbox{%DIFAUXCMD
\cite{ddd} }\hskip0pt%DIFAUXCMD
}\DIFaddend ccc
latexrevise -a test-diff.tex outputs only ccc as if the rows with %DIFAUXCMD were simply deleted.
Manually changing the diff file by adding a new line after aaa makes latexrevise output
aaa
ccc
P.S: adding a preamble to the tex files so that they compile doesn't change the behaviour.