ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: Accessing local files to launch helper progam using \useURL and \from
Date: Wed, 03 May 2006 18:18:16 +0200	[thread overview]
Message-ID: <4458D7C8.30405@boede.nl> (raw)
In-Reply-To: <BC31F6CC-87F4-4D7B-AE90-4807800E5B41@indiana.edu>

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

  parent reply	other threads:[~2006-05-03 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-03  0:45 Matthias Weber
2006-05-03 12:39 ` Accessing local files -- more precise description Matthias Weber
2006-05-03 16:18 ` Willi Egger [this message]
2006-05-03 17:18   ` Accessing local files -- relative file names? Matthias Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4458D7C8.30405@boede.nl \
    --to=w.egger@boede.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).