[pdftex] ambiguous \pdfpageref

Alexander Grahn A.Grahn at fz-rossendorf.de
Tue Dec 7 10:30:34 CET 2004


within a latex macro package I need access to the PDF page object
number. It can be accessed using the command
    \pdfpageref\value{page}\space 0 R
But I run into problems if a roman numbered page `i' is followed by
an arabic numbered page `1'.

In both cases `\value{page}' yields `1' and consequently `\pdfpageref'
yields the same PDF page object number, although there are two physically
distinct pages.

How can I solve this problem?


Page object number: \pdfpageref\value{page}\\
Page object number: \pdfpageref\value{page}\\


m a i l t o : A . G r a h n @ f z - r o s s e n d o r f . d e

More information about the pdftex mailing list