References to pages within \stepwise
Andreas Matthias <[email protected]> 06 Dec 2003 20:19:07 +0100
| Newsgroups | gmane.comp.tex.texpower.user |
|---|---|
| Message-ID | <[email protected]> |
I would like to put a PDF anchor on *every* page of a document.
Unfortunately, I cannot cope with pages created with \stepwise.
Only the last page of \stepwise gets an anchor; the others are
missed out. Here is a small example of what I tried:
\documentclass[a4paper]{article}
\usepackage[display]{texpower}
\usepackage{count1to,eso-pic}
\AddToShipoutPicture{%
\pdfdest name {XXX.\the\count1} fit
}
\begin{document}
\Huge testing
\stepwise{%
\step{step 1}
\step{step 2}
\step{step 3}%
}
\newpage
foo\newpage
bar\newpage
baz\newpage
%% \leavevmode
%% \pdfstartlink goto name {XXX.1} page 1\pdfendlink
%% \pdfstartlink goto name {XXX.2} page 2\pdfendlink
%% \pdfstartlink goto name {XXX.3} page 3\pdfendlink
%% \pdfstartlink goto name {XXX.4} page 4\pdfendlink\\
%% \pdfstartlink goto name {XXX.5} page 5\pdfendlink
%% \pdfstartlink goto name {XXX.6} page 6\pdfendlink
%% \pdfstartlink goto name {XXX.7} page 7\pdfendlink
\end{document}
The names entry in the document's catalog looks like that:
/Names [(XXX.4) 20 0 R (XXX.5) 24 0 R (XXX.6) 28 0 R (XXX.7) 32 0 R]
(XXX.1), (XXX.2), and (XXX.3) are missing. Does anyone know how to
create references to the first three pages?
Ciao
Andreas
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/