Re: [NTG-context] Color property of \setupurl

2022-08-20 Thread Wolfgang Schuster via ntg-context

Max Chernoff via ntg-context schrieb am 20.08.2022 um 08:41:

Hi,


Could someone clarify me in what kind of context the color of a
hyperlink is controlled by the "color" property of \setupurl?

This code:

\show\setupurl
\showthe\everysetupurl

produces:


> \setupurl=frozen protected macro: [#1]->\ifarguments \or 
\mult_interfaces_get_parameters \??url [#1]\fi \the \everysetupurl
>

so \setupurl doesn't appear to do anything at all. I suspect that it is an

old MkII relic, and can be safely ignored.


The command has an effect as can be seen below, \from is only affected 
when you omit the fourth argument of \useurl.


\useurl [contextwiki] [https://wiki.contextgarden.net/Main_Page] [] 
[\CONTEXT\ Wiki]

%\useurl [ctan]    [https://ctan.org/]    [] [CTAN]
\useurl [ctan]    [https://ctan.org/]

\starttext

\url[contextwiki]

\start \setupurl[style=italic]
\url[contextwiki]
\stop

\start \setupurl[color=red]
\url[contextwiki]
\stop

\blank

\from[ctan]

\start \setupurl[style=italic]
\from[ctan]
\stop

\start \setupurl[color=red]
\from[ctan]
\stop

\stoptext

Wolfgang

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Color property of \setupurl

2022-08-20 Thread Max Chernoff via ntg-context
Hi,

> Could someone clarify me in what kind of context the color of a 
> hyperlink is controlled by the "color" property of \setupurl?

This code:

   \show\setupurl
   \showthe\everysetupurl
   
produces:

   > \setupurl=frozen protected macro: [#1]->\ifarguments \or 
\mult_interfaces_get_parameters \??url [#1]\fi \the \everysetupurl 
   > 
   
so \setupurl doesn't appear to do anything at all. I suspect that it is an
old MkII relic, and can be safely ignored.

-- Max
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Color property of \setupurl

2022-08-19 Thread Joaquín Ataz López via ntg-context

Good morning everyone.

I have been doing some tests on the "color" property of 
\setupinteraction and the "color" property of \setupurl and my feeling 
is that the color of the hyperlinks is always controlled by 
\setupinteraction.


Could someone clarify me in what kind of context the color of a 
hyperlink is controlled by the "color" property of \setupurl?



--
Joaquín Ataz López
Derecho civil
Universidad de Murcia | j...@um.es

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___