[NTG-context] URLs in color including underbar
Hans Hagen
pragma at wxs.nl
Mon May 18 11:32:33 CEST 2015
On 5/17/2015 8:07 PM, Alexander Shukaev wrote:
> Hello,
>
> So far I came up with the following solution:
>
> \setupurl[
> style={\mono\underbar},
> color={blue},
> ]
>
> \def
> \url{%
> \dosingleargument
> \dourl
> }
>
> \def
> \dourl[#1]{%
> \begingroup
> \setupbar[%
> style={\urlparameter{style}},
> color={\urlparameter{color}},
> ]%
> \from[#1]%
> \endgroup
> }
>
> Is there a more natural way to make URLs appear in blue color including
maybe just:
\definebar[urlbar][underbar]
\setupurl[style=\mono\urlbar,color=blue]
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list