[NTG-context] \figuresymbol with underlying hyperlink?

Steffen Wolfrum context at st.estfiles.de
Tue Mar 29 17:41:08 CEST 2022


No, I didn’t…. Thank you very much, now it works ;o)

Steffen


> Am 29.03.2022 um 12:59 schrieb Henning Hraban Ramm via ntg-context <ntg-context at ntg.nl>:
> 
> Did you try to use it with a parameter?
> \Link{wiki.contextgarden.net}
> 
> Hraban
> 
> Am 29.03.22 um 10:48 schrieb Steffen Wolfrum:
>> Unfortunately I have to use it at a heading:
>> and this gives an error:
>> \starttext
>> \define[1]\Link{\goto{\symbol[wingdings 3][barb1right]}[url(https://#1)]\autoinsertnextspace}
>> \chapter{a\Link}
>> text
>> \stoptext
>> Steffen
>>> Am 29.03.2022 um 09:56 schrieb Henning Hraban Ramm via ntg-context <ntg-context at ntg.nl>:
>>> 
>>> Am 28.03.22 um 21:08 schrieb Steffen Wolfrum via ntg-context:
>>>> Hi,
>>>> is it possible to combine figuresymbol with some kind of \useurl?
>>>> The goal is to have an inline symbol that provides a http url link.
>>> 
>>> AFAIK there’s nothing ready-made in that regard, but just define your own macro.
>>> 
>>> E.g. I use:
>>> 
>>> \define[1]\Web{\goto{\hyphenatedurl{#1}}[url(https://#1)]\autoinsertnextspace}
>>> \define[1]\Email{\goto{\hyphenatedurl{#1}}[url(mailto:#1)]\autoinsertnextspace}
>>> \define[1]\WebQR{\inouter[scope=local]{\barcode[alternative=qr code, text={#1}, width=10mm]}\Web{#1}}
>>> \define[1]\WebArrow{\symbol[wingdings 3][barb1right]~{\em\hyphenatedurl{#1}}}
>>> 
>>> So I guess you’d like something like:
>>> 
>>> \define[1]\Link{\goto{\symbol[wingdings 3][barb1right]}[url(https://#1)]\autoinsertnextspace}
>>> 
>>> Hraban
>>> 
>>> ___________________________________________________________________________________
>>> If your question is of interest to others as well, please add an entry to the Wiki!
>>> 
>>> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>>> wiki     : http://contextgarden.net
>>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list