ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jesse Alama <jesse.alama@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: pdf attachments broken in latest minimal?
Date: Mon, 23 May 2011 12:40:22 +0200	[thread overview]
Message-ID: <4DDA3996.3040906@gmail.com> (raw)
In-Reply-To: <4DD939F1.6070509@wxs.nl>

Hans Hagen wrote:
> On 21-5-2011 5:44, Jesse Alama wrote:
>> It seems that PDF attachments aren't working in the latest minimals:
>>
>> $ context --version
>>
>> mtx-context | main context file:
>> /Users/alama/context/tex/texmf-context/tex/context/base/context.mkiv
>> mtx-context | current version: 2011.05.18 22:26
>>
>> ========================================
>> \useattachment[busted][hi.txt]
>> \starttext
>> attachment here: \attachment[busted]
>> \stoptext
>> ========================================
>>
>> Prepending
>>
>> \setupinteraction[state=start]
>>
>> to the document, and the compiling with, say, xetex, results in a PDF
>> that has the attachment. But not with mkiv.
>
> fixed in next beta

Thanks.  I notice, by the way, that even with mkii, PDF attachments 
don't seem to function entirely correctly.  This might be due to a 
limitation of my PDF reader (I'm using Adobe Reader 10.0.3 on Mac OS X 
10.6), but with that minimal example, Reader says that

* the name of the attachment is "Unknown" (shouldn't it be "hi.txt"?)
* the "Description" is "hi.txt" (seems like that should be the name, not 
the description -- I'm not sure how to specify the description of an 
attached file)
* the "Modified", "Size", and "Compressed size" metadata all say 
"Unknown" (shouldn't at least "Size" have some sensible value?)
* clicking on the little attachment icon in the text does nothing, nor 
does explicitly selecting "Open attachment".

These might be bugs or limitations with Reader, but I'm not sure.  Can 
someone else confirm this behavior with attachments in mkii?

Thanks,

Jesse

-- 
Jesse Alama
http://centria.di.fct.unl.pt/~alama/

___________________________________________________________________________________
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 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-21 15:44 Jesse Alama
2011-05-22 16:29 ` Hans Hagen
2011-05-23 10:40   ` Jesse Alama [this message]
2011-05-23 13:27     ` Hans Hagen

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=4DDA3996.3040906@gmail.com \
    --to=jesse.alama@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).