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.
Asked
Active
Viewed 278 times
7
Adam L. S.
- 1,083
1 Answers
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
\specialcannot be output after the last page. – Heiko Oberdiek Oct 10 '12 at 22:57\AtEndDocument, because the last page might already be output. – Heiko Oberdiek Oct 12 '12 at 00:42