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

Re: New charsets (7) manpage



> Another thing to note: "<http://www.unicode.com>" needs some protection
> to avoid (wrong) hyhenation: Adding "-" to URLs is not an option; just
> to break the string a dots is considered tolerable; exapmle: <http://www.
> unicode.com>

With groff 1.17 or newer you can say

  http://\:\%www.\:\%unicode.\:\%org

`\:' gives a zero-width break point (this only exists in groff), `\%'
prevents hyphenation of the next word.

BTW, I'v seen the following breaks in some recent American magazines:

    http://www.unicode
    .org

At first it looks disgusting, but after some thinking I believe it is
not a bad idea.  A leading dot never occurs in normal text, so it
emphasizes that the URL is not yet completed and continued on the next
line.


    Werner



Reply to: