Can one refer to PDF attachments as though they were local files?

I'd like to treat the PDF as a kind of rudimentary filesystem. Whatever is attached to the PDF can be found under the "root directory" of the PDF. One could then place hyperlinks to these files which, when followed, cause an attachment to be opened (say, a music player, a web browser, etc.). Ideally, one would be able to do something like this:

\useattachment[my-video][my-video.mpg]
\attachment[my-video]
\useURL[my-video-url][file:///my-video.mpg][][Awesome Video]
\starttext
Follow the link to \from[my-video-url]!
\stoptext

The "file:///my-video.mpg" URI is a guess; the idea is to somehow refer to a file placed in the PDF's "filesystem".

Jesse


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to