ho-tex / soul

LaTeX package "soul" for letterspacing, underlining, striking out and other evil things
LaTeX Project Public License v1.3c
5 stars 1 forks source link

Soul sets page number to zero when highlighted text has more than 2 paragraphs and crosses pages #4

Closed xexeo closed 1 year ago

xexeo commented 2 years ago

Hi,

Soul sets page number to zero when highlighted text has more than 2 paragraphs and crosses pages.

It does not reset if one single paragraph cross pages.

I included a minimal example and a pdf showing the problem. I needed 3 pages to correctly show the bug.

soulbug.zip soulbug.pdf

I am using soul in coop-writing, recently added in CTAN. It was very practical, but a user found the bug and complained to me, and I traced it to the \hl command.

Thanks for your help.

u-fischer commented 2 years ago

Side remark: Your document doesn't compile due to the non-ascii chars, it would need soulutf8.

But beside this: the situation is a bit complicated. This here is not the github for soul but for soulutf8, an extension to support utf8. Your issue has already been reported in the original github for soul https://github.com/drehscheibe/soul/issues/2, and so how to fix it is known.

We are considering to merge soul and soulutf8 (https://github.com/drehscheibe/soul/issues/4) and then both packages would get the fix.

xexeo commented 2 years ago

The bug happens in both soul and soulutf8, but it seems to me that there is no problem in using soul in LuaLaTeX with UTF8, as I´ve been doing it.

u-fischer commented 1 year ago

The problem has been resolve in version 3.0. so I'm closing this.