[OS X TeX] What's in a page number?

Will Robertson will at guerilla.net.au
Tue Nov 16 03:48:50 CET 2004


On 16 Nov 2004, at 12:40 PM, Alain Schremmer wrote:

> I am not sure I understand the implication: Are you saying that the 
> hyperref package would do it?

I was a little wrong, but in essence yes, to an extent. I got the 
hyperref option wrong, though (should be [pdfpagelabels] instead of 
[plainpages=false]).

If you run the appended minimal document through pdflatex and open the 
output in Adobe Reader, the page numbering is shown as it appears in 
TeX (i,ii,iii,iv,1,2,3).

Oh, but I get error messages when I try to view the arabic numbered 
pages in Adobe Reader v6.0.2. It's beyond belief sometimes.

Anyway, the principle works, so maybe this is something that will also 
be able to be used in TeXShop when Mac OS X 10.4 is released. (TeXShop 
leverages Mac OS X technologies to display the PDF, so if Mac OS X 
doesn't support something, then TeXShop won't either.)

Will

\documentclass{memoir}
\usepackage[pdfpagelabels]{hyperref}
\begin{document}
\frontmatter
page i
\newpage page ii
\newpage page iii
\mainmatter
\newpage page 1
\newpage page 2
\newpage page 3
\end{document}

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list