Karakas Online

7.2.6. The hyperref package

The hyperref package by Sebastian Rahtz und Heiko Oberdiek expands the cross-referencing capabilities of LaTeX introducing \special commands that can be interpreted by a driver (like pdfjadetex) to produce hypertext links to places in the same document (cross-references), other PDF documents, or even WWW pages.

We pass options to the hyperref package in the jadetex.cfg configuration file. Either the classic \usepackage, or the new \ hypersetup command can be used for this purpose. I use the latter. If you use the \ usepackage method, you should always specify the driver like in

\usepackage[pdftex]{hyperref}

In addition to the base URL, author, title, subject and keywords (which you have already set up correctly in Section 4.4), there are a lot of other options that can be set in jadetex.cfg (see Erstellung von pdf-Dokumenten mit LaTeX (in german) ):

The breaklinks option enables breaking of long hypertext links across lines, the linktopage option has the effect that only the page number (and not the chapter/section text) links to the relevant chapter or section. All possible link colour options are shown in Table 7-2. The frenchlinks option differentiates links from the rest of the text not through colours, but through small caps instead.

Table 7-2. Link colours with hyperref

Option

Standard colour

Meaning

linkcolor

red

internal links

anchorcolor

black

anchors

citecolor

green

citations

filecolor

magenta

links to files

menucolor

red

links to Acrobat® menus

pagecolor

red

links to page numbers

urlcolor

cyan

links to WWW pages

See Erstellung von pdf-Dokumenten mit LaTeX for more PDF options.

Last updated Mon Sep 24 01:19:25 CEST 2007 Permalink: http://www.karakas-online.de/mySGML/explain-hyperref.html All contents © 2002-2007 Chris Karakas