I am using latexdiff to compare two tex files. In some places I have new figures and latexdiff puts its comments inside the includegraphics command and then the diffed file won't compile.


\includegraphics[ width=0.7\columnwidth,keepaspectratio] {\DIFaddFL{Figures/I3D_MBU.pdf}}

How can I include images in the diff?

  • I have edited your question to (hopefully!) make it a little more clear. Please feel free to edit it yourself if you feel I've messed something up. Welcome to TeX.SX! – darthbith Jan 15 '15 at 19:52

Remove the space between the optional and filename argument in both old and new file (preferred solution)

Or use option --allow-spaces ; this can have some undesired side-effects, though.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.