[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] linking table of contents in a dvi file



On Tue, Jul 05, 2005 at 02:15:30PM -0400, kamaraju kusumanchi wrote:
   > Is it possible to have links in the "table of contents" of a dvi file? 

Yes.   
   
   > I searched the web and thought that hyperref might be capable of doing 
   > this. However, the documentation of hyperref is so cryptic that I do not 
   > know whether it is capable of doing this.
   > 
For me just having the declaration \usepackage{hyperref} is giving a dvi
file which give 'clickable' table of contents. 
   
   > Any ideas and sample tex files which result in the above behaviour are 
   > more than welcome.
   > 
I am attaching both the tex and dvi file. Let me know whether it worked
for you.

Regards,

-- 
Sridhar M.A.                                 GPG KeyID : F6A35935
  Fingerprint: D172 22C4 7CDC D9CD 62B5  55C1 2A69 D5D8 F6A3 5935

You may be gone tomorrow, but that doesn't mean that you weren't here today.
\documentclass{book}
%
\usepackage[body={10cm,17cm}]{geometry}
\usepackage[dvips]{graphicx}
\usepackage{enumerate}
\usepackage{pifont}
\usepackage{textcomp}
\usepackage{hyperref}
\usepackage{comment}
\usepackage{setspace}


\begin{document}

\tableofcontents

\chapter{Intro}

asasakl akdakl dka dkl

\chapter{Some more intro}

asasa as9029 239 ru230r 

\chapter{Blah}

1212121921 913

\end{document}


\end{document}

Attachment: test.dvi
Description: TeX dvi file

Attachment: signature.asc
Description: Digital signature


Reply to: