# [texhax] OT: Adobe goto page

Ron RJF Fehd ron.fehd.macro.maven at gmail.com
Sat Jan 4 16:03:20 CET 2014

```Here are some notes about hyperref that I discovered while debugging
minitoc not working by disabling hyperref.

I am using documentclass refrep to write a book.

One aspect of a book is frontmatter, which changes the page numbering
to roman for the introductory stuff before the chapters begin with page 1

these are the commands:

%begin frontmatter
\pagenumbering{roman}%i, ii, iii, iv, v
\include{front-matter}
%end frontmatter
%begin mainmatter
\pagenumbering{arabic}%1, 2 ...
\setcounter{page}{1}
\include{chapter-1}

** A document with hyperref has page numbers
from i--<whatever> and 1--LastPage.
so the number of page displayed is not equal to the displayed LastPage.
You can use the Adobe command GoTo Page
or <shift> <Ctrl> N
and use either the front matter roman numerals
or the main.matter arabic numbers to as the GoTo destination page number.

** without hyperref the pages are Adobe.numbered from one to Total.Pages
and the front.matter pages even though displayed as roman numerals are
located by the GoTo command with absolute document page.count numbers,
not the displayed page number.
This means that GoTo 3 gets you to page iii
and that last displayed page number is not the total number of pages in the
document.

Total number of pages is shown in the Adobe Tool Bar.