Re: [NTG-context] Problem with urls

2016-05-15 Thread Hans Hagen

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
___

Re: [NTG-context] Problem with urls

2016-05-14 Thread Robert Blackstone

On 14 May 2016, at 20:01, Pablo Rodriguez 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  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
___

Re: [NTG-context] Problem with urls

2016-05-14 Thread Peter Münster
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
___

Re: [NTG-context] Problem with urls

2016-05-14 Thread Pablo Rodriguez
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
___

[NTG-context] Problem with urls

2016-05-14 Thread Robert Blackstone
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
___

Re: [NTG-context] Problem with urls.

2013-11-21 Thread Robert Blackstone

On 21 Nov 2013, at 19:53 , Wolfgang Schuster schuster.wolfg...@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
___


[NTG-context] Problem with urls.

2013-11-21 Thread Robert Blackstone
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
___


Re: [NTG-context] Problem with urls.

2013-11-21 Thread Wolfgang Schuster

Am 21.11.2013 um 18:08 schrieb Robert Blackstone blackstone.rob...@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
___


Re: [NTG-context] Problem with urls.

2013-11-21 Thread Wolfgang Schuster

Am 21.11.2013 um 23:41 schrieb Robert Blackstone blackstone.rob...@gmail.com:

 
 On 21 Nov 2013, at 19:53 , Wolfgang Schuster schuster.wolfg...@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
___