bug-texinfo
[Top][All Lists]
Advanced

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

Re: overfull lines with @url in @raggedright


From: Werner LEMBERG
Subject: Re: overfull lines with @url in @raggedright
Date: Tue, 24 Jul 2018 10:28:59 +0200 (CEST)

>>> texinfo.tex is supposed to allow breaking at some characters but
>>> not the hyphen.  I think breaking at "/" would be sufficient in
>>> the example you give.  The problem is how to achieve this.
> 
> I was thinking something like \hfil\allowbreak\hskip 0pt plus -1fil
> to allow a break at particular characters wherever they occur in the
> line with the rest of the line being filled up with empty space, but
> this probably wouldn't look very good in some cases. (Maybe
> \discretionary{}{}{} instead of \allowbreak if breaking a URL is to
> be thought of as "hyphenation".)

Let's see what you are coming up with :-)

> [...] maybe something like "@urefbreakhyphen true" and
> "@urefbreakhyphen false" is more consistent with existing Texinfo
> commands.

This is fine with me.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]