Am 27.04.2014 um 00:15 schrieb Pablo Rodriguez <oi...@gmx.es>:

> Dear list,
> 
> I have the following sample:
> 
> \starttext
> The wiki located at
> \useURL[url1][http://wiki.contextgarden.net][][\hyphenatedurl{http://wiki.contextgarden.net}]\from[url1].
> \stoptext
> 
> This is actually ConTeXt output generated from pandoc.
> 
> 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

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to