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

\DIFdel do not wrap #270

Open
jiezhangMars opened this issue Jun 15, 2022 · 6 comments
Open

\DIFdel do not wrap #270

jiezhangMars opened this issue Jun 15, 2022 · 6 comments
Labels
On hold Waiting for more input from reporter

Comments

@jiezhangMars
Copy link

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

@jiezhangMars jiezhangMars changed the title \DIFdel don \DIFdel do not wrap Jun 15, 2022
@jiezhangMars
Copy link
Author

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

@ftilmann
Copy link
Owner

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
Copy link

image

Same problem in mac texlive 2021

@yangtzech
Copy link

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

\DIFdel
image

\DIFadd
image

@yangtzech
Copy link

image

Same problem in mac texlive 2021

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

This was referenced Mar 18, 2024
@ftilmann
Copy link
Owner

Not sure if OR is still watching this, but to make any progress I would need an MWE (minimum working example) that shows this effect, i.e., the full latex files, old and new, needed to recreate that effect (and ideally stripped of everything else), preferably in English. As I don't see this effect I suspect some interference between ulem and other packages included. Maybe using lualatex with LUAUNDERLINE option (which was added since this post made) already solves the problem.

@ftilmann ftilmann added the On hold Waiting for more input from reporter label Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On hold Waiting for more input from reporter
Projects
None yet
Development

No branches or pull requests

4 participants