git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Confusing textwrap parameters, and request for RE help


Karsten Hilbert wrote at 2020-3-24 10:34 +0100:
>On Tue, Mar 24, 2020 at 08:20:32PM +1100, Chris Angelico wrote:
> ...
>> I'm trying to figure out a way to handle URLs, and that's something
>> that has its own governing standard, so the meanings of characters
>> like hyphens is well defined.
>
>Agreed.
>
>More to the point, if anyone knows how to typographically
>properly handle this it's the TeX community. Here's a thread:
>
>	https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url

Page based output devices are more difficult: they have a fixed width.

When the result targets a screen, horizontal scrolling is possible
(even if it is not very convenient). There, preventing urls from being
split may be an option.