* Color property of \setupurl @ 2022-08-20 4:54 Joaquín Ataz López via ntg-context 2022-08-20 6:41 ` Max Chernoff via ntg-context 0 siblings, 1 reply; 3+ messages in thread From: Joaquín Ataz López via ntg-context @ 2022-08-20 4:54 UTC (permalink / raw) To: ntg-context; +Cc: Joaquín Ataz López 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 | jal@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Color property of \setupurl 2022-08-20 4:54 Color property of \setupurl Joaquín Ataz López via ntg-context @ 2022-08-20 6:41 ` Max Chernoff via ntg-context 2022-08-20 7:14 ` Wolfgang Schuster via ntg-context 0 siblings, 1 reply; 3+ messages in thread From: Max Chernoff via ntg-context @ 2022-08-20 6:41 UTC (permalink / raw) To: ntg-context; +Cc: Max Chernoff 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Color property of \setupurl 2022-08-20 6:41 ` Max Chernoff via ntg-context @ 2022-08-20 7:14 ` Wolfgang Schuster via ntg-context 0 siblings, 0 replies; 3+ messages in thread From: Wolfgang Schuster via ntg-context @ 2022-08-20 7:14 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-20 7:14 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-08-20 4:54 Color property of \setupurl Joaquín Ataz López via ntg-context 2022-08-20 6:41 ` Max Chernoff via ntg-context 2022-08-20 7:14 ` Wolfgang Schuster via ntg-context
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).