[NTG-context] URLs in color including underbar

Alexander Shukaev haroogan at gmail.com
Sun May 17 20:07:20 CEST 2015


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
underbar?  Thanks.

Kind regards,
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150517/7d79a857/attachment.html>


More information about the ntg-context mailing list