pdf attachments broken in latest minimal?
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. -- Jesse Alama http://centria.di.fct.unl.pt/~alama/
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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.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/
On 23-5-2011 12:40, Jesse Alama wrote:
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
there has been extensions / changes in the specs so one has to keep updating that kind of support, but as mkii is frozen changes like that only happen in mkiv
* 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?
just changes/additions to the spec Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Jesse Alama