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
___________________________________________________________________________________