ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jesse Alama <jesse.alama@gmail.com>
To: ntg-context@ntg.nl
Subject: query about referring to pdf attachments
Date: Mon, 23 May 2011 17:55:29 +0200	[thread overview]
Message-ID: <ire01h$bta$1@dough.gmane.org> (raw)

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	other threads:[~2011-05-23 15:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='ire01h$bta$1@dough.gmane.org' \
    --to=jesse.alama@gmail.com \
    --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).