[pdftex] pdfscreen and table of contents

James Haefner jhaefner at biology.usu.edu
Thu Sep 11 00:58:36 CEST 2003

Does anyone know how to do the following?
I want to create a screen version of a document using pdfscreen where the first 
page has a table of contents (with links to the sections and subsections, of 
course) AND the paneltoc also appears listing the table of contents, but not as 
a regular section.  That is, I want:
First Page to look like:
   link to section 1
     link to subsection 1.1
   link to section 2
     link to subsection 2.1
     link to subsection 2.2
   link to section3

and the paneltoc looks like:
Section 1
Section 2
Section 3

The pdfscreen manual says not to use tableofcontents with the paneltoc option.
The following workaround code sort of works, but it is very tedious and 
error-prone to make the Contents section.

     \item \hyperref[sec1]{Section Bobs}
         \item \hyperref[sBob]{sub Bobs}
     \item \hyperref[sec2]{Section Your}
         \item \hyperref[sEmily]{sub Your}
     \item \hyperref[sec3]{Section Uncle}
\section{Sec Bob}\label{sec1}
\section{Sec Your}\label{sec2}
\section{Sec Uncle}\label{sec3}

James W. Haefner             Email: jhaefner at biology.usu.edu
Dept Biology/Ecology Center  Voice: 435-797-3553
Utah State University        FAX:   435-797-1575
Logan, UT 84322-5305
Favorite URL: http://www.mauirealestate.net/video.html

More information about the pdftex mailing list