1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
|
README for hyperref bundle 2003/01/22
TABLE OF CONTENTS
=================
Introduction
Download
Installation
Additional Packages
New Features
Package Compatibility
Authors/Maintainers
Bugreports
Known Problems
ToDo
INTRODUCTION
============
This package is used to emend cross-referencing commands in LaTeX to
produce some sort of \special commands; there are backends for the
\special set defined for HyperTeX dvi processors, for embedded pdfmark
commands for processing by Acrobat Distiller (dvips and dvipsone), for
dviwindo, for pdfTeX, for TeX4ht, and for VTEX's pdf and HTML
backends.
Included are:
a) `backref' a package by David Carlisle to provide links back from
bibliography to the main text; these are hypertext links after using
hyperref.
b) `nameref' a package to allow reference to the *names* of sections rather
than their numbers.
Sebastian Rahtz <sebastian.rahtz@oucs.ox.ac.uk>
Heiko Oberdiek <oberdiek@ruf.uni-freiburg.de>
December 1994-March 2002
DOWNLOAD
========
`hyperref' is available on CTAN:
CTAN:macros/latex/contrib/supported/hyperref/
`CTAN:' means one of the `Comprehensive TeX Archive Network'
nodes or one of its mirrors. This is explained in
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=archives
The files are organized in three, sometimes four directories:
./
Root directory that contains `README', `.dtx',
and `.ins' files.
doc/
Directory for documentation files.
test/
Directory for some test files.
beta/
Sometimes this directory exists and contains
the latest beta/test versions of some files,
often `hyperref.dtx'.
The main repository of hyperref is located at the server
of the international `TeX User Group' (TUG). The hyperref
directory at the TUG server
http://www.tug.org/applications/hyperref/
contains the following files:
hyperref.zip
hyperref-doc.zip
hyperref-test.zip
hyperref-beta.zip
The files of the four directories, described above, are
packed into four ZIP archives, so that they can be easily
downloaded. (The ZIP files do not contain directories.)
manual.html
manual2.html
manual.css
HTML version of the quite old hyperref manual in `doc/manual.pdf'.
The CTAN stuff will be mirrored automatically from the
ftp server, so
ftp://ftp.tug.org/pub/tex/hyperref/
corresponds to
CTAN:macros/latex/contrib/supported/hyperref/
INSTALLATION
============
a) Download the hyperref files from CTAN or the TUG server.
If necessary, unpack them.
b) Replace the files by the counterparts in the beta directory,
if you want to use the latest versions.
c) Generate the package and driver files:
tex hyperref.ins
d) Install the files `*.sty', `*.def', and `*.cfg' in your TDS tree:
cp *.sty *.def *.cfg .../texmf/tex/latex/hyperref/
Replace `...' by the prefix of your TDS tree.
e) Update the databases if necessary, eg. for teTeX:
mktexlsr .../texmf
ADDITIONAL PACKAGES
===================
Depending on the driver, hyperref loads other packages:
* url.sty
CTAN:macros/latex/contrib/other/misc/url.sty
* keyval.sty, color.sty:
CTAN:macros/latex/required/graphics/
An uptodate pdftex.def is available at
http://www.tug.org/applications/pdftex/pdftex.def
CTAN:macros/pdftex/graphics/pdftex.def
NEW FEATURES
============
* Default driver setting (hyperref >= 6.72s).
If no driver is given, hyperref tries its best to guess the
most suitable driver. Thus it loads "hpdftex", if pdfTeX is
detected running in PDF mode. Or it loads the corresponding
VTeX driver for VTeX's working modes.
Unhappily many driver programs run after the TeX compiler,
so hyperref does not have a chance (dvips, dvipdfm, ...).
In this case driver "hypertex" is loaded that supports the
HyperTeX features that are recognized by xdvi for example.
This behaviour, however, can easily changed in the configuration
file "hyperref.cfg":
\providecommand*{\Hy@defaultdriver}{hdvips}
for dvips, or
\providecommand*{\Hy@defaultdriver}{hypertex}
for the default behaviour of hyperref.
PACKAGE COMPATIBILITY
=====================
Currently only package loading orders are available:
algorithm:
\usepackage{hyperref}
\usepackage[chapter]{algorithm}% eg.
cite:
This is from Mike Shell:
> cite.sty cannot currently be used with hyperref.
> However, I can do a workaround via:
>
> \makeatletter
> \def\NAT@parse{\typeout{This is a fake Natbib command to fool Hyperref.}}
> \makeatother
>
> \usepackage[hypertex]{hyperref}
>
> so that hyperref will not redefine any of the biblabel stuff - so cite.sty
> will work as normal - although the citations will not be hyperlinked, of
> course (But this may not be an issue for many people).
easyeqn: not compatible, breaks.
float:
\usepackage{hyperref}
\usepackage{float}
IEEEtran.cls:
version >= V1.6b (because of \@makecaption, see ChangeLog)
lastpage: compatible
natbib:
\usepackage{natbib}
\usepackage{hyperref}
nomencl:
Example for introducing links for the page numbers:
\renewcommand*{\pagedeclaration}[1]{\unskip, \hyperpage{#1}}
prettyref:
%%% example for prettyref %%%
\documentclass{article}
\usepackage{prettyref}
\usepackage[pdftex]{hyperref}
%\newrefformat{FIG}{Figure~\ref{#1}}% without hyperref
\newrefformat{FIG}{\hyperref[{#1}]{Figure~\ref*{#1}}}
\begin{document}
This is a reference to \prettyref{FIG:ONE}.
\newpage
\begin{figure}
\caption{This is my figure}
\label{FIG:ONE}
\end{figure}
\end{document}
%%% example for prettyref %%%
sidecap:
\usepackage{nameref}
\usepackage{hyperref}
\usepackage{sidecap}
subfigure 1995/03/06 v2.0:
\usepackage{subfigure}
\usepackage{hyperref}
% hypertexnames is set to false.
subfigure v2.1:
\usepackage{nameref}
\usepackage{subfigure}
\usepackage{hyperref}
or
\usepackage{hyperref}
\usepackage{subfigure}
subfigure v2.1.2:
please update
subfigure v2.1.3:
\usepackage{hyperref}
\usepackage{subfigure}
or vice versa?
titleref:
\usepackage{nameref}
\usepackage{titleref}% without usetoc
\usepackage{hyperref}
varioref:
\usepackage{nameref}
\usepackage{varioref}
\usepackage{hyperref}
vietnam:
% pd1enc.def should be loaded before package dblaccnt:
\usepackage[PD1,OT1]{fontenc}
\usepackage{vietnam}
\usepackage{hyperref}
AUTHORS/MAINTAINERS
===================
* Sebastian Rahtz <sebastian.rahtz@computing-services.oxford.ac.uk>
* Heiko Oberdiek <oberdiek@uni-freiburg.de>
BUGREPORTS
==========
A bug report should contain:
* Comprehensive problem description. This includes error or
warning messages.
* \errorcontextlines=\maxdimen can be added in the TeX code
to get more informations in TeX error messages.
* Minimal test file that shows the problem, but does not
contain any unnecessary packages and code.
* Used drivers/programs.
* Version information about used packages and programs.
* If you are using LaTeX, then add "\listfiles" to get
a list of version informations at the end of the
LaTeX run.
* Please no other files than the minimal test file.
The other files .log, .dvi, .ps, .pdf are seldom necessary,
so send them only on request.
Bug address: Heiko Oberdiek <oberdiek@uni-freiburg.de>
KNOWN PROBLEMS
==============
* (half-done) hyper images (link from thumbnail in text)
* ...
TODO
====
* modules
* bookmark organisation
* documentation
* PDF threads
* more for PDF forms
* per object setting
* vary gap between text and box
* ...
|