On 2013–10–08 Hans Hagen wrote:
> >\hyphenateurl{} works only when setupalign[] is set to hyphenated.
> >
> >Is there a way to hyphenate only URLs?
>
> You need to provide a few more options to \setupalign:Why? > \appendtoks\tttf\to\everyhyphenatedurl % maybe we need a proper setup Isn't that what \url is for? It has a setup command and uses \hyphenatedurl. > \setupalign[nothyphenated,stretch,tolerant] This does not only change how URLs are typeset, but it also affects the main text, which might not be desirable. > […] I don't see a single hyphenated URL in your result. The OP failing to provide a minimal example, let me provide my interpretation of the problem: \useurl [somelink] [http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw&_r=0] \setupalign [nothyphenated] \starttext \url [somelink] \input knuth \stoptext I don't know how to start and stop hyphenation within a paragraph. Allowing hyphenation for the entire paragraph is easy. Marco
signature.asc
Description: Digital signature
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
