ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: attachment attaches twice - more research
Date: Mon, 21 Feb 2011 01:11:00 +0100	[thread overview]
Message-ID: <4D61AD94.8020601@wxs.nl> (raw)
In-Reply-To: <alpine.OSX.2.00.1102210027380.61123@macbook.local>

On 20-2-2011 11:21, Michail Vidiassov wrote:
> Dear Developers,
>
> On Sun, 20 Feb 2011, Michail Vidiassov wrote:
>
>> to be precise, the attachment is attached once
>> but is listed twice by Adobe Reader.
>
> PDF spec states
> ----------
> An embedded file stream shall be included in a PDF document in one of
> the following ways:
> • Any file specification dictionary in the document may have an EF entry
> that specifies an embedded file stream. The stream data shall still be
> associated with a location in the file system. In particular, this
> method shall be used for file attachment annotations (see 12.5.6.15,
> "File Attachment Annotations"), which associate the embedded file with a
> location on a page in the document.
> • Embedded file streams may be associated with the document as a whole
> through the EmbeddedFiles entry (PDF 1.4) in the PDF document’s name
> dictionary (see 7.7.4, "Name Dictionary"). The associated name tree
> shall map name strings to file specifications that refer to embedded
> file streams through their EF entries.
> ----------
>
> while code in lpdf-wid.lua sends everything to EmbeddedFiles - including
> files associated "with a location on a page in the document" as in the
> examples in the originator's post.

i'll patch lpdf-wid but somehow I get the impression that it's more a 
viewer issue (the list shown seems to be a merge of filename as well as 
symbolic names while a clever list builder should look at the referred 
objects) ... but maybe no one else usesvdifferent symbolic names (we had 
similar issues with fields in the past and even now advanced field 
support is somewhat bugged one or the other way, depending on the viewer 
version, esp chained ones)

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
___________________________________________________________________________________

  reply	other threads:[~2011-02-21  0:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20  7:54 attachment attaches twice Reviczky, Adam
2011-02-20  9:40 ` Michail Vidiassov
2011-02-20 22:21   ` attachment attaches twice - more research Michail Vidiassov
2011-02-21  0:11     ` Hans Hagen [this message]
2011-02-21  5:49       ` attachment attaches twice - please, do not fix by trimming Michail Vidiassov
2011-02-22  5:25       ` \useattachment: Embedding files in PDFs - was "attachment attaches twice - more research" Michail Vidiassov
2011-02-23 10:21       ` attachment attaches twice - more research Michail Vidiassov
2011-02-23 10:46         ` Hans Hagen
2011-02-23 11:35           ` Michail Vidiassov
2011-02-26 23:22             ` Hans Hagen
2011-02-28  7:52       ` attachment attaches twice - the fix was minimal Michail Vidiassov
2011-02-28  8:46         ` Hans Hagen
2011-02-28  9:24           ` attachment attaches twice - the fix was minimal (?) Michail Vidiassov
2011-02-28  9:57             ` Hans Hagen
2011-04-29  7:24           ` attachment attaches twice - the fix was minimal Michail Vidiassov

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=4D61AD94.8020601@wxs.nl \
    --to=pragma@wxs.nl \
    --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).