Generalmaking table of contents an index in pdf viewers

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
reakin
Posts: 2
Joined: Fri Jun 19, 2009 1:18 am

making table of contents an index in pdf viewers

Post by reakin »

Hi,

I have seen in various documents (such as the latex manual) an index in the panel of my pdf viewer (I use Evince or Okular) that is quite convenient. How do I add this to my document? I am using Emacs with Auctex to make pdf's via pdftex.

regards,
Rich

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: making table of contents an index in pdf viewers

Post by frabjous »

The hyperref package will do this automatically with pdflatex. There are some additional commands for fine tuning it.

Check out its documentation here:
http://www.tug.org/applications/hyperref/manual.html
reakin
Posts: 2
Joined: Fri Jun 19, 2009 1:18 am

Re: making table of contents an index in pdf viewers

Post by reakin »

Ah, I see after reading the manual that all I had to do was put the \usepackage{hyperref} command last in the loaded packages.. very nice.

cheers,
Rich
Post Reply