Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I suppose this might also go on SuperUser, but I'm only interested in it insofar as implementing it in LaTeX, so I'll ask here.

I feel certain that I've seen PDF's where the actual PDF page number of (for example) the title page is not 1 or i, or any of the standard choices I know are possible in LaTeX, but rather the word "Title", like this:

enter image description here

(the numbering would then continue as usual, with the second page in the document being indicated as "1" in the white box, etc.)

This is only a mock-up, because unfortunately I can't find any examples of PDFs that are like this (perhaps I've only imagined it?) but hopefully I have specified the idea well enough, and I'd like to know if it's possible to do in LaTeX.

share|improve this question
1  
    
@cmhughes: Yes, but that appears only to deal with what is displayed on the page. I'm interested in specifying the metadata of the PDF so that a given page number is a word. –  Zev Chonoles Dec 5 '12 at 0:17
2  
@cmhughes Have you seen SE Comment Link Helper? ;) –  doncherry Dec 5 '12 at 5:06
    
@doncherry thanks, will bookmark it :) –  cmhughes Dec 5 '12 at 16:31

1 Answer 1

up vote 21 down vote accepted

Digging into hyperref source code, I discovered a macro of promising name: \thispdfpagelabel. I tried it with the following MWE:

\documentclass{article}
\usepackage{hyperref}
\usepackage{lipsum}
\begin{document}
\thispdfpagelabel{Test}
\lipsum
\newpage
\lipsum
\end{document}

Bingo! The resulting pdf has the pages numbered from 1 to 4, as usual, but Adobe Reader showed this in the status bar:

Screenshot

share|improve this answer
1  
Perfect, thanks! –  Zev Chonoles Dec 5 '12 at 1:44
    
TBH, I would never think Heiko made such stuff exist. –  yo' Dec 5 '12 at 8:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.