[pdftex] embedfile and links to children
Heiko Oberdiek
oberdiek at uni-freiburg.de
Sat Nov 4 12:09:57 CET 2006
On Sat, Nov 04, 2006 at 11:39:23AM +0100, Victor Ivrii wrote:
> On 11/4/06, Heiko Oberdiek <oberdiek at uni-freiburg.de> wrote:
> > On Sat, Nov 04, 2006 at 08:28:52AM +0100, Victor Ivrii wrote:
> >
> >
> > Attached files are identified by their file attachment annotations
> > and are identified
> > * by pair of absolute page number and number of the annotation
> > in the page (number of entry in /Annot) or
>
> It looks like if on the page 10 there are two annotations and on page
> 11 another two then the last annotation could be referred both as
>
> /P 10
> /A 1
>
> and
>
> /P 9
> /A 3
>
> Is it correct?
No. There are many kinds of annotations, e.g. links, urls, ...
Thus your last file attachment annotation could be
/A 13
or
/A 127
or
...
> > * by pair of absolute page number and name of the annotation
> > (/NM entry).
>
> I need to look at your code to understand how to name an annotation.
\attachfile[annotname={name}]{...}
> > > achievements in new oberdiek collection is that now one can give them
> > > `annotation names' (acting in the manner of equation \label so that
> > > new attachment does change numbers of all after it but it does not
> > > break links).
> >
> > It saves you from guessing the number in the /Annot array.
>
> But how to pass this to another attached pdf co it can refer to its
> sibling in the same without-the-guess way?
? If you use \label, you would also have to remember the name to use
it in \ref.
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the pdftex
mailing list