ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: Michail Vidiassov <master@iaas.msu.ru>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: attachment attaches twice - more research
Date: Sun, 27 Feb 2011 00:22:11 +0100	[thread overview]
Message-ID: <4D698B23.3060800@wxs.nl> (raw)
In-Reply-To: <alpine.OSX.2.00.1102231420500.65648@macbook.local>

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 about
> lack of measurement support for XForm - is that the issue and what
> that issue is?

unrelated, more a dev note

> I have already met that complaints in 3D Annotations support code.
> BTW, I am interested in FileAttachment Annotations as a way to
> work with 3D models. With LaTeX the main PDF file may contain a 2D picture,
> that can be displayed in any PDF viewer, but if you click on it in Adobe
> viewer attached PDF file opens with 3D model in it. That attached file
> may be produced by some third-party tool, since often such tools output
> not just 3D model fit for including in PDF, but a one-page PDF with the
> 3D model, complex JavaScript to control it (for example to animate it)
> and some intarctive text related to the model.

I'm not sure what you mean here. There is some u3d and shockwave 
support. (I added u3d because someone asked it but the requester never 
tested it). Anyhow, these features are only extended when we (luigi and 
me) get proper public test files

Concerning attachments, the next beta will have a new definition model 
with inheritance but the \use.. method is still there as well.

The hidden method will not place an annotation. Definition is not really 
needed, so a direct \attachment works ok, but a bit of abstraction 
(separation between definition and use) does not hurt

% old but stil valid method (consistent with other \use):
%
% \useattachment[test.tex]
% \useattachment[whatever][test.tex]
% \useattachment[whatever][newname][test.tex]
% \useattachment[whatever][title][newname][test.tex]
%
% new method:
%
% \attachment[test.tex]
% \attachment[whatever1][file=test.tex]
% \attachment[whatever2][file=test.tex,method=hidden]
% \attachment[whatever3][name=newname,file=test.tex]
% \attachment[whatever4][title=mytitle,name=newname,file=test.tex]
%
% indirect
%
% \defineattachment[whatever5][file=test.tex] 
\attachment[whatever5][method=hidden]
% \defineattachment[whatever5][file=test.tex,method=hidden] 
\attachment[whatever5]
%
% direct (no definitions)
%
% \attachment[test][file=oeps.tex,title=Oeps,author=Hans,subtitle=TeX 
File,method=hidden]
% 
\attachment[label=test,file=oeps.tex,title=Oeps,author=Hans,subtitle=TeX 
File,method=hidden]
%
% autolabel:
%
% \attachment[file=oeps.tex,title=Oeps,author=Hans,subtitle=TeX 
File,method=hidden]
%
% % \setupattachments[\c!symbol={symbol-normal,symbol-down}]

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-26 23:22 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
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 [this message]
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=4D698B23.3060800@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=master@iaas.msu.ru \
    --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).