From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17396 Path: main.gmane.org!not-for-mail From: h h extern Newsgroups: gmane.comp.tex.context Subject: Re: Re: LaTeX2ConTeXt : external links not work after recompiled Date: Sun, 05 Dec 2004 21:33:27 +0100 Message-ID: <41B37097.1010303@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1102282269 7079 80.91.229.6 (5 Dec 2004 21:31:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Dec 2004 21:31:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 05 22:31:05 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cb3yC-000078-00 for ; Sun, 05 Dec 2004 22:31:05 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9EA251278B; Sun, 5 Dec 2004 22:31:04 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19676-02; Sun, 5 Dec 2004 22:31:04 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E51012799; Sun, 5 Dec 2004 22:26:53 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9AB3F12799 for ; Sun, 5 Dec 2004 22:26:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19401-06-3 for ; Sun, 5 Dec 2004 22:26:50 +0100 (CET) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id C411C12798 for ; Sun, 5 Dec 2004 22:26:50 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id iB5LQj6q029903 for ; Sun, 5 Dec 2004 22:26:45 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 5CF3019788; Sun, 5 Dec 2004 22:26:50 +0100 (CET) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 13AA817AF1 for ; Sun, 5 Dec 2004 21:26:48 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17396 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17396 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 -----------------------------------------------------------------