7

there are some PDF files that some reader displays the printed page number as the current page number. I also saw, that this can be achieved in latex with hyperref package. what I'm look for is what\special command I need to achieve the same result; I can't find it in the PDF reference.

Adam L. S.
  • 1,083

1 Answers1

8

The page labels are set in the /Catalog object:

\special{pdf:docview <</PageLabels<< ... >>>>}

Example: title, i, ii, 1, 2

\special{pdf:docview <</PageLabels<</Nums[0<</P(title)>>1<</S/r>>3<</S/D>>]>>>>}

In the PDF reference it can be found in section 12.4.2 Page Labels on page 374 (382 of 756).

Heiko Oberdiek
  • 271,626