ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Steffen Wolfrum <context@st.estfiles.de>
Subject: Re: interaction kills hyperlinks
Date: Thu, 22 Mar 2012 22:37:45 +0100	[thread overview]
Message-ID: <4F6B9BA9.30906@wxs.nl> (raw)
In-Reply-To: <7C300D45-1AE1-42ED-A956-3D20064335BB@st.estfiles.de>

On 22-3-2012 16:09, Steffen Wolfrum wrote:
> [as the first posting was labeled spam, I try it once more:]
>
>
> Hi,
>
> it's probably a rare case: URL with comma.
>
> Just by chance I found that these URL kill hyperlinks when interaction is active:
>
> \setupinteraction
>    [state=start]
>
> \starttext
>
> \goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)]
>
> \goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[url(http://www.ftd.de/politik/deutschland/1058704515970.html)]
>
> \stoptext
>
> Strange, isn't?

not at all, as between [] there can be a list of actions to be done, in 
your case only one; so put {} around it:

1: 
\goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[{url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)}]

2: 
\goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[{url(http://www.ftd.de/politik/deutschland/1058704515970.html)}]

or even better, use an abstraction (easier to maintain):

\useurl[spiegel-1][www.spiegel.de/spiegel/0,1518,288433,00.html]
\useurl[politik-1][www.ftd.de/politik/deutschland/1058704515970.html]

3: \goto{\url[spiegel-1]}[spiegel-1]

4: \goto{\url[politik-1]}[politik-1]


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


  reply	other threads:[~2012-03-22 21:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 15:09 Steffen Wolfrum
2012-03-22 21:37 ` Hans Hagen [this message]
2012-03-23  7:49   ` Steffen Wolfrum
2012-03-23  8:18     ` Steffen Wolfrum

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=4F6B9BA9.30906@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=context@st.estfiles.de \
    --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).