ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Problem with urls
       [not found] <mailman.976.1463248876.1989.ntg-context@ntg.nl>
@ 2016-05-14 20:50 ` Robert Blackstone
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Blackstone @ 2016-05-14 20:50 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez l, Peter Münster


On 14 May 2016, at 20:01, Pablo Rodriguez <oinos@gmx.es>l wrote:
> 
> On 05/14/2016 11:25 AM, Robert Blackstone wrote:
>> 
>> When I process this with mkiv, the urls in AA and CC are active,
>> while in BB it is not. Why?
> 
> Hi Robert,
> 
> the comma is the problematic character in url:
> 
>    \setupinteraction[state=start]
>    \starttext
>    \goto{http://a,b.c}[url(http://a,b.c)]
>    \stoptext
> 
> I’m afraid this might be a bug.

I had not noticed the comma and, yes, you are right, when I remove the comma I get an active url which opens a page on the desired site but without contents. When I add the comma in the address I get the desired page. I could add this instruction to the footnote but that seems to me to be a bit odd.

And Peter Münster <pmlists@free.fr> wrote

> 
> Workaround: url(http://a\letterpercent2Cb.c)
> 
> -- 
>           Peter

Incomprehensible for me, this workaround, but it does work !

Thank you both,

Best regards,
Robert
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Problem with urls
  2016-05-14 17:35   ` Peter Münster
@ 2016-05-15 17:18     ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2016-05-15 17:18 UTC (permalink / raw)
  To: ntg-context

On 5/14/2016 7:35 PM, Peter Münster wrote:
> On Sat, May 14 2016, Pablo Rodriguez wrote:
>
>> the coma is the problematic character in url:
>>
>>     \setupinteraction[state=start]
>>     \starttext
>>     \goto{http://a,b.c}[url(http://a,b.c)]
>>     \stoptext
>>
>> I’m afraid this might be a bug.
>
> Workaround: url(http://a\letterpercent2Cb.c)

fixed next beta (hopefully without side effects) ... all between [] is 
parsed and there can be a sequence of operations there separated by commas


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | 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] 9+ messages in thread

* Re: Problem with urls
  2016-05-14 17:07 ` Pablo Rodriguez
@ 2016-05-14 17:35   ` Peter Münster
  2016-05-15 17:18     ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Münster @ 2016-05-14 17:35 UTC (permalink / raw)
  To: ntg-context

On Sat, May 14 2016, Pablo Rodriguez wrote:

> the coma is the problematic character in url:
>
>     \setupinteraction[state=start]
>     \starttext
>     \goto{http://a,b.c}[url(http://a,b.c)]
>     \stoptext
>
> I’m afraid this might be a bug.

Workaround: url(http://a\letterpercent2Cb.c)

-- 
           Peter
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Problem with urls
  2016-05-14  9:25 Robert Blackstone
@ 2016-05-14 17:07 ` Pablo Rodriguez
  2016-05-14 17:35   ` Peter Münster
  0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2016-05-14 17:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 05/14/2016 11:25 AM, Robert Blackstone wrote:
> Dear all,
> 
> Can any of you explain, or, better, suggest a remedy for, the
> following problem:
> 
> I want active urls in footnotes. With the same setups and correct
> urls, some of them become active and some others not.
> [...]
> When I process this with mkiv, the urls in AA and CC are active,
> while in BB it is not. Why?

Hi Robert,

the coma is the problematic character in url:

    \setupinteraction[state=start]
    \starttext
    \goto{http://a,b.c}[url(http://a,b.c)]
    \stoptext

I’m afraid this might be a bug.


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

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

* Problem with urls
@ 2016-05-14  9:25 Robert Blackstone
  2016-05-14 17:07 ` Pablo Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Blackstone @ 2016-05-14  9:25 UTC (permalink / raw)
  To: ntg-context

Dear all,
Can any of you explain, or, better, suggest a remedy for, the following problem:

I want active urls in footnotes. With the same setups and correct urls, some of them become active and some others not.

See the following ME: 

+++++++++++++++++
\setupinteraction[state=start,focus=standard,style=,color=blue,contrastcolor=]

\starttext

AA \footnote{\goto{http://gallica.bnf.fr/ark:/12148/btv1b90634431.r=Francois+Couperin.langEN}[url(http://gallica.bnf.fr/ark:/12148/btv1b90634431.r=Francois+Couperin.langEN)]}

BB\footnote{\goto{http://imslp.org/wiki/Tuoni_ecclesiastici_con_li_loro_versetti_(Greco,_Gaetano)}[url(http://imslp.org/wiki/Tuoni_ecclesiastici_con_li_loro_versetti_(Greco,_Gaetano))]}

CC \footnote{\goto{http://www.saraband.com.au/figured_bass.htm}[url(http://www.saraband.com.au/figured_bass.htm)]}

\stoptext   
++++++++++++++++++

When I process this with mkiv, the urls in AA and CC are active, while in BB it is not. Why? 

Thanks in advance for any help.

Best regards,
Robert Blackstone
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Problem with urls.
  2013-11-21 22:41 ` Robert Blackstone
@ 2013-11-22  5:36   ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2013-11-22  5:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.11.2013 um 23:41 schrieb Robert Blackstone <blackstone.robert@gmail.com>:

> 
> On 21 Nov 2013, at 19:53 , Wolfgang Schuster <schuster.wolfgang@gmail.com> wrotr
>>> 
>> 
>> I can process your example without problems.
>> 
>> ConTeXt  ver: 2013.11.16 12:43 MKIV beta  fmt: 2013.11.21  int: english/english
>> 
>> Wolfgang
> Thank you for your reaction.
> 
> This is odd. Here this EM does not work with CONTEXT version 2013.11.14 23:22, (which uses LuaTeX version 0.76.0 as engine.)
> 
> (to get this information I had of course to outcomment the "\from[apurl]")
> Still stranger: when I plugged the url into some other TeX-file it did work with the same ConTeXt version.
> So it seems that there is some essential difference between these files (apart from their content)
> Do you have any idea what that could be? Could it be a matter of text encoding? (I use TeXShop as the front end.)

Can you send your problematic file. There could be a encoding problem or you have a special
character (nonbreakable space etc.) in your file which cause problems.

Wolfgang
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Problem with urls.
       [not found] <mailman.390.1385059994.2136.ntg-context@ntg.nl>
@ 2013-11-21 22:41 ` Robert Blackstone
  2013-11-22  5:36   ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Blackstone @ 2013-11-21 22:41 UTC (permalink / raw)
  To: ntg-context


On 21 Nov 2013, at 19:53 , Wolfgang Schuster <schuster.wolfgang@gmail.com> wrotr
>> 
> 
> I can process your example without problems.
> 
> ConTeXt  ver: 2013.11.16 12:43 MKIV beta  fmt: 2013.11.21  int: english/english
> 
> Wolfgang
 Thank you for your reaction.

This is odd. Here this EM does not work with CONTEXT version 2013.11.14 23:22, (which uses LuaTeX version 0.76.0 as engine.)

(to get this information I had of course to outcomment the "\from[apurl]")
Still stranger: when I plugged the url into some other TeX-file it did work with the same ConTeXt version.
 So it seems that there is some essential difference between these files (apart from their content)
Do you have any idea what that could be? Could it be a matter of text encoding? (I use TeXShop as the front end.)

Best regards,
Robert Blackstone
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Problem with urls.
  2013-11-21 17:08 Robert Blackstone
@ 2013-11-21 17:24 ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2013-11-21 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.11.2013 um 18:08 schrieb Robert Blackstone <blackstone.robert@gmail.com>:

> Dear all,
> Presently I'm experiencing a problem with urls that, hopefully, the ME will demonstrate.
> It seems to me that something must have changed in the source since the end of september.
> The example works with mkiv of 24 sept, but not with that of 3 november and later.
> 
> ---------------------------------------------------
> \useURL[apurl][http://wiki.contextgarden.net/Category:Commands]
> \starttext
> 
> \from[apurl]
> 
> \url[apurl]
> 
> \stoptext 

I can process your example without problems.

ConTeXt  ver: 2013.11.16 12:43 MKIV beta  fmt: 2013.11.21  int: english/english

Wolfgang

___________________________________________________________________________________
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] 9+ messages in thread

* Problem with urls.
@ 2013-11-21 17:08 Robert Blackstone
  2013-11-21 17:24 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Blackstone @ 2013-11-21 17:08 UTC (permalink / raw)
  To: ntg-context

Dear all,
Presently I'm experiencing a problem with urls that, hopefully, the ME will demonstrate.
It seems to me that something must have changed in the source since the end of september.
The example works with mkiv of 24 sept, but not with that of 3 november and later.

---------------------------------------------------
\useURL[apurl][http://wiki.contextgarden.net/Category:Commands]
\starttext

\from[apurl]

\url[apurl]

\stoptext 
--------------------------------------------
I use TeXshop.
The console gives  me the following cryptic message about a LuaTeX error:
 
\ctxcommand #1^^@-\directlua {commands.#1}

\font_helpers_low_level_define ...caledfontmode )}
					\edef \somefontspec
{at \n...
\font_helpers_trigger_define ..._identifier_class
						\csname
\v_font_identifier…
\applyfontclassstrategies ...\fontface \endcsname
						\else \expandafter
\font_h...
\font_helpers_synchronize_font ...classstrategies
						\fi \setfalse
\c_font_auto...
\tt f-\ifmode \mathtt \else \normaltt
					\fi
…
l.5 \from[apurl]

?

Thanks in advance for any help.

Best regards,
Robert Blackstone
___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2016-05-15 17:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.976.1463248876.1989.ntg-context@ntg.nl>
2016-05-14 20:50 ` Problem with urls Robert Blackstone
2016-05-14  9:25 Robert Blackstone
2016-05-14 17:07 ` Pablo Rodriguez
2016-05-14 17:35   ` Peter Münster
2016-05-15 17:18     ` Hans Hagen
     [not found] <mailman.390.1385059994.2136.ntg-context@ntg.nl>
2013-11-21 22:41 ` Robert Blackstone
2013-11-22  5:36   ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2013-11-21 17:08 Robert Blackstone
2013-11-21 17:24 ` Wolfgang Schuster

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