From: Yi Qingliang <niqingliang2003@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: wrong handling of hash char in \useURL
Date: Wed, 12 Oct 2016 00:25:09 +0000 [thread overview]
Message-ID: <CADwFkYesCRiDzJiZoF7TGqs42ZVVVOBjs0QYXz3FX6btEqznpQ@mail.gmail.com> (raw)
In-Reply-To: <CADawwoA27RPJfHKAHsjptw8gO0=SThRQqaf_Kz27FFmHVCEgTA@mail.gmail.com>
the root cause is the macro, I don't think any macro language can
solve it gently.
what we can do is hack, maybe not only one.
On Tue, Oct 11, 2016 at 12:12 PM, Piotr Kopszak <kopszak@gmail.com> wrote:
> Hello list,
>
> When I try to use hash in a URL like this
>
> \useURL[protr][http://wiki.contextgarden.net/Protrusion\#MkIV]
>
> I'm getting correct address on the screen but wrong link
> (http://wiki.contextgarden.net/Protrusion/#MkIV).
>
> When I use
>
> \startasciimode
> \useURL[protr][http://wiki.contextgarden.net/Protrusion#MkIV]
> \stopasciimode
>
> I'm getting correct link but wrong url on the screen
> (http://wiki.contextgarden.net/Protrusion##MkIV)
>
> Any ideas?
>
> Best
>
> Piotr
> --
> http://okle.pl
> ___________________________________________________________________________________
> 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 : http://foundry.supelec.fr/projects/contextrev/
> 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2016-10-12 0:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-11 12:12 Piotr Kopszak
2016-10-12 0:25 ` Yi Qingliang [this message]
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=CADwFkYesCRiDzJiZoF7TGqs42ZVVVOBjs0QYXz3FX6btEqznpQ@mail.gmail.com \
--to=niqingliang2003@gmail.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).