ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* wrong handling of hash char in \useURL
@ 2016-10-11 12:12 Piotr Kopszak
  2016-10-12  0:25 ` Yi Qingliang
  0 siblings, 1 reply; 2+ messages in thread
From: Piotr Kopszak @ 2016-10-11 12:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wrong handling of hash char in \useURL
  2016-10-11 12:12 wrong handling of hash char in \useURL Piotr Kopszak
@ 2016-10-12  0:25 ` Yi Qingliang
  0 siblings, 0 replies; 2+ messages in thread
From: Yi Qingliang @ 2016-10-12  0:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-12  0:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-11 12:12 wrong handling of hash char in \useURL Piotr Kopszak
2016-10-12  0:25 ` Yi Qingliang

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).