[pdftex] Page numbers in pdf file.

Hans Hagen pragma at wxs.nl
Sat Feb 22 21:08:08 CET 2003


At 09:43 AM 2/22/2003 +0000, 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}

take a look at the pdf spec; as with all pdf things: you need pairs

/Key [array]
/Key <<dict>>
/Key /Value
/Key (string)
/Key n m R (pointer)

etc

Hans 



More information about the pdftex mailing list