[NTG-pdftex] \pdfcurrentannot (was: feature request)

Hans Hagen pragma@wxs.nl
Fri, 12 Mar 2004 16:37:16 +0100

At 15:35 12/03/2004, Martin Schr=F6der wrote:
>On 2004-02-14 22:28:21 +0100, Hans Hagen wrote:
> > Is it possible to have a primitive
> >
> >   \pdfcurrentannot
> >
> > which is set to to the object number of the current annotation (i.e. the
> > next \pdflastannot)
>Any progress on this?

\pdfannot reserveobjnum

\pdfannot useobjnum \pdflastannot {My annot}


\pdfpageref seems to be reasonable. When you refer to a page that
doesn't exists yet, a new page number will be reversed and returned. So
if you refer to some page that doesn't exist at all, the object referred
to will be a null object.

Hans =20