From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: \figuresymbol with underlying hyperlink?
Date: Tue, 29 Mar 2022 09:56:15 +0200 [thread overview]
Message-ID: <92902b23-2025-ba26-f770-6fa689f8ac2c@fiee.net> (raw)
In-Reply-To: <B65A2A01-05C4-4368-B264-F74543F38ACA@st.estfiles.de>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2022-03-29 7:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-28 13:40 Xml - Lua - context Thomas A. Schmitz via ntg-context
2022-03-28 16:21 ` Adam Reviczky via ntg-context
2022-03-28 17:06 ` Thomas A. Schmitz via ntg-context
2022-03-28 19:08 ` \figuresymbol with underlying hyperlink? Steffen Wolfrum via ntg-context
2022-03-29 7:56 ` Henning Hraban Ramm via ntg-context [this message]
2022-03-29 8:48 ` Steffen Wolfrum via ntg-context
2022-03-29 10:59 ` Henning Hraban Ramm via ntg-context
2022-03-29 15:41 ` Steffen Wolfrum via ntg-context
2022-03-30 14:45 ` Hans Hagen via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=92902b23-2025-ba26-f770-6fa689f8ac2c@fiee.net \
--to=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).