ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* pdf attachments broken in latest minimal?
@ 2011-05-21 15:44 Jesse Alama
  2011-05-22 16:29 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jesse Alama @ 2011-05-21 15:44 UTC (permalink / raw)
  To: ntg-context

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/

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pdf attachments broken in latest minimal?
  2011-05-21 15:44 pdf attachments broken in latest minimal? Jesse Alama
@ 2011-05-22 16:29 ` Hans Hagen
  2011-05-23 10:40   ` Jesse Alama
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2011-05-22 16:29 UTC (permalink / raw)
  To: jesse.alama, mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pdf attachments broken in latest minimal?
  2011-05-22 16:29 ` Hans Hagen
@ 2011-05-23 10:40   ` Jesse Alama
  2011-05-23 13:27     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jesse Alama @ 2011-05-23 10:40 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pdf attachments broken in latest minimal?
  2011-05-23 10:40   ` Jesse Alama
@ 2011-05-23 13:27     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2011-05-23 13:27 UTC (permalink / raw)
  To: jesse.alama; +Cc: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-23 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-21 15:44 pdf attachments broken in latest minimal? Jesse Alama
2011-05-22 16:29 ` Hans Hagen
2011-05-23 10:40   ` Jesse Alama
2011-05-23 13:27     ` Hans Hagen

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).