Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled

2004-12-05 Thread Taco Hoekwater

Hi,


Robin Fairbairns wrote:
 
 can someone please persuade hans to replace the context/current on his
 web site with something that works.  what appears on context/current
 gets to ctan, and what gets to ctan appears in tetex.  a mail to me
 would expedite the corrected stuff appearing on ctan.

A fix in the works, I assume. Meanwhile ...
 
 more serious is (i bet) that that context is also on the texlive tree,
 and that really _is_ about to ship.

The ISO named texlive2004-inst-20041127.iso on CTAN dated is the one that 
is being burned, I assume? If so, then there is good news: TL does not
contain 2004.11.23 but version 2004.11.17, and that version works OK on
Patrick's example, using acroread 5.0.5 on linux. 

It is a bit odd that a beta version of context was used for production TL and 
does not have the bug whereas the tetex beta used the production version of 
context and does have the bug. ;-)

Greetings, Taco

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled

2004-12-05 Thread h h extern
Patrick Gundlach wrote:
As far as I can see, this tetex ships with
ConTeXt  ver: 2004.11.23 

OK is:
ConTeXt  ver: 2004.11.16 
i think that something went wrong when i patched the \from macro for handling 
the nested color support. The url support is rather dirty hooked into other 
mechanisms.

I'll upload a fix asap.
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled

2004-12-05 Thread h h extern
Patrick Gundlach wrote:
Hello Quy, Thomas,
I have looked into your problematic document, and it looks as if the
ConTeXt version in the tetex beta is broken in this respect.
--
\setupcolors
  [state=start]
\setupinteraction
  [state=start,color=blue]
\useURL
[contextsupport]
[http://www.pragma-ade.com/]
\starttext
Look at  \from[contextsupport]!
\stoptext
--
compiles fine, but shows the same error: the hyperlink does not point
to the website, but to the first page.
in core.ref.tex, patch:
\def\setouterlocation#1%
  {\ifundefined{\v!file:::#1}%
 \ifconditional\forceURLlocation
   \edef\otherURL{#1}%
   \let\otherfile\empty
 \else
   \let\otherURL\empty
   \edef\otherfile{#1}%
 \fi
   \else
 \let\doexternaldocument\setouterfilelocation
 \let\doexternalurl \setouterfilelocation %  missing line
 \csname\v!file:::#1\endcsname
   \fi
   \setfalse\forceURLlocation
   \doifparentfileelse\otherfile
 {\let\otherURL\empty
  \let\otherfile\empty
  \global\let\otherlabel\empty
  \let\otherprefix\empty}
 {\xdef\otherlabel{#1}%
  \edef\otherprefix{#1::}}}
I need to rewrite this piece of code, currently there is some nasty overloading 
taking place (in order to safe hash entries i pack several things into one 
macro, which is used nested and which meaning gets overloaded)

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled

2004-12-05 Thread h h extern
Patrick Gundlach wrote:
more serious is (i bet) that that context is also on the texlive tree,
and that really _is_ about to ship.
don't worry, the bug is is not affecting the whole lot (only \from when used
with a url, the other \goto{}[url(...}] stuff is supposed to work; urls can be
set in many ways -)
concerning tex live: there's probably a bit older version in there (sebastian
got it directly from me); i'll check
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled

2004-12-04 Thread Patrick Gundlach
Hello Adam, Quy,

But all external links not work! When I click on them, I go to the 1st
page of document.
Internal links work well.

 Quy, have you tried it in a different PDF viewer?
 Not all platforms treat links the same.


I had a look at the PDF file and it is broken. I just downloaded
tetex2.99.4 but I wasn't able to reproduce the problem. I had tons of
other problems, though...


Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled

2004-12-04 Thread VnPenguin
On 4 Dec 2004 19:56:31 +0100, Patrick Gundlach [EMAIL PROTECTED] wrote:
 Hello Adam, Quy,
 
 But all external links not work! When I click on them, I go to the 1st
 page of document.
 Internal links work well.
 
  Quy, have you tried it in a different PDF viewer?
  Not all platforms treat links the same.
 
 
 I had a look at the PDF file and it is broken. I just downloaded
 tetex2.99.4 but I wasn't able to reproduce the problem. I had tons of
 other problems, though...

Oh,
In fact I have no problem with 2.99.4-beta. ConTeXt works fine, even
with Vietnamese Unicode input file. But all external links were broken
:(
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled

2004-12-04 Thread Patrick Gundlach
Hi,

 In fact I have no problem with 2.99.4-beta. ConTeXt works fine, even
 with Vietnamese Unicode input file. But all external links were broken
 :(

[ ] working ConTeXt
[ ] correct external links
[ ] Vietnamese Unicode Input

pick two.


Patrick
(sorry I am of no help yet)
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context