[tex4ht] [bug #301] problem breaking URL when using tex4ht only

Karl Berry karl at freefriends.org
Sun May 8 23:44:28 CEST 2016

Follow-up Comment #1, bug #301 (project tex4ht):

line breaking in html is and should be up to the browser, not us, as far as i
understand it. line breaks in text are obviously not the same, in or out of
tables, and there's no reason for urls to break the same way either.

i don't know how to control browser behavior wrt breaking at underscores (in
or out of urls).

personally, i despite browsers' newfangled behavior of breaking at hyphens,
inside or outside of urls, and wish i could turn it off forever. so i myself
am happy that it doesn't break at _'s. :)

i don't know if eitan attempted to make the various sophisticated controls in
url.sty for breaking at urls have any effect in html. i can't imagine how to
replicate the url.sty algorithms in html, even if one wanted to.

the workaround that comes to mind, such as it is, would be to typeset the url
in two pieces and force a line break between them.  they could both be \href'd
to the full url, maybe.



Reply to this item at:


  Message sent via/by Puszcza

More information about the tex4ht mailing list