[pdftex] reference to current page object

Hans Hagen pragma at wxs.nl
Mon Aug 2 16:24:45 CEST 2004


Alexander Grahn wrote:

>Hello,
>
>Recently I wrote a multimedia inclusion package that works with
>latex/dvips/ps2pdf. Now I'm trying to make it pdftex aware. For this to
>accomplish I need to know:
>
>1.) How to reference the current page object.
>
>With pdfmarks this can easily be done using {ThisPage}. Is there some
>way to do this with pdftex, like
>
>    \the\pdfpage\space 0 R ?
>
>2.) How to reference an object which has not yet been defined.
>
>For some reason, the screen annotation containing the media clip has
>an entry (/A) where a reference to itself is required. How to do that?
>  
>
here i filter that number from the pdf file; the next (stable) release of pdftex will provide

\pdfpageref<pagenumber> 

so that you can say: 

\pdfpageref<pagenumber> 0 R 

Hans 



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the pdftex mailing list