True WYSIWYG LaTeX System
Windows     Mac     Linux  

Document Files.

backref.pdf2010/03/22  257 KiBTitle...
options.pdf2010/03/22  41 KiBTitle...
hyperref.pdf2010/03/22  3.52 MiBTitle...
nameref.pdf2010/03/22  248 KiBTitle...
paper.pdf2010/03/22  129 KiBTitle...
readme.pdf2010/03/22  278 KiBTitle...
changelog.pdf2010/03/22  299 KiBTitle...
slides.pdf2010/03/22  375 KiBTitle...
manual.pdf2010/03/22  518 KiBTitle...



README for hyperref bundle, 2009/10/09


1 Introduction
2 Download
3 Installation
4 Additional Packages
5 New Features
6 Package Compatibility
7 Limitations
8 Hints
9 Authors/Maintainers
10 Bug Reports
11 Known Problems
12 ToDo
13 Versions in TeX distributions


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 dvipdfm, for TeX4ht, and for VTEX's pdf and HTML

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
b) nameref' a package to allow reference to the *names* of sections rather
   than their numbers.


`hyperref' is available on CTAN:

Also a ZIP file is provided that contains the files, already sorted
in a TDS tree:

`CTAN:' means one of the `Comprehensive TeX Archive Network'
nodes or one of its mirrors.  This is explained in

The files are organized in three, sometimes four directories:
    Root directory that contains `README', `.dtx',
    and `.ins' files.
    Directory for documentation files.
    Directory for some test files.

The main repository of hyperref is located at the server
of the international `TeX User Group' (TUG). The hyperref
directory at the TUG server
contains the following files:
    HTML version of the quite old hyperref manual in `doc/manual.pdf'.

The CTAN stuff will be mirrored automatically from the
ftp server, so
corresponds to


Installation with ZIP file in TDS format
The ZIP file `' contains the files sorted
in a TDS tree. Thus you can directly unpack the ZIP file
inside a TDS tree. (See for an explanation of TDS.)
  cd /...somewhere.../texmf
  unzip /...downloadpath.../
Do not forget to refresh the file name database of this TDS tree,
  texhash /...somewhere.../texmf

Manual installation
a) Download the hyperref files from CTAN or the TUG server.
   If necessary, unpack them.
b) If directory `beta' exists, replace the files by the counterparts
   in this 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 TDS:tex/latex/hyperref/
   Replace `TDS:' by the prefix of your TDS tree (texmf directory).
   The exception is bmhydoc.sty, it belongs to the source files
e) Copy the documentation files to "TDS:doc/latex/hyperref/":
   manual.pdf, README, README.pdf, ChangeLog, ChangeLog.pdf,
   slides.pdf, paper.pdf, options.pdf, hyperref.pdf, backref.pdf,
   nameref.pdf (Also the HTML version of the manual can be put there.)
f) Update the databases if necessary, eg. for teTeX:
     mktexlsr .../texmf


Depending on the driver and option settings, hyperref loads
other packages:
* atbegshi.sty:
* backref.sty (loaded by option `backref' or `pagebackref'):
* bigintcalc.sty (loaded by package `bitset'):
* bitset.sty:
* color.sty (loaded by option `colorlinks'):
* etexcmds.sty:
* hycolor.sty:
* infwarerr.sty (loaded by packages `etexcmds', `stringenc',
  `atbegshi', `bitset'):
* ifpdf.sty (loaded by package `atbegshi'):
* ifvtex.sty:
* ifxetex.sty:
* intcalc.sty (loaded by package `bitset'):
* keyval.sty
* kvoptions.sty:
* kvsetkeys.sty:
* memhfixc.sty (loaded if class `memoir' is loaded):
* nameref.sty:
* pdfescape.sty (loaded by package `stringenc'):
* pdftexcmds.sty
* refcount.sty (loaded by package `nameref')
* stringenc.sty:
* tex4ht.sty (loaded by option `tex4ht'):
* url.sty
* vtexhtml.sty (loaded if VTeX is used in HTML mode)
* xcolor-patch.sty (loaded by package `hycolor')


  If a Unicode character is not supported by puenc.def, it can
  be given by using \unichar. It's name and syntax is inherited
  from package `ucs'. However it is defined independently for
  use in hyperref's \pdfstringdef (that converts arbitrary
  TeX code to PDF strings or tries to do this).

  Macro \unichar takes a TeX number as argument,
  examples for U+263A (WHITE SMILING FACE):
    \unichar{"263A}% hexadecimal notation
    \unichar{9786}% decimal notation
  `"' must not be a babel shorthand character or otherwise
  active. Otherwise prefix it with \string:
    \unichar{\string"263A}% converts `"' to `"' with catcode 12 (other)
  Users of (n)german packages or babel options may use \dq instead:
    \unichar{\dq 263A}% \dq is double quote with catcode 12 (other)

  Some features of the PDF specification needs PDF strings.
  Examples are bookmarks or the entries in the information dictionary.
  The PDF specification allows two encodings `PDFDocEncoding'
  (8-bit encoding) and `Unicode' (UTF-16). The user can help
  using \texorpdfstring to replace complicate TeX constructs
  by a representation for the PDF string. However \texorpdfstring
  does not distinguish the two encodings. This gap closes
  \ifpdfstringunicode. It is only allowed in the second argument
  of \texorpdfstring and takes two arguments, the first allows
  the full range of Unicode. The second is limited to the
  characters available in PDFDocEncoding.

  As example we take a macro definition for the Vietnamese
  name of Han The Thanh. Correctly written it needs some
  accented characters, one character even with a double accent.
  Class `tugboat.cls' defines a macro for the typesetted name:
      Th\^e\llap{\raise 0.5ex\hbox{\'{}}}%
  It's not entirely correct, the second accent over the `e' is not
  an acute, but a hook. However standard LaTeX does not provide
  such an accent.
    Now we can extend the defintion to support hyperref.
  The first and the last word are already supported automatically.
  Characters with two or more accents are a difficult business in
  LaTeX, because the NFSS2 macros of the LaTeX kernel do not support
  more than one accent. Therefore also puenc.def misses support for
  them. But we can provide it using \unichar. The character
  in question is:
  Thus we can put this together:
      \texorpdfstring{Th\^e\llap{\raise 0.5ex\hbox{\'{}}}}%
  For PDFDocEncoding (PD1) the variant above has dropped the
  second accent. Alternatively we could provide a representation
  without accents instead of wrong accents:
        Th\^e\llap{\raise 0.5ex\hbox{\'{}}}}%
          H\`an Th\unichar{"1EC3} Th\`anh%
          Han The Thanh%

Customizing index style file with \nohyperpage
  Since version 2008/08/14 v6.78f.

  For hyperlink support in the index, hyperref inserts \hyperpage
  into the index macros. After processing with Makeindex, \hyperpage
  analyzes its argument to detect page ranges and page comma lists.
  However, only the standard settings are supported directly:
    delim_r "--"
    delim_n ", "
  (See manual page/documentation of Makeindex that explains
  the keys that can be used in style files for Makeindex.)
  Customized versions of
    delim_r, delim_n, suffix_2p, suffix_3p, suffix_mp
  needs markup that \hyperpage can detect and knows that
  this stuff does not belong to a page number. Makro
  \nohyperpage serves as this markup. Put the customized
  code for these keys inside \nohyperpage, e.g.:
    suffix_2p "\\nohyperpage{f.}"
    suffix_3p "\\nohyperpage{ff.}"
  (Depending on the typesetting tradition some space "\\," or "~"
  should be put before the first f inside \nohyperpage.)

Expert feature \HyperDestNameFilter
  Since version 2008/07/16 v6.78c.

  Each anchor name and inner link name is put through
  filter \HyperDestNameFilter. The default behaviour is
  to let the name unchanged:
  It can be redefined to prepend or append something,
  to avoid name collisions if several files are
  merged together.

  For example, two documents with hyperref can be generated
  using different prefixes for destination names. Then it is
  easier to merge them with 'dviconcat' or other merge utilities.

Experimental option `ocgcolorlinks'
  The idea are colored links, when viewed, but printed without colors.
  This new experimental option `ocgcolorlinks' uses Optional Content
  Groups, a feature introduced in PDF 1.5.
  * The option must be given for package loading:
  * Main disadvantage: Links cannot be broken across lines.
    PDF reference 1.7: 4.10.2 "Making Graphical Content Optional":
      Graphics state operations, such as setting the color, ...,
      are still applied.
    Therefore the link text is put in a box and set twice, with and
    without color.
  * The feature can be switched of by \hypersetup{ocgcolorlinks=false}
    inside the document.
  * Supported drivers: pdftex, dvipdfm
  * The PDF version should be at least 1.5. It is automatically
    set for pdfTeX. Users of dvipdfmx set the version on the command
    line: dvipdfmx -V 5

Option `pdfa'
  The new option `pdfa' tries to avoid violations of PDF/A in code
  generated by hyperref. However, the result is usually not in PDF/A,
  because many features aren't controlled by hyperref (XMP metadata,
  fonts, colors, driver dependend low level stuff, ...).

  Currently, option `pdfa' sets and disables the following items:
  * Enabled annotation flags: Print, NoZoom, NoRotate [PDF/A 6.5.3].
  * Disabled annotation flags: Hidden, Invisible, NoView [PDF/A 6.5.3].
  * Disabled: Launch action (\href{run:...} [PDF/A 6.6.1].
  * Restricted: Named actions (\Acrobatmenu: NextPage, PrevPage,
    FirstPage, LastPage) [PDF/A 6.6.1].
  * Many things are disabled in PDF formulars:
    * JavaScript actions [PDF/A 6.6.1]
    * Trigger events (additional actions) [PDF/A 6.6.2]
    * Push button (because of JavaScript)
    * Interactive Forms: Flag NeedAppearances is the default `false'
      (Because of this, hyperref's implementation of Forms looks ugly).
      [PDF/A 6.9]

  The default value of the new option `pdfa' is `false'. It influences
  the loading of the package and cannot be changed after hyperref is
  loaded (\usepackage{hyperref}).

  * XMP support
  * ...
  But perhaps Adobe Acrobat is now happy and can now convert
  the PDF file to PDF/A.

Option `linktoc' added
  The new option `linktoc' allows more control which part
  of an entry in the table of contents is made into a link:
  * `linktoc=none'    (no links)
  * `linktoc=section' (default behaviour, same as `linktocpage=false')
  * `linktoc=page'    (same as `linktocpage=true')
  * `linktoc=all'     (both the section and page part are links)

Option `pdfnewwindow' changed
  Before 6.77b:
  * pdfnewwindow=true --> /NewWindow true
  * pdfnewwindow=false --> (absent)
  * unused pdfnewwindow --> (absent)
  Since 6.77b:
  * pdfnewwindow=true --> /NewWindow true
  * pdfnewwindow=false --> /NewWindow false
  * pdfnewwindow={} --> (absent)
  * unused pdfnewwindow --> (absent)

  Rationale: There is a difference between setting to `false'
  and an absent entry. In the former case the new document
  replaces the old one, in the latter case the PDF viewer
  application should respect the user preference.

Flag options for PDF forms
  PDF form field macros (\TextField, \CheckBox, ...) support
  boolean flag options. The option name is the lowercase
  version of the names in the PDF specification (1.7):
  Options (convert to lowercase) except flags in square brackets:
  * Table 8.16 Annotation flags (page 608):
    1 Invisible
    2 Hidden (PDF 1.2)
    3 Print (PDF 1.2)
    4 NoZoom (PDF 1.3)
    5 NoRotate (PDF 1.3)
    6 NoView (PDF 1.3)
    [7 ReadOnly (PDF 1.3)] ignored for widget annotations, see table 8.70
    8 Locked (PDF 1.4)
    9 ToggleNoView (PDF 1.5)
    10 LockedContents (PDF 1.7)
  * Table 8.70 Field flags common to all field types (page 676):
    1 ReadOnly
    2 Required
    3 NoExport
  * Table 8.75 Field flags specific to button fields (page 686):
    15 NoToggleToOff (Radio buttons only)
    16 Radio (set: radio buttons, clear: check box, pushbutton: clear)
    17 Pushbutton
    26 RadiosInUniso (PDF 1.5)
  * Table 8.77 Field flags specific to text fields (page 691):
    13 Multiline
    14 Password
    21 FileSelect (PDF 1.4)
    23 DoNotSpellCheck (PDF 1.4)
    24 DoNotScroll (PDF 1.4)
    25 Comb (PDF 1.5)
    26 RichText (PDF 1.5)
  * Table 8.79 Field flags specific to choice fields (page 693):
    18 Combo (set: combo box, clear: list box)
    19 Edit (only useful if Combo is set)
    20 (Sort) for authoring tools, not PDF viewers
    22 MultiSelect (PDF 1.4)
    23 DoNotSpellCheck (PDF 1.4) (only useful if Combo and Edit are set)
    27 CommitOnSelChange (PDF 1.5)
  * Table 8.86 Flags for submit-form actions (page 704):
    [1 Include/Exclude] unsupported, use `noexport' (table 8.70) instead
    2 IncludeNoValueFields
    [3 ExportFormat] handled by option `export'
    4 GetMethod
    5 SubmitCoordinates
    [6 XFDF (PDF 1.4)] handled by option `export'
    7 IncludeAppendSaves (PDF 1.4)
    8 IncludeAnnotations (PDF 1.4)
    [9 SubmitPDF (PDF 1.4)] handled by option `export'
    10 CanonicalFormat (PDF 1.4)
    11 ExclNonUserAnnots (PDF 1.4)
    12 ExclFKey (PDF 1.4)
    14 EmbedForm (PDF 1.5)

  New option `export' sets the export format of a submit action.
  Valid values are (upper- or lowercase):
  * FDF
  * HTML
  * XFDF
  * PDF (not supported by Acrobat Reader)

Option `pdfversion'
  This is an experimental option. It notifies `hyperref' about
  the intended PDF version. Currently this is used in code for
  PDF forms (implementation notes 116 and 122 of PDF spec 1.7).

  Values: 1.2, 1.3, 1.4, 1.5, 1.6, 1.7. Values below 1.2 are not
  supported, because most drivers expect higher PDF versions.

  The option must be used early, not after \usepackage{hyperref}.

  In theory this option should also set the PDF version,
  but this is not generally supported.
  * pdfTeX below 1.10a: unsupported.
    pdfTeX >= 1.10a and < 1.30: \pdfoptionpdfminorversion
    pdfTeX >= 1.30: \pdfminorversion
  * dvipdfm: configuration file, example:
    TeX Live 2007, texmf/dvipdfm/config/config, entry `V 2'.
  * dvipdfmx: configuration file, example:
    TeX Live 2007, texmf/dvipdfm/dvipdfmx.cfg, entry `V 4'.
  * Ghostscript: option -dCompatibilityLevel (this is set in
    `ps2pdf12', `ps2pdf13', `ps2pdf14').

  The current PDF version is used as default if this version
  can be detected (only pdfTeX >= 1.10a). Otherwise the lowest
  version 1.2 is assumed. Thus `hyperref' tries to avoid PDF code
  that breaks this version, but is free to use ignorable higher PDF

Field option `name'
  Many form objects uses the label argument
  for several purposes:
  * Layouted label.
  * As name in HTML structures.
  Code that is suitable for layouting with TeX can
  break in the structures of the output format.
  If option `name' is given, then its value is used
  as name in the different output structures. Thus
  the value should consist of letters only.

Option `pdfencoding'
  The PDF format allows two encodings for bookmarks and entries
  in the information dictionary: PDFDocEncoding and Unicode
  as UTF-16BE. Option "pdfencoding" selects between these encodings:
  * "pdfdoc" uses PDFDocEncoding. It uses just one byte per character,
     but the supported characters are limited (244 in PDF-1.7).
  * "unicode" sets Unicode. It is encoded as UTF-16BE. Two bytes
    are used for most characters, surrogates need four bytes.
  * "auto" PDFDocEncoding if the string does not contain characters
    outside the encoding and Unicode otherwise.

Color options/package hycolor
  See documentation of package `hycolor'.

Option pdfusetitle
  If option pdfusetitle is set then hyperref tries to
  derive the values for pdftitle and pdfauthor from
  \title and \author. An optional argument for \title and
  \author is supported (class amsart).

Starred form of \autoref
  \autoref* generates a reference without link as \ref* or \pageref*.

Link border style
  Links can be underlined instead of the default rectangle or
  options "colorlinks", "frenchlinks". This is done by option
      pdfborderstyle={/S/U/W 1}

  Some remarks:

  * AR7/Linux seems to have a bug, that don't use the default
    value "1" for the width, but zero, thus that the underline
    is not visible without "/W 1". The same applies for
    dashed boxes, eg.:
      pdfborderstyle={/S/D/D[3 2]/W 1}

  * The syntax is described in the PDF specification, look for
    "border style", eg.
    Table 8.13 "Entries in a border style dictionary"
    (specification for version 1.6)

  * The border style is removed by
    This is automatically done if option colorlinks is enabled.

  * Be aware that not all PDF viewers support this feature, not
    even Acrobat Reader itself:

    Some support:
    * AR7/Linux: "underline" and "dashed", but the border width
      must be given.
    * xpdf 3.00: "underline" and "dashed"

    * AR5/Linux
    * ghostscript 8.50

Option "bookmarksdepth"
  The depth of the bookmarks can be controlled by the new
  option "bookmarksdepth".  The option acts globally and
  distinguishes three cases:
  * "bookmarksdepth" without value
     Then hyperref uses the current value of counter "tocdepth".
     This is the compatible behaviour and the default.
  * "bookmarksdepth=", the value is number (also negative):
    The depth for the bookmarks are set to this number.
  * "bookmarksdepth="
    The  is a document division name (part, chapter, ...).
    It must not start with a digit or minus to avoid mixing up
    with the number case. Internally hyperref uses the value
    of macro "\toclevel@".
    \hypersetup{bookmarksdepth=4} % same as before
    \hypersetup{bookmarksdepth} % counter "tocdepth" is used

Option "pdfescapeform"
  There are many places where arbitrary strings end up as
  PS or PDF strings. The PS/PDF strings in parentheses form
  require the protection of some characters, e.g. unmatched
  left or right parentheses need escaping or the escape
  character itself (backslash).
    Since 2006/02/12 v6.75a the PS/PDF driver should do
  this automatically. However I assume a problem with
  compatibility, especially regarding the form part where
  larger amounts of JavaScript code can be present.
  It would be a pain to remove all the escaping, because
  an additional escaping layer can falsify the code.

  Therefore a new option pdfescapeform was introduced:
  * pdfescapeform=false
    Escaping for the formulars are disabled, this is
    the compatibility behaviour, therefor this is the default.
  * pdfescapeform=true
    Then the PS/PDF drivers do all the necessary escaping.
    This is the logical choice and the recommended setting.
    For example, the user writes JavaScript as JavaScript
    and do not care about escaping characters for PS/PDF

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 be changed in the configuration
  file "hyperref.cfg":
  for dvips, or
  for the default behaviour of hyperref.

Backref entries
  Alternative interface for formatting of backref entries, example:



% Some language options are detected by package backref.
% This affects the following macros:
%   \backrefpagesname
%   \backrefsectionsname
%   \backrefsep
%   \backreftwosep
%   \backreflastsep

  % default interface
  % #1: backref list
  % We want to use the alternative interface,
  % therefore the definition is empty here.
  % alternative interface
  % #1: number of distinct back references
  % #2: backref list with distinct entries
  % #3: number of back references including duplicates
  % #4: backref list including duplicates
  #3 citation(s) on #1 page(s): #2,\par
  \ifnum#1=1 %
    \ifnum#3=1 %
      1 citation on page %
      #3 citations on page %
    #3 citations on #1 pages %
  \ifnum#3=1 %
    1 citation located at page %
    #3 citations located at pages %


    \cite{ref1, ref2, ref3, ref4}
    \cite{ref1, ref3}

  \section{Next section}

  \section{Last section}
    \cite{ref1, ref2}

    \bibitem{ref1} Dummy entry one.

    \bibitem{ref2} Dummy entry two.

    \bibitem{ref3} Dummy entry three.

    \bibitem{ref4} Dummy entry four.



Set an anchor at this location.  It is often used in conjunction
with \addcontentsline for sectionlike things (index, bibliography,
preface). \addcontentsline refers to the latest previous location
where an anchor is set.


Now the entry in the table of contents (and bookmarks) for the
index points to the start of the index page, not to a location
before this page.

See manual.


Currently only package loading orders are available:

Note: hyperref loads package "nameref" at \begin{document}.
Sometimes this is too late, thus this package must be loaded

  \usepackage[chapter]{algorithm}% eg.

  The environments equation and eqnarray are not supported too well.
  For example, there can be spacing problems. Consider using the
  environments that package amsmath provide, e.g. gather for equation.
  The environment equation can even redefined to use gather:


  Package loading order:


arydshln, longtable
  Package longtable must be put before hyperref and arydshln,
  hyperref after arydshln generates an error, thus the
  resulting package order is then:


  The old version 2005/03/30 v1.4j will not work.
  You need at least version 1.5, maintained by P\'eter Szab\'o,
  see CTAN:language/hungarian/babel/.






  Package chappg uses \@addtoreset that is redefined by hyperref.
  The package order is therefore:


  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).

  pd1enc.def or puenc.def should be loaded before:
  or see entry for "vietnam".

  Not compatible, breaks.

  This packages redefines \textellipsis, thus it has to be loaded
  after package hyperref (pd1enc.def/puenc.def should be loaded before):


  * Several \caption commands are not supported inside one float object.
  * Anchor are set at top of the float object, if its style is controlled
    by float.sty.


  Update to version 2008/01/28 v2.1.4b:
  Since version 6.77a hyperref does not hack into \@begindvi,
  it uses package `atbegshi' instead, that hooks into \shipout.
  Thus the patch of `foils.cls' regarding hyperref is now obsolete
  and causes an undefined error message about \@hyperfixhead.
  This is fixed in FoilTeX 2.1.4b.

  This package is not supported, you have to disable hyperref's footnote
  support by using option "hyperfootnotes=false".

  Driver `dvipdfm' and program `dvipdfm' might generate a warning:
      Sorry.  Too late to change page size
  Then prefer the program `dvipdfmx' or use one of the following
  workarounds to move the \special of geometry to an earlier

    \documentclass[dvipdfm]{article}% or other classes


    \documentclass[dvipdfm]{article}% or other classes

  version >= V1.6b (because of \@makecaption, see ChangeLog)

  version >= 1995/09/28 v4.1 (because of \addcontentsline redefinition)





  Both `mathenv' and `hyperref' messes around with
  environment `eqnarray'. You can load `mathenv' after
  `hyperref' to avoid an error message. But \label
  will not work inside environment `eqnarray' properly,
  for example.

  This package is obsolete, use the uptodate original
  package minitoc instead.



  * Example for introducing links for the page numbers:
      \renewcommand*{\pagedeclaration}[1]{\unskip, \hyperpage{#1}}

  * For equations the following might work:
    But the mapping from the equation number to the anchor name
    is not available in general.

%%% example for prettyref %%%

%\newrefformat{FIG}{Figure~\ref{#1}}% without hyperref

  This is a reference to \prettyref{FIG:ONE}.
    \caption{This is my figure}
%%% example for prettyref %%%

  ntheorem-hyper.sty is an old patched version of ntheorem.sty.
  Newer versions of ntheorem know the option hyperref:
  But there are still unsolved problems (options thref, ...).


  Before 2002/05/24 v1.5h:

  1995/03/06 v2.0:
    % hypertexnames is set to false.
    please update
    or vice versa?

  \usepackage{titleref}% without usetoc

  "nameref" supports titlesec, but hyperref does not
  (unsolved is the anchor setting, missing with unnumbered
  section, perhaps problems with page breaks with numbered ones).

  The first time a multibyte UTF8 sequence is called, it
  does some calculations and stores the result in a macro
  for speeding up the next calls of that UTF8 sequence.
  However this makes the first call non-expandable and
  will break if used in information entries or bookmarks.
  Package "ucs" offers \PrerenderUnicode or \PreloadUnicodePage
  to solve this:
    \usepackage{hyperref}% or with option unicode
    \PrerenderUnicode{^^c3^^b6}% or \PrerenderUnicodePage{1}
    \hypersetup{pdftitle={Umlaut example: ^^c3^^b6}}
  The notation with two carets avoids trouble with 8-bit bytes
  for the README file, you can use the characters directly.

  There are too many problems with varioref. Nobody has time to
  sort them out. Therefore this package is now unsupported.

  Perhaps you are lucky and some of the features of varioref works
  with the following loading order:

  Also some babel versions can be problematic. For exmample,
  2005/05/21 v3.8g contains a patch for varioref that breaks
  the hyperref support for varioref.

  Also unsupported:
  * \Ref, \Vref do not uppercase the first letter.
  * \vpageref[]{...}
    On the same page a previous space is not suppressed.

  Version 2005/08/22 v2.22 contains support for hyperref.

  For older versions see example from
  de.comp.text.tex (2005/08/11, slightly modified):


  % package order does not matter

  % make unique poemline anchors

  % add anchor for before \addcontentsline in \@vsptitle


  \poemtitle{Poem 1}
  An one-liner.


  \poemtitle{Poem 2}
  Another one-liner.


  % pd1enc.def should be loaded before package dblaccnt:


Wrapped/broken link support
  Only few drivers support automatically wrapped/broken links,
  e.g. pdftex, dvipdfm, hypertex. Other drivers lack this
  feature, e.g. dvips, dvipsone.

  * For long section or caption titles in the table of contents
    or list of figures/tables option "linktocpage" can be used.
    Then the page number will be a link, and the overlong section
    title is not forced into an one line link with overvull \hbox
  * "\url"s are caught by package "breakurl".
  * The option "breaklinks" is intended for internal use. But it
    can be used to force link wrapping, e.g. when printing a
    document. However, when such a document is converted to PDF
    and viewed with a PDF viewer, the active link area will be
      Another limitation: some penalties are "optimized" by TeX,
    thus there are missing break points, especially within
    \url. (See thread "hyperref.sty, breaklinks and url.sty 3.2"
    in comp.text.tex 2005-09).


Spaces in option values
  Unhappily LaTeX strips spaces from options if they are given
  in \documentclass or \usepackage (or \RequirePackage), e.g.:
    \usepackage[pdfborder=0 0 1]{hyperref}
  Package hyperref now gets
  and the result is an invalid PDF file.
  As workaround braces can be used:
    \usepackage[pdfborder={0 0 1}]{hyperref}
  Some options can also be given in \hypersetup:
    \hypersetup{pdfborder=0 0 1}
  In \hypersetup the options are directly processed as key value
  options (see package keyval) without space stripping in the value part.

  Alternatively, LaTeX's option handling system can be adapted
  to key value options by one of the packages "kvoptions-patch"
  (from project "kvoptions") or "xkvltxp" (from project "xsetkeys").

Index with makeindex
  * Package hyperref adds \hyperpage commands by the encap
    mechanism (see documentation of Makeindex),
    if option hyperindex is set (default).
    \hyperpage uses the page anchors that are set by
    hyperref at each page (default). However in the
    default case page numbers are used in anchor names
    in arabic form. If the page numbers in other formats
    are used (book class with \frontmatter, \romannumbering, ...),
    then the page anchors are not unique. Therefore option
    "plainpages=false" is recommended.
  * The encap mechanism of Makeindex allows to use one command only
    (see documentation of Makeindex).
    If the user sets such a command, hyperref suppresses its
    \hyperpage command. With logical markup this situation
    can easily be solved:
      \index{Some example|main}
  * Scientic Word/Scientific WorkPlace users can use
    package robustindex with hyperindex=false.
  * Other encap characters can be set by option "encap".
    Example for use of "?":
  * An other possibility is the insertion of \hyperpage by
    a style file for makeindex. For this case, hyperref's
    insertion will be disabled by "hyperindex=false".
    \hyperpage will be defined regardless of setting of hyperindex.

%%% cut %%% %%% cut %%%
delim_0 ", \\hyperpage{"
delim_1 ", \\hyperpage{"
delim_2 ", \\hyperpage{"
delim_n "}, \\hyperpage{"
delim_t "}"
encap_prefix "}\\"
encap_infix "{\\hyperpage{"
encap_suffix "}"
%%% cut %%% %%% cut %%%

Warning "bookmark level for unknown  defaults to 0"
  Getting rid of it:


Link anchors in figures
  The caption command increments the counter and here is the
  place where hyperref set the corresponding anchor. Unhappily
  the caption is set below the figure, so the figure is not
  visible if a link jumps to a figure.
    In this cases, try package "hypcap.sty" that implements
  a method to circumvent the problem.

Additional unicode characters in bookmarks and pdf information entries:

% Support for additional unicode characters:
% Example: \.{a} and \d{a}
% 1. Get a list with unicode data, eg:
% 2. Identify the characters (\.{a}, \d{a}):
% 3. Calculate the octal code:
%    The first characters of the line in the file are
%    hex values, convert each byte and prepend them
%    with a backslash. (This will go into the PDF file.)
%    0227 -> \002\047
%    1EA1 -> \036\241
% 4. Transform into a form understood by hyperref:
%    Hyperref must know where the first byte starts,
%    this is marked by "9" (8 and 9 cannot occur in
%    octal numbers):
%    \002\047 -> \9002\047
%    \036\241 -> \9036\241
%    Optional: "8" is used for abbreviations:
%    \900 = \80, \901 = \81, \902 = \82, ...
%    \9002\047 -> \82\047
% 5. Declare the character with LaTeX:

\section{\={a}, \d{a}, \'{a}, \.{a}}

  The footnote support is rather limited. It is beyond the scope
  to use \footnotemark and \footnotetext out of order or reusing
  \footnotemark. Here you can either disable hyperref's footnote
  support by "hyperfootnotes=false" or fiddle with internal macros,
  nasty example:





  % remember link name
  \addtocounter{Hfootnote}{-1}% generate the same anchor




* Sebastian Rahtz
* Heiko Oberdiek


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". Then
    a list of version informations is printed 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 

Vietnamese part
Responsible for the Vietnamese translations of the
\autoref names and puvnenc.def are:
  Han The Thanh 
  Reinhard Kotucha 

Arabic part
Responsible for the additions to PU encoding for Arabi is
  Youssef Jabri 


* (half-done) hyper images (link from thumbnail in text)
* Relative links are not sorted out or documented well.
  For PDF generation:
  * With baseurl: all links are considered relative to this URL.
  * Without baseurl: a relative link without "file:" can be
    achieved by:
* ...


* modules
* bookmark organisation
* documentation
* PDF threads
* more for PDF forms
  * per object setting
  * vary gap between text and box
* PostScript driver: the current implementation doesn't relly support
  nested links. The start positions should be remembered in a stack,
  but there are complications with page breaks.
* ...


TeX Live
* TL 2009:      2009/10/09 v6.79a (at time of first release)
* TL 2008:      2008/08/14 v6.78f (at time of first release)
* TL 2007:      2007/02/07 v6.75r
* TL 2005:      2003/11/30 v6.74m
* TL 2004:      2003/11/30 v6.74m
* TL 2003:      2003/09/15 v6.74i
* TL 7  (2002): 2002/05/27 v6.72r
* TL 6b (2001): 2001/05/26 v6.71g
* TL 5d (2000): 2000/07/02 v6.70m
* TL 5c (2000): 2000/05/08 v6.70f
* TL 4  (1999): 1999/04/13 v6.56
* TL 3  (1998): 1998/03/25 v6.19