开发者

How can I generate a PDF index from pdfLaTeX? [closed]

开发者 https://www.devze.com 2023-01-05 18:34 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

开发者_如何学运维 Improve this question

I 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

0

精彩评论

暂无评论...
验证码 换一张
取 消