From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: (My) problem with percent sign in URLs -- about Wiki
Date: Tue, 15 Aug 2017 21:07:33 +0200 [thread overview]
Message-ID: <d193b722-ce53-2cd4-8208-9ea7a4e30b6a@gmx.es> (raw)
In-Reply-To: <20170815122850.5ce0550c@zoo.hsd1.co.comcast.net>
On 08/15/2017 08:28 PM, Alan Braslau wrote:
> Is there not some way to "protect" a literal string to be taken
> verbatim where no character be active, for it is messy to have to
> "clean-up" data such as a url.
Hi Alan,
wrapping the URL (or the footnote that contains it, it will crash inside
the footnote) with \startasciimode...\stopasciimode works too:
\setupinteraction[state=start]
\unexpanded\def\mypersonalurl#1{%
\bgroup\tt\goto{\hyphenatedurl{#1}}[url(#1)]\egroup}
\starttext
\startasciimode
\footnote{\mypersonalurl{http://a.b?hpw%20h#pw}}
\stopasciimode
\stoptext
Thomas, my apologies, because I have just remembered this. (I use
ConTeXt mainly with XML input sources.)
Just in case it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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:[~2017-08-15 19:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 16:27 (My) problem with percent sign in URLs Tomas Hala
2017-08-14 19:52 ` Pablo Rodriguez
2017-08-15 8:25 ` Tomas Hala
2017-08-15 8:36 ` Aditya Mahajan
2017-08-15 16:12 ` Tomas Hala
2017-08-15 16:52 ` (My) problem with percent sign in URLs -- about Wiki Tomas Hala
2017-08-15 17:07 ` Wolfgang Schuster
2017-08-15 18:28 ` Alan Braslau
2017-08-15 19:07 ` Pablo Rodriguez [this message]
2017-08-15 18:55 ` Pablo Rodriguez
2017-08-15 19:49 ` Tomas Hala
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=d193b722-ce53-2cd4-8208-9ea7a4e30b6a@gmx.es \
--to=oinos@gmx.es \
--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).