latexdiff icon indicating copy to clipboard operation
latexdiff copied to clipboard

\DIFdel do not wrap

Open jiezhangMars opened this issue 2 years ago • 6 comments

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

jiezhangMars avatar Jun 15 '22 12:06 jiezhangMars

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

jiezhangMars avatar Jun 15 '22 12:06 jiezhangMars

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.

ftilmann avatar Jun 15 '22 22:06 ftilmann

image

Same problem in mac texlive 2021

jiaqiwang969 avatar Sep 14 '22 15:09 jiaqiwang969

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

\DIFdel image

\DIFadd image

yangtzech avatar Apr 26 '23 07:04 yangtzech

image

Same problem in mac texlive 2021

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

yangtzech avatar Apr 26 '23 07:04 yangtzech