From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27615 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Accessing local files to launch helper progam using \useURL and \from Date: Wed, 03 May 2006 18:18:16 +0200 Message-ID: <4458D7C8.30405@boede.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146673134 2681 80.91.229.2 (3 May 2006 16:18:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 16:18:54 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed May 03 18:18:50 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbK3f-0008EN-UW for gctc-ntg-context-518@m.gmane.org; Wed, 03 May 2006 18:18:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CDE29127BD; Wed, 3 May 2006 18:18:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02713-04-20; Wed, 3 May 2006 18:18:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C181127B7; Wed, 3 May 2006 18:18:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B9DB9127B6 for ; Wed, 3 May 2006 18:18:23 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30256-07-5 for ; Wed, 3 May 2006 18:18:18 +0200 (CEST) Original-Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by ronja.ntg.nl (Postfix) with SMTP id 2A31A127A7 for ; Wed, 3 May 2006 18:18:17 +0200 (CEST) Original-Received: from [127.0.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) (authenticated bits=0) by smtp-vbr17.xs4all.nl (8.13.6/8.13.6) with ESMTP id k43GIHE6088040 for ; Wed, 3 May 2006 18:18:17 +0200 (CEST) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27615 Archived-At: Hi Matthias, I would suggest to use \goto... Please look the details up in the widget-manual Kind regards Willi Matthias Weber wrote: >Dear all, > >I am trying to us \useURL and \from with mixed success to access a >local file so that it will be >opened by a helper program. Both the program and the file to be >opened by it >reside in my local file system. Here is a small example: > >\setupcolors[state=start] > >\setupinteraction >[state=start,color=blue] > > >\useURL[cycloids][{file://3dxm/cycloids.stng}][][3DXM] > >\starttext > >\inmargin{\from[cycloids]} >In this section, we study curves that are obtained by tracing a point >on a fixed circle while it is rolling along another circle. > >\stoptext > > > >cycloids.stng is a file, that, when double-clicked, starts a program >it is associated with. >For trying, you can replace it by any other file that uses a special >application to go with. > >Unfortunately, this *only* works with the pdf viewer in TeXShop (I am >on a Mac). >Preview doesn't do anything but beep, and Acrobat 6 offers a few >choices, none of which is to >open a helper application. Does anybody know if there is another way >of launching helper >applications when accessing documents? > >Also, while at it: When accessing local files, the URL appears to be >absolute. Is there a way to use >URLs relative to the location of the PDF that is referencing the URL? > >Thanks, > >Matthias >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context > >