[NTG-context] url bug with frenchpunctuation

2011-06-20 Thread Steffen Wolfrum
Hi,

I am no french, but this *must* be wrong: a space after http?!
Run this minimal example, please:

\starttext

\mainlanguage[fr]\setcharacterspacing[frenchpunctuation]

test, in: \hyphenatedurl{http://www.test.fr}.

\stoptext


Could someone confirm ... and (is necessary) Hans can fix this?

Thanks,
Steffen
___
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] url bug with frenchpunctuation

2011-06-20 Thread Hans Hagen

On 20-6-2011 3:46, Steffen Wolfrum wrote:


I am no french, but this *must* be wrong: a space after http?!
Run this minimal example, please:

\starttext

\mainlanguage[fr]\setcharacterspacing[frenchpunctuation]

test, in: \hyphenatedurl{http://www.test.fr}.

\stoptext


if it's wrong in that case, it's probably wrong in many cases, but you 
can prevent it with


\appendtoks
\resetcharacterspacing
\to \everyhyphenatedurl


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


Re: [NTG-context] URL bug

2008-09-21 Thread Alan Stone
Does this mean... dump Windows XP ?


On Sat, Sep 20, 2008 at 2:25 PM, Alan Stone
[EMAIL PROTECTED] wrote:
 On Sat, Sep 20, 2008 at 2:08 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Tested the following...
 
  \starttext
 
  \useURL [myURL] [http://www.a.com] [] [wxyz]
 
  1. \url[myURL] \blank
  2. \goto{wherever}[url(myURL)] \blank


 \setupinteraction[state=start]

 \useURL [myURL] [http://www.a.com] [] [wxyz]

 \starttext
 \url[myURL] \blank
 \goto{wherever}[url(myURL)] \blank
 \from[myURL] \blank
 \stoptext

 \url[myURL] \blank

 compiles, but outputs a http//www.a.com hyperlink

 The two other ones generate compile errors.
 --
 Best,
 Alan

 * texmfstart texexec --lua foo
 * ConTeXt  ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20  int: english/english
 * Windows XP Home SP3


-- 
Best,
Alan

 Ubuntu 8.04 Hardy Heron (Desktop)
 * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int:
english/english (ConTeXt minimals installation)
 * texexec --lua foo
 Windows XP Home SP3
 * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int:
english/english (ConTeXt minimals installation)
 * texmfstart texexec --lua foo
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Alan Stone
 ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english

texmfstart texexec --lua test_url

It still doesn't compile.

Log file in attachement.

-- 
Best,
Alan

* ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
* Windows XP Home SP3

On Fri, Sep 19, 2008 at 8:57 PM, Peter Münster [EMAIL PROTECTED] wrote:

 On Fri, Sep 19 2008, Alan Stone wrote:

  \useURL [url] [http://www.a.com] [] [wxyz]   % this does NOT compile

 Perhaps an update will help. It works here with:
 MtxRun | current version: 2008.09.16 19:49
 This is LuaTeX, Version snapshot-0.29.0-2008072108

 Cheers, Peter

 --
 http://pmrb.free.fr/contact/


 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___



test_url.log
Description: Binary data
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Taco Hoekwater
Alan Stone wrote:
  ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
 
 texmfstart texexec --lua test_url
 
 It still doesn't compile.
 
 Log file in attachement.

Works for me (linux and running the bleeding edge of course). Not only
does it work, it also has no valgrind debug problems worth mentioning,
and that means I cannot help you at all. It could be windows-only?

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Hans Hagen
Alan Stone wrote:
  ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
 
 texmfstart texexec --lua test_url
 
 It still doesn't compile.
 
 Log file in attachement.

\starttext

\useURL [url] [http://www.a.com] [] [wxyz]   % this does NOT compile

test \url[url] test \goto{wherever}[url(url)]

\stoptext

works ok on my machine (windows vista)

Hans



-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Taco Hoekwater
Hans Hagen wrote:
 Alan Stone wrote:
 
 works ok on my machine (windows vista)

Perhaps it will help if Alan sends his binary to someone else
on Windows XP SP3 (if there is someone). That way, at least
local configuration problems can be ruled out as cause ?

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Alan Stone
Tested the following...

\starttext

\useURL [myURL] [http://www.a.com] [] [wxyz]

1. \url[myURL] \blank
2. \goto{wherever}[url(myURL)] \blank
3. \goto{wherever}[{url(myURL)}] \blank

4. \goto{wherever}[url[myURL]] \blank
5. \goto{wherever}[{url[myURL]}]

\stoptext

It compiles, only 1. works though but it outputs a http://www.a.comhyperlink
instead of a wxyz hyperlink.

Output in attachement.

Best,
Alan
-- 
Best,
Alan

* texmfstart texexec --lua foo
* ConTeXt  ver: 2008.09.16 19:49 MKIV  fmt: 2008.9.20  int: english/english
* Windows XP Home SP3

On Sat, Sep 20, 2008 at 12:41 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
   ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
 
  texmfstart texexec --lua test_url
 
  It still doesn't compile.
 
  Log file in attachement.

 \starttext

 \useURL [url] [http://www.a.com] [] [wxyz]   % this does NOT compile

 test \url[url] test \goto{wherever}[url(url)]

 \stoptext

 works ok on my machine (windows vista)

 Hans


test_url2.pdf
Description: Adobe PDF document
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Hans Hagen
Alan Stone wrote:
 Tested the following...
 
 \starttext
 
 \useURL [myURL] [http://www.a.com] [] [wxyz]
 
 1. \url[myURL] \blank
 2. \goto{wherever}[url(myURL)] \blank


\setupinteraction[state=start]

\useURL [myURL] [http://www.a.com] [] [wxyz]

\starttext
 \url[myURL] \blank
 \goto{wherever}[url(myURL)] \blank
 \from[myURL] \blank
\stoptext

 3. \goto{wherever}[{url(myURL)}] \blank
 4. \goto{wherever}[url[myURL]] \blank
 5. \goto{wherever}[{url[myURL]}]

these are all invalid specs


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Peter Münster
On Sat, Sep 20 2008, Alan Stone wrote:

 texmfstart texexec --lua test_url
 
 It still doesn't compile.

Are you running a recent luatex (0.29.0)?
Just to be sure, I would clean up the cache and the working directory at
your place:
rm -rf .../texmf-cache/luatex-cache/*
context --purgeall

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Alan Stone
On Sat, Sep 20, 2008 at 2:08 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Tested the following...
 
  \starttext
 
  \useURL [myURL] [http://www.a.com] [] [wxyz]
 
  1. \url[myURL] \blank
  2. \goto{wherever}[url(myURL)] \blank


 \setupinteraction[state=start]

 \useURL [myURL] [http://www.a.com] [] [wxyz]

 \starttext
 \url[myURL] \blank
 \goto{wherever}[url(myURL)] \blank
 \from[myURL] \blank
 \stoptext




\url[myURL] \blank

compiles, but outputs a http//www.a.com hyperlink

The two other ones generate compile errors.
-- 
Best,
Alan

* texmfstart texexec --lua foo
* ConTeXt  ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20  int: english/english
* Windows XP Home SP3
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-20 Thread Alan Stone
On Sat, Sep 20, 2008 at 1:53 PM, Peter Münster [EMAIL PROTECTED] wrote:

 On Sat, Sep 20 2008, Alan Stone wrote:

  texmfstart texexec --lua test_url
 
  It still doesn't compile.

 Are you running a recent luatex (0.29.0)?


luatex --version

This is LuaTeX, Version snapshot-0.29.0-2008072009


 Just to be sure, I would clean up the cache and the working directory at
 your place:
 rm -rf .../texmf-cache/luatex-cache/*


Euh... I think you're on Linux Peter.

I'm presently on Windoes(not). So did the equivalent.



 context --purgeall


context command doesn't work here, so did

texmfstart texexec --purgeall

Same result for \url[myURL]
Compile errors for the other ones.


  --
 Best,
 Alan

 * texmfstart texexec --lua foo
 * ConTeXt  ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20  int: english/english
 * Windows XP Home SP3

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] URL bug

2008-09-19 Thread Alan Stone
\setupinteraction[state=start]

%\useURL [url] [http://www.a.com] [] [x] % this compiles
%\useURL [url] [http://www.a.com] [] [xy]% this compiles
%\useURL [url] [http://www.a.com] [] [xyz]% this compiles
\useURL [url] [http://www.a.com] [] [wxyz]   % this does NOT compile
%\useURL [url] [http://www.a.com] [] [vwxyz]  % this does NOT compile

%\useURL [url] [http://www.ab.com] [] [x]% this compiles
%\useURL [url] [http://www.ab.com] [] [xy]% this compiles
%\useURL [url] [http://www.ab.com] [] [xyz]   % this compiles
%\useURL [url] [http://www.ab.com] [] [wxyz]  % this does NOT compile
%\useURL [url] [http://www.ab.com] [] [vwxyz]  % this does NOT compile

%\useURL [url] [http://www.abc.com] [] [x]% this compiles
%\useURL [url] [http://www.abc.com] [] [xy]   % this compiles
%\useURL [url] [http://www.abc.com] [] [xyz]   % this compiles
%\useURL [url] [http://www.abc.com] [] [wxyz]  % this does NOT compile
%\useURL [url] [http://www.abc.com] [] [vwxyz] % this does NOT compile

\starttext
\from[url]
\stoptext
-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3


test_url.log
Description: Binary data
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URL bug

2008-09-19 Thread Peter Münster
On Fri, Sep 19 2008, Alan Stone wrote:

 \useURL [url] [http://www.a.com] [] [wxyz]   % this does NOT compile

Perhaps an update will help. It works here with:
MtxRun | current version: 2008.09.16 19:49
This is LuaTeX, Version snapshot-0.29.0-2008072108

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___