ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* URL oddity
@ 2014-04-03  2:14 Rik Kabel
  2014-04-03  8:56 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Rik Kabel @ 2014-04-03  2:14 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 939 bytes --]

Below are two MWEs. The only difference is with \setupinteraction. When 
the  resulting link is copied from the pdf and pasted into a browser, 
one can see that there is a trailing / added to the interactive version, 
but not to the non-interactive version. For this url (and many others), 
that causes a 404 failure. Additional experimentation shows that a 
second / is not added when a trailing slash has been provided.

This is not the case with TL2013. It is the case with 2014.03.28 15:04 
MKIV beta.

Why has the trailing slash added? Is this an intentional change? If so, 
is there a method to invoke the older behavior.

    \starttext
    \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf]
    \from[aurl]
    \stoptext


    \setupinteraction[state=start]
    \starttext
    \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf]
    \from[aurl]
    \stoptext

-- 
Rik

[-- Attachment #1.2: Type: text/html, Size: 1707 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: URL oddity
  2014-04-03  2:14 URL oddity Rik Kabel
@ 2014-04-03  8:56 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2014-04-03  8:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 4/3/2014 4:14 AM, Rik Kabel wrote:
> Below are two MWEs. The only difference is with \setupinteraction. When
> the  resulting link is copied from the pdf and pasted into a browser,
> one can see that there is a trailing / added to the interactive version,
> but not to the non-interactive version. For this url (and many others),
> that causes a 404 failure. Additional experimentation shows that a
> second / is not added when a trailing slash has been provided.
>
> This is not the case with TL2013. It is the case with 2014.03.28 15:04
> MKIV beta.
>
> Why has the trailing slash added? Is this an intentional change? If so,
> is there a method to invoke the older behavior.
>
>     \starttext
>     \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf]
>     \from[aurl]
>     \stoptext

that's not done by context but the viewer (can be an annoying automatism 
btw)


>     \setupinteraction[state=start]
>     \starttext
>     \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf]
>     \from[aurl]
>     \stoptext

fixed in next beta

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.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:[~2014-04-03  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-03  2:14 URL oddity Rik Kabel
2014-04-03  8:56 ` Hans Hagen

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