Re: [NTG-context] attachment attaches twice - the fix was minimal

2011-04-29 Thread Michail Vidiassov
Dear Hans, when you fixed the bug with attachment being listed twice in the attachment list, you also enhanced attachment support On Mon, 28 Feb 2011, Hans Hagen wrote: as far as i can see there were a couple of issues: attachments without associated annotation, and labeling and both are

Re: [NTG-context] attachment attaches twice - the fix was minimal

2011-02-28 Thread Michail Vidiassov
Dear Hans, On Mon, 21 Feb 2011, Hans Hagen wrote: to be precise, the attachment is attached once but is listed twice by Adobe Reader. i'll patch lpdf-wid on one hand your patch fixes the bug that is in the Subj. of the thread, but it does just that and nothing more. It is a pity to see

Re: [NTG-context] attachment attaches twice - the fix was minimal

2011-02-28 Thread Hans Hagen
On 28-2-2011 8:52, Michail Vidiassov wrote: Dear Hans, On Mon, 21 Feb 2011, Hans Hagen wrote: to be precise, the attachment is attached once but is listed twice by Adobe Reader. i'll patch lpdf-wid on one hand your patch fixes the bug that is in the Subj. of the thread, but it does just

Re: [NTG-context] attachment attaches twice - the fix was minimal (?)

2011-02-28 Thread Michail Vidiassov
Dear Hans, On Mon, 28 Feb 2011, Hans Hagen wrote: to be precise, the attachment is attached once but is listed twice by Adobe Reader. i'll patch lpdf-wid on one hand your patch fixes the bug that is in the Subj. of the thread, this is a bit of a weird comment given that i haven't uploaded

Re: [NTG-context] attachment attaches twice - the fix was minimal (?)

2011-02-28 Thread Hans Hagen
On 28-2-2011 10:24, Michail Vidiassov wrote: Just tell us what that user-level extra keys/values are and we'll sing, dance and rejoice, being innocent of knowing what only the ConTeXt creator is to know. i posted those keys in a previous mail ... but there is no beta upload yet (will be

Re: [NTG-context] attachment attaches twice - more research

2011-02-26 Thread Hans Hagen
On 23-2-2011 12:35, Michail Vidiassov wrote: as far as I understand ConTeXt now can not link file attachment to arbitrary picture, just to some predefined icons. Am I right? you can use symbols (as with fields and other widgets) Is it going to change? Soon? There are comments in the code

Re: [NTG-context] attachment attaches twice - more research

2011-02-23 Thread Michail Vidiassov
Dear Hans, On Mon, 21 Feb 2011, Hans Hagen wrote: 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

Re: [NTG-context] attachment attaches twice - more research

2011-02-23 Thread Hans Hagen
On 23-2-2011 11:21, Michail Vidiassov wrote: to say the truth I do not understand what are you talking about :( Attachments have some history in pdf and each version was slightly different. The same is true for widgets. Some of that has to do with security issues, some with the fact that

Re: [NTG-context] attachment attaches twice - more research

2011-02-23 Thread Michail Vidiassov
Dear Hans, On Wed, 23 Feb 2011, Hans Hagen wrote: Attachments have some history in pdf and each version was slightly different. as far as I understand ConTeXt now can not link file attachment to arbitrary picture, just to some predefined icons. Am I right? Is it going to change? Soon?

Re: [NTG-context] attachment attaches twice

2011-02-20 Thread Michail Vidiassov
Dear All, to be precise, the attachment is attached once (can be seen if one inspects the sample PDF files in uncompressed form with any text or binary editor - if you do not have Adobe Acrobat), but is listed twice by Adobe Reader. Sincerely, Michail

Re: [NTG-context] attachment attaches twice

2011-02-20 Thread Reviczky, Adam
to be precise, the attachment is attached once (can be seen if one inspects the sample PDF files in uncompressed form with any text or binary editor - if you do not have Adobe Acrobat), but is listed twice by Adobe Reader. Thanks, but the question is still why the beta produces this while it

Re: [NTG-context] attachment attaches twice - more research

2011-02-20 Thread Michail Vidiassov
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

Re: [NTG-context] attachment attaches twice - more research

2011-02-20 Thread Hans Hagen
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

Re: [NTG-context] attachment attaches twice - please, do not fix by trimming

2011-02-20 Thread Michail Vidiassov
Dear Hans, On Mon, 21 Feb 2011, Hans Hagen wrote: to be precise, the attachment is attached once but is listed twice by Adobe Reader. code in lpdf-wid.lua sends everything to EmbeddedFiles - including files associated with a location on a page in the document i'll patch lpdf-wid it'd be

[NTG-context] attachment attaches twice

2011-02-19 Thread Reviczky, Adam
Hi I'm trying to use PDF attachments again, but run into some issues. Here's my small example (att.tex): %%% start %%% \setupinteraction[state=start] \starttext \useattachment[myfile][title][name][att.tex] \attachment[myfile] \stoptext %%% end %%% 1) Using context-current makes 1 attachment,