[pdftex] Page numbers in pdf file.

Bob Howlett rhowlett at mail.usyd.edu.au
Sun Feb 23 09:41:41 CET 2003


The following code arranges that the pages are
labelled i, ii, iii, 1, 2, ... etc.

\pdfcatalog{
     /PageMode /UseThumbs
     /PageLabels << /Nums [ 0 << /S /r >> 3 << /S /D >> ] >>
     } openaction goto page 1 {/FitH}

HTH

Bob Howlett

-----------------------


John Culleton wrote:
> On Saturday 22 February 2003 05:20, Martin Jansche wrote:
> 
>>On Sat, 22 Feb 2003, John Culleton wrote:
>>
>>>Is there a way to convince pdfetex to create a file where the
>>>assigned page number will also show up in the window of Acrobat
>>>Reader?
>>
>>I asked that same question a while back; Heiko and Sebastian answered
>>it.  In a nutshell, the easy way is to say
>>
>>  \usepackage[pdfpagelabels]{hyperref}
>>
>>A less straightforward way would be to set up /PageLabels directly
>>in \pdfcatalog{}.
>>
>>- martin
> 
> 
> Thanks for your reply.
> 
> Since I use pdfetex and not pdfelatex the second option is of
> interest. I tried 
> \pdfcatalog{/PageLabels}
> ...and the file processed successfully but Acrobat reader errored off
> with error 122. So can someone correct my code please?




More information about the pdftex mailing list