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
