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@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
___________________________________________________________________________________

Reply via email to