[NTG-context] \tt in \hyphenatedurl?

Pablo Rodriguez oinos at gmx.es
Mon Apr 28 21:30:05 CEST 2014


On 04/27/2014 09:04 PM, Wolfgang Schuster wrote:
> Am 27.04.2014 um 00:15 schrieb Pablo Rodriguez:
> 
>> Is there any way to have \hyphenatedrul with \tt and *without* editing
>> the text itself? (Since this is automatically generated output, it makes
>> no sense having to edit it.)
> 
> When you omit the fourth argument for \useurl you can change the
> style and color for the url with the \setupurl command, it would even
> be split at page breaks because context already uses the
> \hyphenatedurl command in this case.
> 
> \setupurl[style=mono,color=red]
> 
> \starttext
> The wiki located at \useURL[url1][http://wiki.contextgarden.net]\from[url1].
> \stoptext

Many thanks for your help, Wolfgang.


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


More information about the ntg-context mailing list