[NTG-context] hyphenating urls and \tex

Pablo Rodriguez oinos at gmx.es
Sun Oct 5 10:58:50 CEST 2014


Dear list,

I have the following sample:

    \setuppapersize[A7]
    \define[1]\url{\useURL[url][#1]\from[url])}
    \starttext
    \hsize\zeropoint
    \tex{thisisthelongestcommandeverseen.com}
    \url{thisisthelongesturleverseen.com}
    \stoptext

In a beta from this year a new feature was introduced that enables
hyphenation in \tex commands.

How could I replace **only for \tex** the hyphenation character with an
underscore right below the previous character?

How could these hyphenation settings be added to \setupurl _besides the
ones from \hyphenatedurl_?

Locating the underscore below the previous character has the advantage
of avoiding the wrong impression that either the TeX command or the url
contain an underscore.

Manz thanks for your help,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list