[NTG-context] hyphenatedurl (WHY?)

Hans Hagen pragma at wxs.nl
Fri Jul 11 23:46:16 CEST 2008

Jesse Alama wrote:
> Steffen Wolfrum <context at st.estfiles.de> writes:
>> God bless the command \hyphenatedurl{...} !
>> Only, I am wondering why it starts a new line not *after* but *before*  
>> the slash, dot or whatever there is to structure a long url.
>> Is this an english/dutch convention, completely different than  
>> paragraph wrapping? Or is it common usus, just me never noticed it  
>> outside ConTeXt??
> I can't speak for Dutch conventions, but here are some rules concerning
> URL's according to the Chicago Manual of Style, 15th edition:
>   "Where it is necessary to break a URL or an e-mail address, no hyphens
>   should be used.  The break should be made between elements, after a
>   colon, a slash, a double slash, or the symbol @ but before a period or
>   any other punctuation or symbols.  To avoid confusion, a URL that
>   contains a hyphen should never be broken at the hyphen.  If a
>   particularly long element must be broken to avoid a seriously loose
>   line, it should be broken between syllables according to the
>   guidelines offered above." (7.44, p. 298)

the hyphen is a funny rule ... if an url is not to be hyphenated but 
just broken, than a hyphen is just a hyphen (anyway, context will not 
add a hyphen)

> to country), though I would be surprised if it varied all that much,
> since URL's are a fairly new typographical entity.

just in case one didn't notice ... acrobat interprets the text stream 
and makes url's active (unless this is disabled)


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the ntg-context mailing list