Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
开发者_如何学运维 Improve this questionI often generate reports from pdfLaTeX using TeXworks, and would like to generate a document index, which will appear in the sidebar of a PDF viewer, (e.g. evince, Adobe Reader). Are there any packages which will allow me to do so?
Just add the following to the preamble of your document:
\usepackage[bookmarks]{hyperref}
The bookmarks option generates this "index" by adding bookmarks for sections and lists (of figures, of equations, and so on).
Besides, using this will turn references and urls inside the documents into links, making your document "browseable".
just wanted to add that this (using the package hyperref for getting the pdf-index) works when usig pdflatex and not when using latex->dvips->ps2pdf (don't know about the other alternatives)
i recently found out that using pdftex is apparently the best choice when you don't need the ps output
精彩评论