From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Variables in \useURL
Date: Fri, 19 Jun 2020 14:10:57 +0200 [thread overview]
Message-ID: <46A7827A-B668-4434-BF45-62E5D1CA6728@elvenkind.com> (raw)
In-Reply-To: <fd988260-0146-d5f2-cfe4-3dac29093ea8@xs4all.nl>
> On 19 Jun 2020, at 13:49, Hans Hagen <j.hagen@xs4all.nl> wrote:
>
> On 6/19/2020 1:28 PM, Nigel King wrote:
>> Hi Group,
>> I want to insert a variable hyper reference into a pdf document. The following method does not work for some reason.
>> \def\hyperref{http://www.website.com/abc/def}
>> show \hyperref
>> Gives the correct answer but
>> \useURL[this_doc][\hyperref][][displayed text]
>> \from[this_doc]
>> Gives
>> hyperef%20 as the url
>> What am I doing wrong?
> the content is not expanded, why not just use
>
> \useURL[this_doc][http://www.website.com/abc/def][][displayed text]
or
\expanded{\useURL[this_doc][\hyperref][][displayed text]}
if that is truly impossible for some reason.
Best wishes,
Taco
___________________________________________________________________________________
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:[~2020-06-19 12:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 11:28 Nigel King
2020-06-19 11:49 ` Hans Hagen
2020-06-19 12:10 ` Taco Hoekwater [this message]
2020-06-19 18:54 ` Nigel King
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=46A7827A-B668-4434-BF45-62E5D1CA6728@elvenkind.com \
--to=taco@elvenkind.com \
--cc=ntg-context@ntg.nl \
/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).