Re: [NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
> > ​​ > \definebar[urlbar][underbar] > > \setupurl[style=\mono\urlbar,color=blue] > ​Interesting, thank you, Hans, it indeed works as expected. Could you supplement this with some explanations, i.e. why this one works compared to using plain `underbar'?​ I assume that the `color' key is overrid

Re: [NTG-context] URLs in color including underbar

2015-05-18 Thread Hans Hagen
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}},

[NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
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]%