ftilmann / latexdiff

Compares two latex files and marks up significant differences between them. Releases on www.ctan.org and mirrors
GNU General Public License v3.0
506 stars 72 forks source link

\DIFdel do not wrap #270

Open jiezhangMars opened 2 years ago

jiezhangMars commented 2 years ago

the text in the \DIFdel cannot wrap, but that in the \DIFadd could. image

jiezhangMars commented 2 years ago

I used latexdiff in texlive2021. What if the long sentence need to wrap? image

ftilmann commented 2 years ago

This is unusual and not the behaviour seen before. I have many examples where this works fine. I have never tried in TexLive2021, though; it is possible this brought to light a bug in ulem which is the package used by default for doing the actual highlighting. Maybe other Texlive2021 user can chip in if they see the same behaviour. As a workaround I can suggest to use a different markup type (Option -t), which does not use ulem.

jiaqiwang969 commented 1 year ago

image

Same problem in mac texlive 2021

yangtzech commented 1 year ago

The same problem occurs in both texts in \DIFdel and \DIFadd in TeX Live 2022 on Ubuntu.

\DIFdel image

\DIFadd image

yangtzech commented 1 year ago

image

Same problem in mac texlive 2021

老哥你最后有解决吗? @jiaqiwang969