I'd like to prepare a LaTeX file of a part of a larger volume, containing for example pages from 50 to 60. Is there a way to do it so that a pdf viewer does not display "1" but "50" on the first page and so on? I tried \setcounter{page}{49}, but it didn't work.
Asked
Active
Viewed 4,209 times
12
mbork
- 13,385
1 Answers
13
This can be achieved by loading the hyperref package. It will store the logical page numbers as page labels in the PDF. This also allows for non-numeric labels like roman numbers for the frontmatter.
Martin Scharrer
- 262,582
-
6If you don't want
hyperref's hyperlinks to show up, load it as\usepackage[hidelinks]{hyperref}. For more details on its various functions, check out thehyperrefmanual. – doncherry Jul 13 '11 at 21:31 -
Good point!
Since I'm only loading some pages from another pdf using the
– mbork Jul 13 '11 at 21:55pdfpagespackage, this is not needed in my case; but thanks anyway for the tip, I (or someone) might need it some day;), and the hyperref manual is rather large...
hyperrefdoes this for me. – Martin Scharrer Jul 12 '11 at 22:20