From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: \figuresymbol with underlying hyperlink?
Date: Tue, 29 Mar 2022 12:59:35 +0200 [thread overview]
Message-ID: <5f5ab6e5-eee0-35da-c13b-07c27f6276e8@fiee.net> (raw)
In-Reply-To: <1331F6B1-608C-470B-AFCC-E9C1CE41E7F7@st.estfiles.de>
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@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@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@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 10:59 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
2022-03-29 8:48 ` Steffen Wolfrum via ntg-context
2022-03-29 10:59 ` Henning Hraban Ramm via ntg-context [this message]
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=5f5ab6e5-eee0-35da-c13b-07c27f6276e8@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).