From e1edadb492845c4b7206da9fb634dc4013826a45 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 5 Feb 2021 22:15:53 +0000 Subject: hyperref (5feb21) git-svn-id: svn://tug.org/texlive/trunk@57623 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hyperref/ChangeLog.txt | 28 +- Master/texmf-dist/doc/latex/hyperref/README.md | 22 +- Master/texmf-dist/doc/latex/hyperref/backref.pdf | Bin 212976 -> 198724 bytes Master/texmf-dist/doc/latex/hyperref/hyperref.pdf | Bin 2454006 -> 2414308 bytes Master/texmf-dist/doc/latex/hyperref/manual.css | 10 +- Master/texmf-dist/doc/latex/hyperref/manual.html | 4300 ++++++++++---------- Master/texmf-dist/doc/latex/hyperref/manual.pdf | Bin 295940 -> 297131 bytes Master/texmf-dist/doc/latex/hyperref/nameref.pdf | Bin 189481 -> 188982 bytes .../texmf-dist/source/latex/hyperref/backref.dtx | 5 +- .../source/latex/hyperref/doc/manual.tex | 53 +- .../texmf-dist/source/latex/hyperref/hluatex.dtx | 38 +- .../texmf-dist/source/latex/hyperref/hyperref.dtx | 575 +-- .../texmf-dist/source/latex/hyperref/hyperref.ins | 7 +- .../texmf-dist/source/latex/hyperref/nameref.dtx | 5 +- Master/texmf-dist/tex/latex/hyperref/backref.sty | 4 +- Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 13 +- Master/texmf-dist/tex/latex/hyperref/hdvips.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hdvipson.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hluatex.def | 40 +- Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 39 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg | 4 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.def | 4 +- Master/texmf-dist/tex/latex/hyperref/htexture.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hvtex.def | 10 +- Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hxetex.def | 13 +- .../tex/latex/hyperref/hyperref-langpatches.def | 56 + Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 409 +- Master/texmf-dist/tex/latex/hyperref/hypertex.def | 4 +- Master/texmf-dist/tex/latex/hyperref/nameref.sty | 4 +- .../texmf-dist/tex/latex/hyperref/nohyperref.sty | 4 +- Master/texmf-dist/tex/latex/hyperref/pd1enc.def | 4 +- Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 17 +- Master/texmf-dist/tex/latex/hyperref/psdextra.def | 4 +- Master/texmf-dist/tex/latex/hyperref/puarenc.def | 4 +- Master/texmf-dist/tex/latex/hyperref/puenc.def | 16 +- Master/texmf-dist/tex/latex/hyperref/puvnenc.def | 4 +- Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty | 4 +- 40 files changed, 2499 insertions(+), 3225 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.txt b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.txt index 94bfe295d2b..6eeff73b71d 100644 --- a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.txt +++ b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.txt @@ -1,4 +1,30 @@ -2020-01-14 7.00d David Carlisle +2021-02-04 Ulrike Fischer + * corrected the definition of \begin/\end in \pdfstringdef + * removed patches for russian, new version is on ctan + * removed patches for danish, dutch, finnish, portugues, usorbian, + swedish, slovene, macedonian, ukrainian. + This doesn't affect the output, but can give warnings in the log until + the languages files adapt their definitions. + * removed a outdated patch for \texttilde + * moved language patches to a extra file for easier handling + * removed \HyPsd@BabelPatch and the related code as no longer + needed with a current babel. + * added Euro to encoding of form field font (issue 145) + * removed patches for ngerman/german: these are now in babel-german + * removed patches for french, unneeded according the + babel-french maintainer. + * set unicode to true by default for all engines. + * removed outdated code to fix the first page boxlevel. + * removed outdated code to fix old ltxcmds code + * removed outdated code to fix fancyvrb + * removed code related to /Hid - deprecated in PDF 1.2 + * removed patches for greeknumerals, the code is now in + babel-greek. + * added norsk to autoref languages (PR 158) + * added danish to autoref language (PR 159) + * corrected french language (PR 160) + +2020-01-14 7.00d David Carlisle * Test for newer GhostScript releases in dvips output https://tex.stackexchange.com/a/524163/1090 * Delete doc/options.pdf diff --git a/Master/texmf-dist/doc/latex/hyperref/README.md b/Master/texmf-dist/doc/latex/hyperref/README.md index 5432d88e7d2..828532e08e6 100644 --- a/Master/texmf-dist/doc/latex/hyperref/README.md +++ b/Master/texmf-dist/doc/latex/hyperref/README.md @@ -1,6 +1,6 @@ # README for hyperref bundle -Version 2020-05-15 v7.00e +Version 2021-02-04 v7.00g ## INTRODUCTION @@ -37,6 +37,8 @@ The main repository of hyperref is located at github ## INSTALLATION +The easiest is to use the package manager of the TeX System. + ### Installation with ZIP file in TDS format The ZIP file [hyperref.tds.zip](http://mirrors.ctan.org/install/macros/latex/contrib/hyperref.tds.zip) @@ -79,6 +81,10 @@ Example for TeXLive: * Heiko Oberdiek (inactive) * The LaTeX3 Project +## LICENSE + +LATEX Project Public License, version 1.3c or later. + ## BUG REPORTS A bug report should contain: @@ -132,16 +138,4 @@ Responsible for the additions to PU encoding for Arabi is ``` * ... -## TODO - - * 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 really support - nested links. The start positions should be remembered in a stack, - but there are complications with page breaks. - * ... + diff --git a/Master/texmf-dist/doc/latex/hyperref/backref.pdf b/Master/texmf-dist/doc/latex/hyperref/backref.pdf index 7cb9b138087..0e0a9b0bef9 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/backref.pdf and b/Master/texmf-dist/doc/latex/hyperref/backref.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf index 1ac908174f7..d93f8f2cb84 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf and b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/manual.css b/Master/texmf-dist/doc/latex/hyperref/manual.css index c56985d497e..ea1c3e45c19 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual.css +++ b/Master/texmf-dist/doc/latex/hyperref/manual.css @@ -160,12 +160,14 @@ p.indent{text-indent:0;} p + p{margin-top:1em;} p + div, p + pre {margin-top:1em;} div + p, pre + p {margin-top:1em;} +a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; hyphens: auto; } @media print {div.crosslinks {visibility:hidden;}} a img { border-top: 0; border-left: 0; border-right: 0; } center { margin-top:1em; margin-bottom:1em; } td center { margin-top:0em; margin-bottom:0em; } .Canvas { position:relative; } img.math{vertical-align:middle;} +div.par-math-display, div.math-display{text-align:center;} li p.indent { text-indent: 0em } li p:first-child{ margin-top:0em; } li p:last-child, li div:last-child { margin-bottom:0.5em; } @@ -182,7 +184,7 @@ div.obeylines-v p { margin-top:0; margin-bottom:0; } td.displaylines {text-align:center; white-space:nowrap;} .centerline {text-align:center;} .rightline {text-align:right;} -div.verbatim {font-family: monospace,monospace; white-space: nowrap; text-align:left; clear:both; } +pre.verbatim {font-family: monospace,monospace; text-align:left; clear:both; } .fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } div.fbox {display:table} div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } @@ -242,6 +244,7 @@ table.pmatrix {width:100%;} span.bar-css {text-decoration:overline;} img.cdots{vertical-align:middle;} .partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;} +.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc, .appendixToc a, .appendixToc {line-height: 200%; font-weight:bold;} .index-item, .index-subitem, .index-subsubitem {display:block} div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:left;} div.caption span.id{font-weight: bold; white-space: nowrap; } @@ -250,7 +253,6 @@ p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; } .paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;} .subparagraphHead, .likesubparagraphHead { font-weight: bold;} -.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;} .verse{white-space:nowrap; margin-left:2em} div.maketitle {text-align:center;} h2.titleHead{text-align:center;} @@ -258,9 +260,9 @@ div.maketitle{ margin-bottom: 2em; } div.author, div.date {text-align:center;} div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } div.author{white-space: nowrap;} -.quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; } -.abstract p {margin-left:5%; margin-right:5%;} +div.abstract p {margin-left:5%; margin-right:5%;} div.abstract {width:100%;} +.abstracttitle{text-align:center;margin-bottom:1em;} div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; } table.tabular td p{margin-top:0em;} table.tabular {margin-left: auto; margin-right: auto;} diff --git a/Master/texmf-dist/doc/latex/hyperref/manual.html b/Master/texmf-dist/doc/latex/hyperref/manual.html index 5dc0901e62e..e743ee9640b 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual.html @@ -25,256 +25,169 @@ href="https://github.com/latex3/hyperref/issues" class="url" >https://github.com/latex3/hyperref/issues)
2020-05-15 v7.00e
+class="ec-lmr-12">2021-02-04 v7.00g

Contents

- 1 1 Introduction -
2  2 Implicit behavior -
3  3 Package options -
 3.1   3.1 General options -
 3.2   3.2 Options for destination names -
 3.3   3.3 Configuration options -
 3.4   3.4 Backend drivers -
 3.5   3.5 Extension options -
 3.6   3.6 PDF-specific display options -
 3.7   3.7 PDF display and information options -
 3.8   3.8 Option pdfinfo -
 3.9   3.9 Big alphabetical list -
4  4 Additional user macros -
 4.1   4.1 Bookmark macros -
  4.1.1 Setting bookmarks -
  4.1.2 Replacement macros -
 4.2 Utility macros -
5 New Features -
 5.1 Option ‘pdflinkmargin’ -
 5.2 Field option ‘calculatesortkey’ -
 5.3 Option ‘localanchorname’ -
 5.4 Option ‘customdriver’ -
 5.5 Option ‘psdextra’ -
 5.6 \XeTeXLinkBox -
 5.7 \IfHyperBooleanExists and \IfHyperBoolean -
 5.8 \unichar -
 5.9 \ifpdfstringunicode -
 5.10 Customizing index style file with \nohyperpage -
 5.11 Experimental option ‘ocgcolorlinks’ -
 5.12 Option ‘pdfa’ -
 5.13 Option ‘linktoc’ added - -
 5.14 Option ‘pdfnewwindow’ changed -
 5.15 Flag options for PDF forms -
 5.16 Option ‘pdfversion’ -
 5.17 Field option ‘name’ -
 5.18 Option ‘pdfencoding’ -
 5.19 Color options/package hycolor -
 5.20 Option pdfusetitle -
 5.21 Starred form of \autoref -
 5.22 Link border style -
 5.23 Option   4.2 Pagelabels +
  4.3 Utility macros +
 5 New Features +
  5.1 Option ‘pdflinkmargin’ +
  5.2 Field option ‘calculatesortkey’ +
  5.3 Option ‘localanchorname’ +
  5.4 Option ‘customdriver’ +
  5.5 Option ‘psdextra’ +
  5.6 \XeTeXLinkBox +
  5.7 \IfHyperBooleanExists and \IfHyperBoolean +
  5.8 \unichar +
  5.9 \ifpdfstringunicode +
  5.10 Customizing index style file with \nohyperpage +
  5.11 Experimental option ‘ocgcolorlinks’ +
  5.12 Option ‘pdfa’ +
  5.13 Option ‘linktoc’ added +
  5.14 Option ‘pdfnewwindow’ changed + +
  5.15 Flag options for PDF forms +
  5.16 Option ‘pdfversion’ +
  5.17 Field option ‘name’ +
  5.18 Option ‘pdfencoding’ +
  5.19 Color options/package hycolor +
  5.20 Option pdfusetitle +
  5.21 Starred form of \autoref +
  5.22 Link border style +
  5.23 Option bookmarksdepth -
 5.24 Option   5.24 Option pdfescapeform -
 5.25 Default driver setting -
 5.26 Backref entries -
 5.27 \phantomsection -
6 Acrobat-specific behavior -
7 PDF and HTML forms -
 7.1 Forms environment parameters -
 7.2 Forms optional parameters -
8 Defining a new driver -
9 Special support for other packages -
 9.1 Package Compatibility -
  9.1.1 algorithm -
  9.1.2 amsmath -
  9.1.3 amsrefs -
  9.1.4 arydshln, longtable -
  9.1.5 babel/magyar.ldf -
  9.1.6 babel/spanish.ldf -
  9.1.7 bibentry -
  9.1.8 bigfoot -
  9.1.9 chappg -
  9.1.10 cite -
  9.1.11 count1to -
  9.1.12 dblaccnt -
  9.1.13 easyeqn -
  9.1.14 ellipsis -
  9.1.15 float -
  9.1.16 endnotes -
  9.1.17 foiltex -
  9.1.18 footnote -
  9.1.19 geometry -
  9.1.20 IEEEtran.cls -
  9.1.21 index -
  9.1.22 lastpage -
  9.1.23 linguex -
  9.1.24 ltabptch -
  9.1.25 mathenv -
  9.1.26 minitoc-hyper -
  9.1.27 multind -
  9.1.28 natbib -
  9.1.29 nomencl -
  9.1.30 parskip -
  9.1.31 prettyref - -
  9.1.32 ntheorem -
  9.1.33 setspace -
  9.1.34 sidecap -
  9.1.35 subfigure -
  9.1.36 titleref -
  9.1.37 tabularx -
  9.1.38 titlesec -
  9.1.39 ucs/utf8x.def -
  9.1.40 varioref -
  9.1.41 verse -
  9.1.42 vietnam -
  9.1.43 XeTeX -
10 Limitations -
 10.1 Wrapped/broken link support -
 10.2 Links across pages -
 10.3 Footnotes -
11 Hints -
 11.1 Spaces in option values -
 11.2 Index with makeindex -
 11.3 Warning   5.25 Default driver setting +
  5.26 Backref entries +
  5.27 \phantomsection +
 6 Acrobat-specific behavior +
 7 PDF and HTML forms +
  7.1 Forms environment parameters +
  7.2 Forms optional parameters +
 8 Defining a new driver +
 9 Special support for other packages +
  9.1 Package Compatibility +
 10 Limitations +
  10.1 Wrapped/broken link support +
  10.2 Links across pages +
  10.3 Footnotes +
 11 Hints +
  11.1 Spaces in option values +
  11.2 Index with makeindex +
  11.3 Warning "bookmark level for unknown <foobar> defaults to 0" -
 11.4 Link anchors in figures -
 11.5 Additional unicode characters in bookmarks and pdf information entries: -
 11.6 Footnotes -
 11.7 Subordinate counters -
12 History and acknowledgments -
13 GNU Free Documentation License -
 13.1 Applicability and definitions -
 13.2 Verbatim copying -
 13.3 Copying in quantity -
 13.4 Modifications -
 13.5 Combining documents -
 13.6 Collections of documents -
 13.7 Aggregation with independent works -
 13.8 Translation -
 13.9 Termination -
 13.10 Future revisions of this license +
  11.4 Link anchors in figures +
  11.5 Additional unicode characters in bookmarks and pdf information entries: +
  11.6 Footnotes +
  11.7 Subordinate counters +
 12 History and acknowledgments +
 13 GNU Free Documentation License +
  13.1 Applicability and definitions +
  13.2 Verbatim copying +
  13.3 Copying in quantity +
  13.4 Modifications +
  13.5 Combining documents +
  13.6 Collections of documents +
  13.7 Aggregation with independent works +
  13.8 Translation +
  13.9 Termination +
  13.10 Future revisions of this license
+ +

1 Introduction

@@ -289,8 +202,6 @@ class="ec-lmvtt-10">\special commands which a driver can turn into hypert it also provides new commands to allow the user to write ad hoc hypertext links, including those to external documents and URLs. - -

The package is currently maintained at https://github.com/latex3/hyperref/ and issues should be @@ -388,6 +299,8 @@ class="ec-lmvtt-10">"’ characters should be escaped with a backslash (\), and if it looks like a URL name it may cause problems. + +

However, the drivers intended to produce only PDF use literal PostScript or PDF \special @@ -414,8 +327,7 @@ class="ec-lmss-10">dvips class="ec-lmbx-10">dvipsone

produces \special commands tailored for dvipsone - +class="ec-lmss-10">dvipsone
ps2pdf
dvips -z, but the DVI file is not portable. The main a HyperTeX \special commands is that you can also use the document in hypertext DVI viewers, such as xdvi. +class="ec-lmss-10">xdvi. +
driverfallback
If a driver is not given and cannot be autodetected, then use the driver option, given as value to this option driverfallback. Example: -
+

driverfallback=dvipdfm

+class="ec-lmvtt-10">driverfallback=dvipdfm

Autodetected drivers (pdftex, xetex, driverfallback. However a DVI driver program is run class="ec-lmss-10">hyperref uses the driver, given by driverfallback. If the driver is already specified or can be autodetected, then option driverfallback is ignored.

- +class="ec-lmss-10">driverfallback is ignored.

2 Implicit behavior

This package can be used with more or less any normal LaTeX document by specifying in the document preamble -

+
 \usepackage{hyperref}
-
+

Make sure it comes last of your loaded packages, to give it a fighting chance of not being over-written, @@ -553,7 +465,7 @@ class="ec-lmvtt-10">\hypersetup macro. When the package is loaded, a file class="ec-lmvtt-10">hyperref.cfg is read if it can be found, and this is a convenient place to set options on a site-wide basis.

Note however that some options (for example unicode) can only be used as packge options, and not +class="ec-lmvtt-10">unicode) can only be used as package options, and not in \hypersetup as the option settings are processed as the package is read.

As an example, the behavior of a particular file could be controlled by: @@ -563,20 +475,20 @@ class="ec-lmvtt-10">hyperref.cfg setting up the look of links, adding bac PDF display default: -

+
      \hypersetup{backref,
-      
pdfpagemode=FullScreen, -  
colorlinks=true} -
+ pdfpagemode=FullScreen, + colorlinks=true} +

  • A global option in the file, which is passed down to hyperref: -
    +
          \documentclass[dvips]{article}
    -
    +

  • File-specific options in the \usepackage commands, which override the ones set in class="ec-lmvtt-10">hyperref.cfg: -
    +
          \usepackage[colorlinks=false]{hyperref}
    -      
    \hypersetup{pdftitle={A Perfect Day}} -
    + \hypersetup{pdftitle={A Perfect Day}} +

  • As seen in the previous example, information entries (pdftitle, pdfauthor, …) should be set after the package is loaded. Otherwise LaTeX expands the values of these options prematurely. Also LaTeX strips @@ -597,10 +509,10 @@ given as package option. They are not necessary in \hypersetup. -

    +
     \usepackage[pdfborder={0 0 0}]{hyperref}
    - 
    \hypersetup{pdfborder=0 0 0} -
    +\hypersetup{pdfborder=0 0 0} +

    Package ‘kvoptions-patch’ patches LaTeX to make it aware of key value options and to prevent premature value expansions. @@ -617,7 +529,7 @@ however.

    Firstly, the options to specify general behavior and page size.

    \refstepcounter is called. Thus there is a counter name and value. Both are used to construct the destination name. By default the counter value follows the counter name separated by a dot. Example for the fourth chapter: -
    +

    chapter.4

    +class="ec-lmvtt-10">chapter.4

    This scheme is used by:

    hyperref calls this macro each time, it uses a destination name. The macro must be expandable and expects the destination name as only argument. As example, the macro is redefined to add a prefix to all destination names: -
    +
    -
    +
     \renewcommand*{\HyperDestNameFilter}[1]{\jobname-#1}
    -
    -

    + +

    In document docA the destination name chapter.2 becomes docA-chapter.2.

    Destination names can also be used from the outside in URIs(, if the driver has not removed or changed them), for example: -

    +
    -
    +
     http://somewhere/path/file.pdf#nameddest=chapter.4
    -
    -

    + +

    However using a number seems unhappy. If another chapter is added before, the number changes. But it is very difficult to pass a new name for the destination to the anchor setting process that is usually deep hidden in the internals. The first name of \label after the anchor setting seems a good approximation: -

    +
    -
    +
       \section{Introduction}
    - 
      \label{intro} -
    -

    +  \label{intro} + +

    Option destlabel checks for each \label, if there is a new destination name active and replaces the @@ -818,15 +730,15 @@ class="ec-lmvtt-10">\autoref). This redefinition is also available as class="ec-lmvtt-10">\HyperDestLabelReplace, thus that an own redefinition can use it. The following example also adds a prefix for all destination names: -

    +
    -
    +
     \renewcommand*{\HyperDestNameFilter}[1]{%
    - 
      \jobname-\HyperDestLabelReplace{#1}% - 
    } -
    -

    +  \jobname-\HyperDestLabelReplace{#1}% +} + +

    The other case that only files prefixed that do not have a corresponding \label is more complicate, because \pdfstrcmp of pdfT\strcmp of XƎTEX, package pdftexcmds also supports LuaTEX): -

    +
    -
    +
     \usepackage{pdftexcmds}
    - 
    \makeatletter - 
    \renewcommand*{\HyperDestNameFilter}[1]{% - 
      \ifcase\pdf@strcmp{#1}{\HyperDestLabelReplace{#1}} % - 
        \jobname-#1% - 
      \else - 
        \HyperDestLabelReplace{#1}% - 
      \fi - 
    } - 
    \makeatother -
    -

    +\makeatletter +\renewcommand*{\HyperDestNameFilter}[1]{% +  \ifcase\pdf@strcmp{#1}{\HyperDestLabelReplace{#1}} % +    \jobname-#1% +  \else +    \HyperDestLabelReplace{#1}% +  \fi +} +\makeatother + +

    With option destlabel destinations can also named manually, if the destination is not yet renamed: -

    +

    \HyperDestRename{}{newname}

    +class="ec-lmvtt-10">}

    Hint: Anchors can also be named and set by \hypertarget.

    id="x1-70003.3">Configuration options
    breaklinks +

    This option is in hyperref only used in the dviwindo driver, + in all other cases it doesn’t do anything sensible—it neither + allows nor prevents links to be broken. The ocgx2 package + checks the state of the boolean.

    @@ -998,7 +910,7 @@ class="td11"> boolean +

    Allows links to be nested; no drivers currently support this.

    @@ -1015,14 +927,14 @@ class="td11">
    boolean false both -

    Allows link text to break across lines; since this cannot be - accommodated in PDF, it is only set true by default if the - pdftex driver is used. This makes links on multiple lines - into different PDF links to the same target.

    boolean true -

    Determines whether every page is given an implicit anchor +

    Determines whether every page is given an implicit anchor at the top left corner. If this is turned off, \printindex will not contain valid hyperlinks.

    false -

    Allows links to be nested; no drivers currently support this.

    -

    Note for option

    Note for option breaklinks: The correct value is automatically set according to the driver features. It can be overwritten for drivers that do not support broken links. However, at any case, the link area will be wrong and displaced. -

    +

    3.4 Backend drivers

    -

    If no driver is specified, the package tries to find a driver in the following order: +

    If no driver is specified, the package tries to find a driver in the following order:

    1. Autodetection, some TeX processors can be detected at TeX macro level (pdfTeX, XeTeX, @@ -1039,7 +951,7 @@ class="ec-lmvtt-10">\Hy@defaultdriver. The macro takes a driver file name
    2. Package default is hypertex.
    -

    Many distributions are using a driver file

    Many distributions are using a driver file hypertex.cfg that define \Hy@defaultdriver with hdvips. This @@ -1048,8 +960,8 @@ class="ec-lmss-10">dvips provides much more features than hypertex for PDF generation.

    @@ -1058,18 +970,18 @@ id="TBL-5-2"> class="td01">driverfallback +

    Its value is used as driver option

    +

    if the driver is not given or autodetected.

    dvipdfm driver. < class="td01">dvipdfmx dvipdfmx driver. < class="td01">dvips dvips driver. class="td01">dvipsone dvipsone driver. class="td01">dviwindo @@ -1111,35 +1023,35 @@ class="ec-lmss-10">dviwindo Windows previewer. class="td01">hypertex pdftex program. ps2pdf dvips. class="td01">tex4ht VTeX; the PDF and HTML backends are detected class="td01">vtexpdfmark +

    For use with XeTeX (using backend for dvipdfm).

    @@ -1199,7 +1111,7 @@ class="td01"> class="td01">
    -

    Its value is used as driver option

    -

    if the driver is not given or autodetected.

    dvipdfm -

    Sets up

    Sets up hyperref for use with the dvipdfm driver.

    -

    Sets up

    Sets up hyperref for use with the dvipdfmx driver.

    -

    Sets up

    Sets up hyperref for use with the dvips driver.

    -

    Sets up

    Sets up hyperref for use with the dvipsone driver.

    -

    Sets up

    Sets up hyperref for use with the dviwindo Windows previewer.

    -

    Sets up

    Sets up hyperref for use with the HyperTeX-compliant drivers.

    latex2html -

    Redefines a few macros for compatibility with

    Redefines a few macros for compatibility with latex2html.

    nativepdf -

    An alias for

    An alias for dvips

    pdfmark -

    An alias for

    An alias for dvips

    pdftex -

    Sets up

    Sets up hyperref for use with the pdftex program.

    -

    Redefines a few macros for compatibility with Ghostscript’s PDF writer, +

    Redefines a few macros for compatibility with Ghostscript’s PDF writer, otherwise identical to dvips.

    -

    For use with

    For use with TeX4ht

    textures -

    For use with

    For use with Textures

    vtex -

    For use with MicroPress’

    For use with MicroPress’ VTeX; the PDF and HTML backends are detected automatically.

    -

    For use with

    For use with VTeX’s PostScript backend.

    xetex -

    For use with XeTeX (using backend for dvipdfm).

    -

    If you use

    If you use dviwindo, you may need to redefine the macro \wwwbrowser (the default is dviwindo what program to launch. Thus, users of Intern add something like this to hyperref.cfg: -

    +
     \renewcommand{\wwwbrowser}{C:\string\Program\space
    - 
      Files\string\Plus!\string\Microsoft\space - 
      Internet\string\iexplore.exe} -
    -

    -

    +  Files\string\Plus!\string\Microsoft\space +  Internet\string\iexplore.exe} + +

    +

    3.5 Extension options

    extension +

    +

    Sets encap character for hyperindex

    @@ -1354,7 +1266,7 @@ class="td11"> boolean +

    Color for normal internal links.

    +

    Color for anchor text. Ignored by most drivers.

    +

    Color for bibliographical citations in text.

    +

    Color for URLs which open local files.

    +

    Color for Acrobat menu items.

    +

    Color for run links (launch annotations).

    +

    Color for linked URLs.

    +

    Use small caps instead of color for links.

    +

    Hide links (removing color and border).

    @@ -1471,15 +1383,15 @@ class="td01"> style="vertical-align:baseline;" id="TBL-6-27-">
    text -

    Set the file extension (e.g. 

    Set the file extension (e.g. dvi) which will be appended to file links created if you use the xr @@ -1244,7 +1156,7 @@ class="ec-lmvtt-10">hyperfigures

    boolean -

    text false -

    Adds ‘backlink’ text to the end of each item in the +

    Adds ‘backlink’ text to the end of each item in the bibliography, as a list of section numbers. This can only work properly if there is a blank line after each @@ -1275,7 +1187,7 @@ class="td11"> boolean

    false -

    Adds ‘backlink’ text to the end of each item in the +

    Adds ‘backlink’ text to the end of each item in the bibliography, as a list of page numbers.

    boolean true -

    Makes the page +

    Makes the page numbers of index entries into hyperlinks. Relays on unique page anchors (pageanchor, …) boolean

    true -

    Makes the footnote marks into hyperlinks to the +

    Makes the footnote marks into hyperlinks to the footnote text. Easily broken …

    encap -

    Sets encap character for hyperindex

    text section -

    make text (

    make text (section), page number (page), both (all) @@ -1332,7 +1244,7 @@ class="td11"> boolean

    false -

    make page number, not text, be link on TOC, LOF +

    make page number, not text, be link on TOC, LOF and LOT

    boolean false -

    allow links to break over lines by making links over +

    allow links to break over lines by making links over multiple lines into PDF links to the same target

    false -

    Colors the text of links and anchors. The colors +

    Colors the text of links and anchors. The colors chosen depend on the the type of link. At present the only types of link distinguished are citations, page references, URLs, local file references, and other @@ -1368,7 +1280,7 @@ class="td11"> color

    red -

    Color for normal internal links.

    color black -

    Color for anchor text. Ignored by most drivers.

    color green -

    Color for bibliographical citations in text.

    color cyan -

    Color for URLs which open local files.

    color red -

    Color for Acrobat menu items.

    color filecolor -

    Color for run links (launch annotations).

    color magenta -

    Color for linked URLs.

    allcolors color -

    Set all color options (without border and field +

    Set all color options (without border and field options).

    boolean false -

    Use small caps instead of color for links.

    hidelinks -

    Hide links (removing color and border).

    -

    Note that all color names must be defined before use, following the normal system of the standard +

    Note that all color names must be defined before use, following the normal system of the standard LaTeX color package. -

    +

    3.6 PDF-specific display options

    boolean @@ -1524,7 +1436,7 @@ class="ec-lmvtt-10">bookmarksopenlevel +

    to specify which ‘toc’ file to mimic

    @@ -1581,7 +1493,7 @@ class="td11"> name @@ -1593,7 +1505,7 @@ class="td11"> RGB color +

    The color of the box around citations

    +

    The color of the box around links to files

    +

    The color of the box around normal links

    +

    The color of the box around Acrobat menu links

    +

    The color of the box around links to URLs

    +

    Color of border around ‘run’ links

    +

    Set all border color options

    true -

    A set of Acrobat bookmarks are written, in a +

    A set of Acrobat bookmarks are written, in a manner similar to the table of contents, requiring two passes of LaTeX. Some postprocessing of the bookmark file (file extension boolean

    false -

    If Acrobat bookmarks are requested, show them +

    If Acrobat bookmarks are requested, show them with all the subtrees expanded.

    parameter -

    level (

    level (\maxdimen) to which bookmarks are open

    boolean false -

    If Acrobat bookmarks are requested, include +

    If Acrobat bookmarks are requested, include section numbers.

    text toc -

    to specify which ‘toc’ file to mimic

    boolean false -

    This option should be used to produce CJK +

    This option should be used to produce CJK bookmarks. Package hyperref supports both normal and preprocessed mode of the CJK Acroread itself) support this. Also note that option ‘CJKbookmarks’ cannot be used together with option ‘unicode’. -

    No mechanism is provided to +

    No mechanism is provided to translate non-Unicode bookmarks to Unicode; for portable PDF documents only Unicode encoding should be used.

    /I -

    How link buttons behave when selected; /I is +

    How link buttons behave when selected; /I is for inverse (the default); the other possibilities are /N (no effect), /O (outline), and /P (inset highlighting).

    0 1 0 -

    The color of the box around citations

    RGB color 0 .5 .5 -

    The color of the box around links to files

    RGB color 1 0 0 -

    The color of the box around normal links

    RGB color 1 0 0 -

    The color of the box around Acrobat menu links

    RGB color 0 1 1 -

    The color of the box around links to URLs

    RGB color 0 .7 .7 -

    Color of border around ‘run’ links

    allbordercolors -

    Set all border color options

    0 0 1 -

    The style of box around links; defaults to a box +

    The style of box around links; defaults to a box with lines of 1pt thickness, but the colorlinks option resets it to produce no border.

    -

    Note that the color of link borders can be specified

    Note that the color of link borders can be specified only as 3 numbers in the range 0..1, giving an RGB color. You cannot use colors defined in TeX. Since version 6.76a this is no longer true. Especially with the help of package (x)color can be used. For further information see description of package hycolor. -

    The bookmark commands are stored in a file called

    The bookmark commands are stored in a file called jobname.out. The files is not processed by LaTeX so any markup is passed through. You can postprocess this file as needed; as an aid @@ -1693,16 +1605,16 @@ class="ec-lmvtt-10">.out file is not overwritten on the next TeX r line -

    +
     \let\WriteBookmarks\relax
    -
    -

    -

    + +

    +

    3.7 PDF display and information options

    class="td01">baseurl +

    Sets the base URL of the PDF document

    pdftitle +

    Sets the document information Title field

    +

    Sets the document information Author field

    +

    Sets the document information Subject field

    +

    Sets the document information Creator field

    +

    Adds additional text to the document + information Creator field

    +

    Sets the document information Keywords field

    +

    Sets the default PDF ‘view’ for each link

    class="td01">pdfstartview +

    Set the startup page view

    +

    Set the startup page view of remote PDF files

    @@ -1885,22 +1797,22 @@ class="td10"> class="td01">pdfcenterwindow @@ -1909,22 +1821,22 @@ class="ec-lmvtt-10">R2L (right to left) class="td01">pdfdisplaydoctitle +

    resize document window to fit document size

    class="td01">pdflang +

    PDF language identifier (RFC 3066)

    +

    make PDF viewer’s menu bar visible

    class="td01">pdfnumcopies +

    number of printed copies

    +

    set PDF page labels

    class="td01">pdfprintclip class="td01">pdfprintpagerange +

    set /PrintPageRange of viewer preferences

    class="td01">pdftoolbar +

    make PDF toolbar visible

    class="td01">pdfviewclip class="td01">pdfwindowui +

    make PDF user interface elements visible

    +

    Unicode encoded PDF strings

    @@ -2222,11 +2134,11 @@ class="td01"> style="vertical-align:baseline;" id="TBL-8-43-">
    -

    URL

    URL

    -

    Sets the base URL of the PDF document

    pdfpagemode -

    name

    name

    empty -

    Determines how the file is opening in +

    Determines how the file is opening in Acrobat; the possibilities are UseNone, UseOutlines is used.

    -

    text

    text

    -

    Sets the document information Title field

    pdfauthor -

    text

    text

    -

    Sets the document information Author field

    pdfsubject -

    text

    text

    -

    Sets the document information Subject field

    pdfcreator -

    text

    text

    -

    Sets the document information Creator field

    addtopdfproducer addtopdfcreator -

    text

    text

    -

    Adds additional text to the document - information Producer field

    pdfkeywords -

    text

    text

    -

    Sets the document information Keywords field

    pdftrapped -

    name

    name

    empty -

    Sets the document information Trapped entry. +

    Sets the document information Trapped entry. Possible values are True, False and Unknown. class="td01">pdfinfo

    -

    key +

    key value list

    empty -

    Alternative interface for setting the document +

    Alternative interface for setting the document information.

    pdfview -

    name

    name

    XYZ -

    Sets the default PDF ‘view’ for each link

    pdfstartpage -

    integer

    integer

    1 -

    Determines on which page the PDF file is +

    Determines on which page the PDF file is opened. An empty value means, the entry is not set.

    -

    name

    name

    Fit -

    Set the startup page view

    pdfremotestartview -

    name

    name

    Fit -

    Set the startup page view of remote PDF files

    pdfpagescrop -

    n +

    n n n n

    -

    Sets the default PDF crop box for pages. This +

    Sets the default PDF crop box for pages. This should be a set of four numbers

    -

    boolean

    boolean

    false -

    position the document window in the center +

    position the document window in the center of the screen

    pdfdirection -

    name

    name

    empty -

    direction setting. Possible values:

    direction setting. Possible values: L2R (left to right) and R2L (right to left)

    -

    boolean

    boolean

    false -

    display document title instead of file name in +

    display document title instead of file name in title bar

    pdfduplex -

    name

    name

    empty -

    paper handling option for print +

    paper handling option for print dialog. Possible vatues are: Simplex (print single-sided), DuplexFlipLongEdge (duplex and flip on class="td01">pdffitwindow

    -

    boolean

    boolean

    false -

    resize document window to fit document size

    -

    name

    name

    relax -

    PDF language identifier (RFC 3066)

    pdfmenubar -

    boolean

    boolean

    true -

    make PDF viewer’s menu bar visible

    pdfnewwindow -

    boolean

    boolean

    false -

    make links that open another PDF file start a +

    make links that open another PDF file start a new window

    pdfnonfullscreenpagemode -

    name

    name

    empty -

    page mode setting on exiting full-screen mode. +

    page mode setting on exiting full-screen mode. Possible values are UseNone, UseOutlines, @@ -2001,21 +1913,21 @@ class="ec-lmvtt-10">UseOC

    -

    integer

    integer

    empty -

    number of printed copies

    pdfpagelayout -

    name

    name

    empty -

    set layout of PDF pages. Possible values: +

    set layout of PDF pages. Possible values: SinglePage, OneColumn, TwoPageRight class="td01">pdfpagelabels

    -

    boolean

    boolean

    true -

    set PDF page labels

    pdfpagetransition -

    name

    name

    empty -

    set PDF page transition style. Possible values +

    set PDF page transition style. Possible values are Split, Blinds, R, which simply replaces the old page w class="td01">pdfpicktraybypdfsize

    -

    boolean

    boolean

    false -

    specify whether PDF page size is used to select +

    specify whether PDF page size is used to select input paper tray in print dialog

    pdfprintarea -

    name

    name

    empty -

    set /PrintArea of viewer preferences. Possible +

    set /PrintArea of viewer preferences. Possible values are MediaBox, CropBox, CropBox

    -

    name

    name

    empty -

    set /PrintClip of viewer preferences. Possible +

    set /PrintClip of viewer preferences. Possible values are MediaBox, CropBox, CropBox

    -

    n +

    n n (n n)*

    empty -

    set /PrintPageRange of viewer preferences

    pdfprintscaling -

    name

    name

    empty -

    page scaling option for print dialog (option +

    page scaling option for print dialog (option /PrintScaling of viewer preferences, PDF 1.6); valid values are None and AppDefault

    -

    boolean

    boolean

    true -

    make PDF toolbar visible

    pdfviewarea -

    name

    name

    empty -

    set /ViewArea of viewer preferences. Possible +

    set /ViewArea of viewer preferences. Possible values are MediaBox, CropBox, CropBox

    -

    name

    name

    empty -

    set /ViewClip of viewer preferences Possible +

    set /ViewClip of viewer preferences Possible values are MediaBox, CropBox, CropBox

    -

    boolean

    boolean

    true -

    make PDF user interface elements visible

    unicode -

    boolean

    boolean

    false true -

    Unicode encoded PDF strings

    -

    Each link in Acrobat carries its own magnification level, which is set using PDF coordinate space, which +

    Each link in Acrobat carries its own magnification level, which is set using PDF coordinate space, which is not the same as TeX’s. The unit is bp and the origin is in the lower left corner. See also \hypercalcbp that is explained on page 47. pdfTeX works by supplying default values for 46. pdfTeX works by supplying default values for XYZ (horizontal × vertical pdfstartview and pdfremotestartview parameters.

    XYZ +

    Fits the page to the window.

    +

    Fits the width of the page to the window.

    +

    Fits the height of the page to the window.

    FitR +

    Fits the page bounding box to the window.

    left top zoom -

    Sets a coordinate and a zoom factor. If any one +

    Sets a coordinate and a zoom factor. If any one is null, the source link value is used. null null Fit

    -

    Fits the page to the window.

    FitH top -

    Fits the width of the page to the window.

    FitV left -

    Fits the height of the page to the window.

    left bottom right top -

    Fits the rectangle specified by the four +

    Fits the rectangle specified by the four coordinates to the window.

    FitB -

    Fits the page bounding box to the window.

    FitBH top -

    Fits the width of the page bounding box to +

    Fits the width of the page bounding box to the window.

    FitBV left -

    Fits the height of the page bounding box to +

    Fits the height of the page bounding box to the window.

    -

    The

    The pdfpagelayout can be one of the following values.

    @@ -2350,40 +2262,40 @@ id="TBL-10-2"> class="td01">SinglePage +

    Displays a single page; advancing flips the page

    +

    Displays the document in one column; continuous scrolling.

    class="td01">
    -

    Displays a single page; advancing flips the page

    OneColumn -

    Displays the document in one column; continuous scrolling.

    TwoColumnLeft -

    Displays the document in two columns, odd-numbered pages to +

    Displays the document in two columns, odd-numbered pages to the left.

    TwoColumnRight -

    Displays the document in two columns, odd-numbered pages to +

    Displays the document in two columns, odd-numbered pages to the right.

    TwoPageLeft -

    Displays two pages, odd-numbered pages to the left (since PDF +

    Displays two pages, odd-numbered pages to the left (since PDF 1.5).

    TwoPageRight -

    Displays two pages, odd-numbered pages to the right (since PDF +

    Displays two pages, odd-numbered pages to the right (since PDF 1.5).

    -

    Finally, the

    Finally, the pdfpagetransition can be one of the following values, where /Di stands for direction of motion in degrees, generally in 90/M is for motion, either in (/I) or out (/O).

    Blinds +

    A box sweeps in or out.

    @@ -2458,14 +2370,14 @@ class="td01">Split +

    Two lines sweep across the screen to reveal the new page.

    +

    Simply replaces the old page with the new one.

    Push Cover Fade
    /Dm -

    Multiple lines distributed evenly across the screen sweep +

    Multiple lines distributed evenly across the screen sweep in the same direction to reveal the new page.

    Box /M -

    A box sweeps in or out.

    Dissolve -

    The page image dissolves in a piecemeal fashion to reveal +

    The page image dissolves in a piecemeal fashion to reveal the new page.

    Glitter /Di -

    Similar to Dissolve, except the effect sweeps across the +

    Similar to Dissolve, except the effect sweeps across the screen.

    /Dm /M -

    Two lines sweep across the screen to reveal the new page.

    Wipe /Di -

    A single line sweeps across the screen to reveal the new +

    A single line sweeps across the screen to reveal the new page.

    R -

    Simply replaces the old page with the new one.

    Fly /Di /M -

    Changes are flown out or in (as specified by /M), in the +

    Changes are flown out or in (as specified by /M), in the direction specified by /Di, to or from a location that is offscreen except when /Di is None.

    /Di -

    The old page slides off the screen while the new page +

    The old page slides off the screen while the new page slides in, pushing the old page out in the direction specified by /Di.

    /Di -

    The new page slides on to the screen in the direction +

    The new page slides on to the screen in the direction specified by /Di, covering the old page.

    Uncover /Di -

    The old page slides off the screen in the direction +

    The old page slides off the screen in the direction specified by /Di, uncovering the new page in the direction specified by /Di.

    -

    The new page gradually becomes visible through the old +

    The new page gradually becomes visible through the old one.

    -

    +

    3.8 Option pdfinfo

    -

    The information entries can be set using

    The information entries can be set using pdftitle, pdfsubject, …. Option pdfinfo provides an alternative @@ -2550,28 +2462,28 @@ class="ec-lmvtt-10">pdftitle, subject, trapped, …Unknown keys are added to the information dictionary. Their values are text strings (see PDF specification). Example: -

    +
    -
    +
     \hypersetup{
    - 
      pdfinfo={ - 
        Title={My Title}, - 
        Subject={My Subject}, - 
        NewKey={Foobar}, - 
        % ... - 
      } - 
    } -
    -

    -

    +  pdfinfo={ +    Title={My Title}, +    Subject={My Subject}, +    NewKey={Foobar}, +    % ... +  } +} + +

    +

    3.9 Big alphabetical list

    -

    The following is a complete listing of available options for

    The following is a complete listing of available options for hyperref, arranged alphabetically.

    allbordercolors +

    Set all border color options

    +

    set color of anchors, ignored by most drivers.

    +

    do bibliographical back references

    +

    set base URL for document

    +

    make bookmarks

    +

    put section numbers in bookmarks

    +

    open up bookmark tree

    +

    level to which bookmarks are open

    +

    to specify which ‘toc’ file to mimic

    +

    allow links to break over lines

    +

    to produce CJK bookmarks

    +

    color of border around cites

    +

    color of citation links

    +

    color links

    debug @@ -2722,7 +2634,7 @@ class="ec-lmvtt-10">destlabel draft +

    do not do any hyperlinking

    +

    default if no driver specified or detected

    +

    to set encap character for hyperindex

    +

    suffix of linked files

    +

    color of border around file links

    +

    color of file links

    +

    opposite of option draft

    +

    use small caps instead of color for links

    +

    Hide links (removing color and border)

    +

    make figures hyper links

    +

    set up hyperlinked footnotes

    +

    set up hyperlinked indices

    +

    use guessable names for links

    +

    redefine LaTeX internals

    +

    color of border around links

    @@ -2913,7 +2825,7 @@ class="ec-lmvtt-10">linkcolor +

    color of links

    +

    make text be link on TOC, LOF and LOT

    +

    color of border around menu links

    +

    color for menu links

    +

    use LaTeX-computed names for links

    nesting +

    allow nesting of links

    +

    put an anchor on every page

    +

    backreference by page number

    +

    text for PDF Author field

    +

    width of PDF link border

    +

    border style for links

    +

    text for PDF Creator field

    +

    +

    direction setting

    +

    paper handling option for print dialog

    @@ -3080,7 +2992,7 @@ class="ec-lmvtt-10">pdffitwindow +

    resize document window to fit document size

    +

    set highlighting of PDF links

    +

    text for PDF Keywords field

    +

    PDF language identifier (RFC 3066)

    +

    make PDF viewer’s menu bar visible

    +

    make links that open another PDF

    +

    file start a new window

    +

    page mode setting on exiting full-screen mode

    +

    number of printed copies

    +

    set PDF page labels

    +

    set layout of PDF pages

    +

    set default mode of PDF display

    +

    set crop size of PDF document

    +

    set PDF page transition style

    pdfpicktraybypdfsize +

    set option for print dialog

    +

    set /PrintArea of viewer preferences

    +

    set /PrintClip of viewer preferences

    +

    set /PrintPageRange of viewer preferences

    @@ -3245,7 +3157,7 @@ class="ec-lmvtt-10">pdfprintscaling +

    page scaling option for print dialog

    +

    text for PDF Producer field

    +

    starting view of remote PDF documents

    +

    page at which PDF document opens

    +

    starting view of PDF document

    +

    text for PDF Subject field

    +

    text for PDF Title field

    +

    make PDF toolbar visible

    +

    PDF ‘view’ when on link traversal

    +

    set /ViewArea of viewer preferences

    +

    set /ViewClip of viewer preferences

    +

    make PDF user interface elements visible

    +

    do page number anchors as plain Arabic

    +

    color of border around ‘run’ links

    +

    color of ‘run’ links

    @@ -3415,14 +3327,14 @@ class="ec-lmvtt-10">setpagesize +

    set page size by special driver commands

    + + - - +

    Unicode encoded pdf strings, starting with + version 2021-02-04 v7.00g set by default to + true for all engines.

    +

    color of border around URL links

    +

    color of URL links

    +

    be chatty

    style="vertical-align:baseline;" id="TBL-12-119-">
    -

    Set all border color options

    allcolors -

    Set all color options (without border and field +

    Set all color options (without border and field options)

    anchorcolor black -

    set color of anchors, ignored by most drivers.

    backref false -

    do bibliographical back references

    baseurl empty -

    set base URL for document

    bookmarks true -

    make bookmarks

    bookmarksnumbered false -

    put section numbers in bookmarks

    bookmarksopen false -

    open up bookmark tree

    bookmarksopenlevel \maxdimen -

    level to which bookmarks are open

    bookmarkstype toc -

    to specify which ‘toc’ file to mimic

    breaklinks false -

    allow links to break over lines

    CJKbookmarks false -

    to produce CJK bookmarks

    citebordercolor 0 1 0 -

    color of border around cites

    citecolor green -

    color of citation links

    colorlinks false -

    color links

    true -

    (

    (tex4ht, dviwindo)

    false -

    provide details of anchors defined; same as +

    provide details of anchors defined; same as verbose

    false -

    destinations are named by the first

    destinations are named by the first \label after the anchor creation

    false -

    do not do any hyperlinking

    driverfallback -

    default if no driver specified or detected

    dvipdfm -

    use

    use dvipdfm backend

    dvipdfmx -

    use

    use dvipdfmx backend

    dvips -

    use

    use dvips backend

    dvipsone -

    use

    use dvipsone backend

    dviwindo -

    use

    use dviwindo backend

    encap -

    to set encap character for hyperindex

    extension dvi -

    suffix of linked files

    filebordercolor 0 .5 .5 -

    color of border around file links

    filecolor cyan -

    color of file links

    final true -

    opposite of option draft

    frenchlinks false -

    use small caps instead of color for links

    hidelinks -

    Hide links (removing color and border)

    hyperfigures false -

    make figures hyper links

    hyperfootnotes true -

    set up hyperlinked footnotes

    hyperindex true -

    set up hyperlinked indices

    hypertex -

    use

    use HyperTeX backend

    hypertexnames true -

    use guessable names for links

    implicit true -

    redefine LaTeX internals

    latex2html -

    use

    use LaTeX2HTML backend

    linkbordercolor 1 0 0 -

    color of border around links

    red -

    color of links

    linktoc section -

    make text be link on TOC, LOF and LOT

    linktocpage false -

    make page number, not text, be link on TOC, +

    make page number, not text, be link on TOC, LOF and LOT

    menubordercolor 1 0 0 -

    color of border around menu links

    menucolor red -

    color for menu links

    nativepdf false -

    an alias for

    an alias for dvips

    naturalnames false -

    use LaTeX-computed names for links

    false -

    allow nesting of links

    pageanchor true -

    put an anchor on every page

    pagebackref false -

    backreference by page number

    pdfauthor empty -

    text for PDF Author field

    pdfborder 0 0 1 -

    width of PDF link border

    0 0 0 -

    (

    (colorlinks)

    pdfborderstyle -

    border style for links

    pdfcenterwindow false -

    position the document window in the center +

    position the document window in the center of the screen

    pdfcreator LaTeX with -

    text for PDF Creator field

    hyperref -

    pdfdirection empty -

    direction setting

    pdfdisplaydoctitle false -

    display document title instead of file name in +

    display document title instead of file name in title bar

    pdfduplex empty -

    paper handling option for print dialog

    false -

    resize document window to fit document size

    pdfhighlight /I -

    set highlighting of PDF links

    pdfinfo empty -

    alternative interface for setting document +

    alternative interface for setting document information

    pdfkeywords empty -

    text for PDF Keywords field

    pdflang relax -

    PDF language identifier (RFC 3066)

    pdfmark false -

    an alias for

    an alias for dvips

    pdfmenubar true -

    make PDF viewer’s menu bar visible

    pdfnewwindow false -

    make links that open another PDF

    -

    file start a new window

    pdfnonfullscreenpagemode empty -

    page mode setting on exiting full-screen mode

    pdfnumcopies empty -

    number of printed copies

    pdfpagelabels true -

    set PDF page labels

    pdfpagelayout empty -

    set layout of PDF pages

    pdfpagemode empty -

    set default mode of PDF display

    pdfpagescrop empty -

    set crop size of PDF document

    pdfpagetransition empty -

    set PDF page transition style

    empty -

    set option for print dialog

    pdfprintarea empty -

    set /PrintArea of viewer preferences

    pdfprintclip empty -

    set /PrintClip of viewer preferences

    pdfprintpagerange empty -

    set /PrintPageRange of viewer preferences

    empty -

    page scaling option for print dialog

    pdfproducer empty -

    text for PDF Producer field

    pdfremotestartview Fit -

    starting view of remote PDF documents

    pdfstartpage 1 -

    page at which PDF document opens

    pdfstartview Fit -

    starting view of PDF document

    pdfsubject empty -

    text for PDF Subject field

    pdftex -

    use

    use pdfTeX backend

    pdftitle empty -

    text for PDF Title field

    pdftoolbar true -

    make PDF toolbar visible

    pdftrapped empty -

    Sets the document information Trapped entry. +

    Sets the document information Trapped entry. Possible values are True, False and pdfview

    XYZ -

    PDF ‘view’ when on link traversal

    pdfviewarea empty -

    set /ViewArea of viewer preferences

    pdfviewclip empty -

    set /ViewClip of viewer preferences

    pdfwindowui true -

    make PDF user interface elements visible

    plainpages false -

    do page number anchors as plain Arabic

    ps2pdf -

    use

    use ps2pdf backend

    psdextra false -

    define more short names for PDF string +

    define more short names for PDF string commands

    raiselinks false -

    raise up links (for

    raise up links (for HyperTeX backend)

    runbordercolor 0 .7 .7 -

    color of border around ‘run’ links

    runcolor filecolor -

    color of ‘run’ links

    true -

    set page size by special driver commands

    tex4ht -

    use

    use TeX4ht backend

    textures -

    use

    use Textures backend

    unicode false true -

    Unicode encoded pdf strings, by defaut true - with XeTeX and LuTeX

    urlbordercolor 0 1 1 -

    color of border around URL links

    urlcolor magenta -

    color of URL links

    verbose false -

    be chatty

    vtex -

    use

    use VTeX backend

    xetex -

    use

    use XeTeX backend

    -

    +

    4 Additional user macros

    -

    If you need to make references to URLs, or write explicit links, the following low-level user macros are +

    If you need to make references to URLs, or write explicit links, the following low-level user macros are provided: -

    +

    }{text}
    -

    The

    The text is made a hyperlink to the URL; this must be a full URL (relative to the base URL, if that is defined). The special characters # and ˜ do not need to be escaped in any way (unless the command is used in the argument of another command). -

    The optional argument

    The optional argument options recognizes the hyperref options pdfremotestartview, pdfnewwindow @@ -3553,9 +3464,9 @@ class="ec-lmvtk-10">nextactionraw:

    The value of key /Next of action dictionaries, see PDF specification.
    -

    +

    \url{URL}
    -

    Similar to

    Similar to \href{URLURL}}. Depending on the driver \href also tries to detect the link type. Thus the result can be a url link, file link, … -

    +

    \nolinkurl{URL}
    -

    Write

    Write URL in the same way as \url, without creating a hyperlink. +class="ec-lmvtt-10">\url, without creating a hyperlink. - -

    +

    {URL}
    -

    A base

    A base URL is established, which is prepended to other specified URLs, to make it easier to write portable documents. -

    +

    }{text}
    -

    The link to the image referenced by the URL is inserted, using

    The link to the image referenced by the URL is inserted, using text as the anchor. -

    For drivers that produce HTML, the image itself is inserted by the browser, with the

    For drivers that produce HTML, the image itself is inserted by the browser, with the text being ignored completely. -

    +

    }{text}
    -

    A target area of the document (the

    A target area of the document (the text) is marked, and given the name category.name -

    +

    }{text}
    -

    text is made into a link to URL#category.name -

    +

    ]{text}
    -

    text is made into a link to the same place as \ref{label} would be linked. -

    +

    }{text}
    -

    +

    }{text}
    -

    A simple internal link is created with

    A simple internal link is created with \hypertarget, with two parameters of an anchor name, and anchor \hyperlink has two arguments, the name class="ec-lmvtt-10">\hypertarget, and the text which be used as the link on the page. -

    Note that in HTML parlance, the

    Note that in HTML parlance, the \hyperlink command inserts a notional # in front of each link, making it relative to the current testdocument; \href expects a full URL. -

    +

    \phantomsection
    -

    This sets an anchor at this location. It works similar to

    This sets an anchor at this location. It works similar to \hypertarget{}{} with an automatically chosen anchor name. Often it is used in conjunction with \addcontentsline for sectionlike things (index, bibliography, preface). \addcontentsline refers to the latest previous location where an anchor is set. Example: -

    +
    -
    +
     \cleardoublepage
    - 
    \phantomsection - 
    \addcontentsline{toc}{chapter}{\indexname} - 
    \printindex -
    -

    -

    Now the entry in the table of contents (and bookmarks) for the index points to the start of the index page, +\phantomsection +\addcontentsline{toc}{chapter}{\indexname} +\printindex + +

    +

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

    +

    \autoref class="ec-lmvtt-10">{label}
    -

    This is a replacement for the usual

    This is a replacement for the usual \ref command that places a contextual label in front of the reference. This gives your users a bigger target to click for hyperlinks (e.g. ‘section 2’ instead of merely the number ‘2’). -

    The label is worked out from the context of the original

    The label is worked out from the context of the original \label command by hyperref by using the macros listed below (shown with their default values). The macros can be (re)defined in documents using @@ -3776,7 +3686,7 @@ macros listed below (shown with their default values). The macros can be (re)def class="ec-lmvtt-10">\(re)newcommand; note that some of these macros are already defined in the standard document classes. The mixture of lowercase and uppercase initial letters is deliberate and corresponds to the author’s practice. -

    For each macro below,

    For each macro below, hyperref checks \*autorefname before \*name. For instance, it looks for @@ -3784,8 +3694,8 @@ class="ec-lmvtt-10">\*name. For instance, it looks for class="ec-lmvtt-10">\figureautorefname before \figurename.

    @@ -3794,80 +3704,80 @@ id="TBL-25-2"> class="td01">Macro +

    Figure

    +

    Table

    +

    Part

    +

    Appendix

    +

    Equation

    +

    item

    +

    chapter

    +

    section

    +

    subsection

    +

    subsubsection

    +

    paragraph

    +

    footnote

    class="td01">\AMSname +

    Equation

    +

    Theorem

    +

    page

    @@ -3905,19 +3815,19 @@ class="td01"> class="td01">
    -

    Default

    \figurename -

    Figure

    \tablename -

    Table

    \partname -

    Part

    \appendixname -

    Appendix

    \equationname -

    Equation

    \Itemname -

    item

    \chaptername -

    chapter

    \sectionname -

    section

    \subsectionname -

    subsection

    \subsubsectionname -

    subsubsection

    \paragraphname -

    paragraph

    \Hfootnotename -

    footnote

    -

    Equation

    \theoremname -

    Theorem

    \page -

    page

    -

    Example for a redefinition if

    Example for a redefinition if babel is used: -

    +
    -
    +
     \usepackage[ngerman]{babel}
    - 
    \addto\extrasngerman{% - 
      \def\subsectionautorefname{Unterkapitel}% - 
    } -
    -

    -

    Hint: +

    +

    Hint: \autoref works via the counter name that the reference is based on. Sometimes \autoref chooses the wrong name, if the counter is used for different things. For example, it happens with @@ -3926,41 +3836,41 @@ class="ec-lmvtt-10">\newtheorem if a lemma shares a counter with theorems class="ec-lmss-10">aliascnt provides a method to generate a simulated second counter that allows the differentiation between theorems and lemmas: -

    +
    -
    +
     \documentclass{article}
    - 

    \usepackage{aliascnt} - 
    \usepackage{hyperref} - 

    \newtheorem{theorem}{Theorem} - 

    \newaliascnt{lemma}{theorem} - 
    \newtheorem{lemma}[lemma]{Lemma} - 
    \aliascntresetthe{lemma} - 

    \providecommand*{\lemmaautorefname}{Lemma} - 

    \begin{document} - 

    We will use \autoref{a} to prove \autoref{b}. - 

    \begin{lemma}\label{a} - 
      Nobody knows. - 
    \end{lemma} - 

    \begin{theorem}\label{b} - 
      Nobody is right. - 
    \end{theorem}. - 

    \end{document} -
    -

    -

    + +\usepackage{aliascnt} +\usepackage{hyperref} + +\newtheorem{theorem}{Theorem} + +\newaliascnt{lemma}{theorem} +\newtheorem{lemma}[lemma]{Lemma} +\aliascntresetthe{lemma} + +\providecommand*{\lemmaautorefname}{Lemma} + +\begin{document} + +We will use \autoref{a} to prove \autoref{b}. + +\begin{lemma}\label{a} +  Nobody knows. +\end{lemma} + +\begin{theorem}\label{b} +  Nobody is right. +\end{theorem}. + +\end{document} + +

    +

    {label}
    -

    It replaces

    It replaces \pageref and adds the name for page in front of the page reference. First \pageautorefname is checked before \pagename. -

    For instances where you want a reference to use the correct counter, but not to create a +

    For instances where you want a reference to use the correct counter, but not to create a link, there are starred forms (these starred forms exist even if hyperref has been loaded with implicit=false): -

    +

    \ref*{label}
    -

    +

    {label}
    -

    +

    \autoref*{label}
    -

    +

    {label}
    -

    A typical use would be to write +

    A typical use would be to write -

    +
     \hyperref[other]{that nice section (\ref*{other}) we read before}
    -
    -

    -

    We want +

    +

    We want \ref*{other} to generate the correct number, but not to form a link, since we do this ourselves with \hyperref. -

    +

    }{TeXstring}
    -

    \pdfstringdef returns a macro containing the PDF string. (Currently this is done globally, but do not rely on it.) All the following tasks, definitions and redefinitions are made in a group to keep them local: @@ -4093,13 +4003,13 @@ class="ec-lmvtt-10">\textbf, etc.

  • Support for \xspace provided by the xspace package
  • -

    In addition, parentheses are protected to avoid the danger of unsafe unbalanced parentheses in +

    In addition, parentheses are protected to avoid the danger of unsafe unbalanced parentheses in the PDF string. For further details, see Heiko Oberdiek’s EuroTeX paper distributed with hyperref. -

    +

    {NoHyper}…\end{NoHyper}
    -

    Sometimes we just don’t want the wretched package interfering with us. Define an environment we +

    Sometimes we just don’t want the wretched package interfering with us. Define an environment we can put in manually, or include in a style file, which stops the hypertext functions doing anything. This is used, for instance, in the Elsevier classes, to stop hyperref playing havoc in the front matter. -

    +

    4.1 Bookmark macros

    -

    +

    4.1.1 Setting bookmarks
    -

    Usually

    Usually hyperref automatically adds bookmarks for \section and similar macros. But they can also set manually. -

    +

    }{name}
    -

    creates a bookmark with the specified text and at the given level (default is 0). As name for the +

    creates a bookmark with the specified text and at the given level (default is 0). As name for the internal anchor name is used (in conjunction with level). Therefore the name must be unique (similar to \label). -

    +

    }{name}
    -

    creates a bookmark at the current level. -

    +

    creates a bookmark at the current level. +

    }{name}
    -

    creates a bookmark one step down in the bookmark hierarchy. Internally the current level is increased +

    creates a bookmark one step down in the bookmark hierarchy. Internally the current level is increased by one. -

    +

    }{name}
    -

    creates a bookmark below the current bookmark level. However after the command the current +

    creates a bookmark below the current bookmark level. However after the command the current bookmark level has not changed. -

    Hint: Package bookmark replaces hyperref’s bookmark organization by a new algorithm: @@ -4202,20 +4112,20 @@ class="ec-lmss-10">hyperref’s bookmark organization by a new algori

  • More control over the bookmark appearance (color, font).
  • Different bookmark actions are supported (external file links, URLs, …).
  • -

    Therefore I recommend using this package. -

    +

    Therefore I recommend using this package. +

    4.1.2 Replacement macros
    -

    hyperref takes the text for bookmarks from the arguments of commands like \section, which can contain things like math, colors, or font changes, none of which will display in bookmarks as is. -

    +

    }{PDFstring}
    -

    For example, +

    For example, -

    +
     \section{Pythagoras:
    - 
      \texorpdfstring{$ a^2 + b^2 = c^2 $}{% - 
        a\texttwosuperior\ + b\texttwosuperior\ = - 
        c\texttwosuperior - 
      }% - 
    } - 
    \section{\texorpdfstring{\textcolor{red}}{}{Red} Mars} -
    -

    -

    +

    +

    \pdfstringdef executes the hook before it expands the string. Therefore, you can use this hook to perform additional tasks or to disable additional commands. -

    +
     \expandafter\def\expandafter\pdfstringdefPreHook
    - 
    \expandafter{% - 
      \pdfstringdefPreHook - 
      \renewcommand{\mycommand}[1]{}% - 
    } -
    -

    -

    However, for disabling commands, an easier way is via +

    +

    However, for disabling commands, an easier way is via \pdfstringdefDisableCommands, which adds its argument to the definition of \pdfstringdefPreHook (‘@’ can here be used as letter in command names): -

    +
     \pdfstringdefDisableCommands{%
    - 
      \let~\textasciitilde - 
      \def\url{\pdfstringdefWarn\url}% - 
      \let\textcolor\@gobble - 
    } -
    -

    -

    +  \let~\textasciitilde +  \def\url{\pdfstringdefWarn\url}% +  \let\textcolor\@gobble +} + +

    +

    4.2 Utility macros

    -

    + id="x1-180004.2">Pagelabels +

    +
    \thispdfpagelabel{page number format}
    +

    This allows to change format of the page number shown in the tool bar of a PDF viewer for a specific +page, for example +

    \thispdfpagelabel{Empty Page-\roman{page}} +

    The command affects the page on which it is executed, so asynchronous page breaking should be +taken into account. It should be used in places where for example \thispagestyle can be use +too. +

    +

    4.3 Utility macros

    +

    +

    \hypercalcbp{dimen specification}
    -

    \hypercalcbp takes a TeX dimen specification and converts it to bp and returns the number without the unit. This is useful for options pdfview, pdfstartview and pdfremotestartview. Example: -

    +
    -
    +
     \hypersetup{
    - 
      pdfstartview={FitBH \hypercalcbp{\paperheight-\topmargin-1in - 
        -\headheight-\headsep} - 
    } -
    -

    -

    The origin of the PDF coordinate system is the lower left corner. -

    Note, for calculations you need either package +

    +

    The origin of the PDF coordinate system is the lower left corner. +

    Note, for calculations you need either package calc or ε-TEX. Nowadays the latter should automatically be enabled for LATEX formats. Users without ε-TEX, please, look in the source documentation hyperref.dtx for further limitations. -

    Also

    Also \hypercalcbp cannot be used in option specifications of \documentclass and \usepackage, because LATEX expands the option lists of these commands. However package hyperref is not yet loaded and an undefined control sequence error would arise. -

    +

    5 New FeaturesNew Features4

    + id="x1-20001f4">

    5.1 Option ‘pdflinkmargin’

    -

    Option ‘pdflinkmargin’ is an experimental option for specifying a link margin, if the driver supports this. + id="x1-210005.1">Option ‘pdflinkmargin’ +

    Option ‘pdflinkmargin’ is an experimental option for specifying a link margin, if the driver supports this. Default is 1 pt for supporting drivers. -

    +

    pdfTeX
     #1} (with Other drivers
    Unsupported.
    -

    +

    5.2 Field option ‘calculatesortkey’

    -

    Fields with calculated values are calculated in document order by default. If calculated field values + id="x1-220005.2">Field option ‘calculatesortkey’ +

    Fields with calculated values are calculated in document order by default. If calculated field values depend on other calculated fields that appear later in the document, then the correct calculation order can be specified with option ‘calculatesortkey’. Its value is used as key to lexicographically sort the calculated fields. The sort key do not need to be unique. Fields that share the same key are sorted in document order. -

    Currently the field option ‘calculatesortkey’ is only supported by the driver for pdfTeX. -

    +

    Currently the field option ‘calculatesortkey’ is only supported by the driver for pdfTeX. +

    5.3 Option ‘localanchorname’

    -

    When an anchor is set (e.g. via Option ‘localanchorname’ +

    When an anchor is set (e.g. via \refstepcounter, then the anchor name is globally set to the current anchor name. -

    For example: +

    For example: -

    +
         \section{Foobar}
    - 
        \begin{equation}\end{equation} - 
        \label{sec:foobar} -
    -

    With the default global setting (localanchorname=false) a reference to ‘sec:foobar’ jumps to the +    \begin{equation}\end{equation} +    \label{sec:foobar} + +

    With the default global setting (localanchorname=false) a reference to ‘sec:foobar’ jumps to the equation before. With option ‘localanchorname’ the anchor of the equation is forgotten after the environment and the reference ‘sec:foobar’ jumps to the section title. -

    Option ‘localanchorname’ is an experimental option, there might be situations, where the anchor +

    Option ‘localanchorname’ is an experimental option, there might be situations, where the anchor name is not available as expected. -

    +

    5.4 Option ‘customdriver’

    -

    The value of option ‘customdriver’ is the name of an external driver file without extension ‘.def’. The file + id="x1-240005.4">Option ‘customdriver’ +

    The value of option ‘customdriver’ is the name of an external driver file without extension ‘.def’. The file must have \ProvidesFile with a version date and number that match the date and number of ‘hyperref’, otherwise a warning is given. -

    Because the interface, what needs to be defined in the driver, is not well defined and +

    Because the interface, what needs to be defined in the driver, is not well defined and quite messy, the option is mainly intended to ease developing, testing, debugging the driver part. -

    +

    5.5 Option ‘psdextra’

    -

    LaTeX’s NFSS is used to assist the conversion of arbitrary TeX strings to PDF strings (bookmarks, PDF + id="x1-250005.5">Option ‘psdextra’ +

    LaTeX’s NFSS is used to assist the conversion of arbitrary TeX strings to PDF strings (bookmarks, PDF information entries). Many math command names (\geq, \notin, ...) are not in control of NFSS, @@ -4414,95 +4348,95 @@ on means that the short names are available. Then \geq can directly be used instead of \textgeq. -

    +

    5.6 \XeTeXLinkBox

    -

    When XeTeX generates a link annotation, it does not look at the boxes (as the other drivers), but only + id="x1-260005.6">\XeTeXLinkBox +

    When XeTeX generates a link annotation, it does not look at the boxes (as the other drivers), but only at the character glyphs. If there are no glyphs (images, rules, ...), then it does not generate a link annotation. Macro \XeTeXLinkBox puts its argument in a box and adds spaces at the lower left and upper right corners. An additional margin can be specified by setting it to the dimen register \XeTeXLinkMargin. The default is 2pt. -

    Example: +

    Example: -

    +
         % xelatex
    - 
        \documentclass{article} - 
        \usepackage{hyperref} - 
        \setlength{\XeTeXLinkMargin}{1pt} - 
        \begin{document} - 
        \section{Hello World} - 
        \newpage - 
        \label{sec:hello} - 
        \hyperref[sec:hello]{% - 
          \XeTeXLinkBox{\rule{10mm}{10mm}}% - 
        } - 
        \end{document} -
    -

    -

    +    \documentclass{article} +    \usepackage{hyperref} +    \setlength{\XeTeXLinkMargin}{1pt} +    \begin{document} +    \section{Hello World} +    \newpage +    \label{sec:hello} +    \hyperref[sec:hello]{% +      \XeTeXLinkBox{\rule{10mm}{10mm}}% +    } +    \end{document} + +

    +

    5.7 \IfHyperBooleanExists and \IfHyperBoolean

    + id="x1-270005.7">\IfHyperBooleanExists and \IfHyperBoolean -
    +
      \IfHyperBooleanExists{OPTION}{YES}{NO}
    -
    -

    If a hyperref OPTION is a boolean, that means it takes values ‘true’ or ‘false’, then +

    If a hyperref OPTION is a boolean, that means it takes values ‘true’ or ‘false’, then \IfHyperBooleanExists calls YES, otherwise NO. -

    +
      \IfHyperBoolean{OPTION}{YES}{NO}
    -
    -

    Macro +

    Macro \IfHyperBoolean calls YES, if OPTION exists as boolean and is enabled. Otherwise NO is executed. -

    Both macros are expandable. Additionally option ‘stoppedearly’ is available. It is enabled if +

    Both macros are expandable. Additionally option ‘stoppedearly’ is available. It is enabled if \MaybeStopEarly or \MaybeStopNow end hyperref prematurely. -

    +

    5.8 \unichar

    -

    If a Unicode character is not supported by puenc.def, it can be given by using \unichar +

    If a Unicode character is not supported by puenc.def, it can be given by using \unichar. Its 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

    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 +    \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 +

    Users of (n)german packages or babel options may use \dq instead: -

    +
         \unichar{\dq 263A}% \dq is double quote with catcode 12 (other)
    -
    -

    -

    + +

    +

    5.9 \ifpdfstringunicode

    -

    Some features of the PDF specification needs PDF strings. Examples are bookmarks or the entries in the + id="x1-290005.9">\ifpdfstringunicode +

    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 @@ -4513,21 +4447,21 @@ class="ec-lmvtt-10">\ifpdfstringunicode. It is only allowed class="ec-lmvtt-10">\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 +

    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: -

    +
         \def\Thanh{%
    - 
          H\‘an~% - 
          Th\^e\llap{\raise 0.5ex\hbox{\’{}}}% - 
          ~Th\‘anh% - 
        } -
    -

    It’s not entirely correct, the second accent over the ‘e’ is not an acute, but a hook. However standard +      H\‘an~% +      Th\^e\llap{\raise 0.5ex\hbox{\’{}}}% +      ~Th\‘anh% +    } + +

    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 definition to support hyperref. The first and the last word are already +

    Now we can extend the definition 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: -

    +
         % U+1EC3 LATIN SMALL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE
    -
    -

    Thus we can put this together: + +

    Thus we can put this together: -

    +
         \def\Thanh{%
    - 
          H\‘an~% - 
          \texorpdfstring{Th\^e\llap{\raise 0.5ex\hbox{\’{}}}}% - 
          {\ifpdfstringunicode{Th\unichar{"1EC3}}{Th\^e}}% - 
          ~Th\‘anh% - 
        } -
    -

    For PDFDocEncoding (PD1) the variant above has dropped the second accent. Alternatively we could +      H\‘an~% +      \texorpdfstring{Th\^e\llap{\raise 0.5ex\hbox{\’{}}}}% +      {\ifpdfstringunicode{Th\unichar{"1EC3}}{Th\^e}}% +      ~Th\‘anh% +    } + +

    For PDFDocEncoding (PD1) the variant above has dropped the second accent. Alternatively we could provide a representation without accents instead of wrong accents: -

    +
         \def\Thanh{%
    - 
          \texorpdfstring{% - 
            H\‘an~% - 
            Th\^e\llap{\raise 0.5ex\hbox{\’{}}}}% - 
            ~Th\‘anh% - 
          }{% - 
            \ifpdfstringunicode{% - 
              H\‘an Th\unichar{"1EC3} Th\‘anh% - 
            }{% - 
              Han The Thanh% - 
            }% - 
          }% - 
        } -
    -

    -

    +      \texorpdfstring{% +        H\‘an~% +        Th\^e\llap{\raise 0.5ex\hbox{\’{}}}}% +        ~Th\‘anh% +      }{% +        \ifpdfstringunicode{% +          H\‘an Th\unichar{"1EC3} Th\‘anh% +        }{% +          Han The Thanh% +        }% +      }% +    } + +

    +

    5.10 Customizing index style file with \nohyperpage

    -

    Since version 2008/08/14 v6.78f. -

    For hyperlink support in the index, hyperref inserts 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 +    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,\nohyperpage, e.g.: -

    +
         suffix_2p "\\nohyperpage{f.}"
    - 
        suffix_3p "\\nohyperpage{ff.}" -
    -

    (Depending on the typesetting tradition some space “ +

    (Depending on the typesetting tradition some space “\\,” or “~” should be put before the first f inside \nohyperpage.) -

    +

    5.11 Experimental option ‘ocgcolorlinks’

    -

    The idea are colored links, when viewed, but printed without colors. This new experimental option + id="x1-310005.11">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. -

    A better implementation which hasn’t the disadvantage to prevent line breaks is in the ocgx2 +

    A better implementation which hasn’t the disadvantage to prevent line breaks is in the ocgx2 package. Check its documentation for details how to use it.

    -

    +

    5.12 Option ‘pdfa’

    -

    The new option ‘pdfa’ tries to avoid violations of PDF/A in code generated by hyperref. However, the + id="x1-320005.12">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: +

    Currently, option ‘pdfa’ sets and disables the following items:

    -

    The default value of the new option ‘pdfa’ is ‘false’. It influences the loading of the package and +

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

    +

    5.13 Option ‘linktoc’ added

    -

    The new option ‘linktoc’ allows more control which part of an entry in the table of contents is made into + id="x1-330005.13">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:

    -

    +

    5.14 Option ‘pdfnewwindow’ changed

    -

    Before 6.77b: + id="x1-340005.14">Option ‘pdfnewwindow’ changed +

    Before 6.77b:

    -

    Since 6.77b: +

    Since 6.77b:

    -

    Rationale: There is a difference between setting to ‘false’ and an absent entry. In the former case the +

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

    +

    5.15 Flag options for PDF forms

    -

    PDF form field macros (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): -

    http://www.adobe.com/devnet/pdf/pdf_reference.html -

    http://www.adobe.com/devnet/acrobat/pdfs/pdf_reference.pdf -

    Options (convert to lowercase) except flags in square brackets: +

    Options (convert to lowercase) except flags in square brackets:

    -

    New option ‘export’ sets the export format of a submit action. Valid values are (upper- or +

    New option ‘export’ sets the export format of a submit action. Valid values are (upper- or lowercase):

    -

    +

    5.16 Option ‘pdfversion’

    -

    This is an experimental option. It notifies ‘hyperref’ about the intended PDF version. Currently this is + id="x1-360005.16">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 +

    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

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

    In theory this option should also set the PDF version, but this is not generally supported.

    -

    The current PDF version is used as default if this version can be detected (only pdfTeX

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

    +

    5.17 Field option ‘name’

    -

    Many form objects uses the label argument for several purposes: + id="x1-370005.17">Field option ‘name’ +

    Many form objects uses the label argument for several purposes:

    -

    Code that is suitable for layouting with TeX can break in the structures of the output format. If option +

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

    +

    5.18 Option ‘pdfencoding’

    -

    The PDF format allows two encodings for bookmarks and entries in the information dictionary: + id="x1-380005.18">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: @@ -4853,43 +4787,44 @@ class="ec-lmss-10">unicode sets Unicode. It is encoded as UTF-16BE. Two b surrogates need four bytes.

  • auto PDFDocEncoding if the string does not contain characters outside the encoding and - Unicode otherwise.
  • -

    The luatex driver uses unicode by default. If another encoding should be forced, it should be done in +class="ec-lmss-10">auto PDFDocEncoding if the string does not contain characters outside the encoding (outside + ascii if an unicode engine is used) and Unicode otherwise. This option is normally no suited + for the unicode engines. +

    All drivers use unicode by default now. If another encoding should be forced, it should be done in hypersetup. -

    +

    5.19 Color options/package hycolor

    -

    See documentation of package ‘hycolor’. -

    + id="x1-390005.19">Color options/package hycolor +

    See documentation of package ‘hycolor’. +

    5.20 Option pdfusetitle

    -

    If option pdfusetitle is set then hyperref tries to derive the values for pdftitle and pdfauthor + id="x1-400005.20">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). -

    +

    5.21 Starred form of \autoref

    -

    Starred form of \autoref +

    \autoref* generates a reference without link as \ref* or \pageref*. -

    +

    5.22 Link border style

    -

    Links can be underlined instead of the default rectangle or options 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: +

    Some remarks:

    -

    +

    5.23 Option Option bookmarksdepth

    -

    The depth of the bookmarks can be controlled by the new option

    The depth of the bookmarks can be controlled by the new option bookmarksdepth. The option acts globally and distinguishes three cases:

    -

    +     \hypersetup{bookmarksdepth=4} % same as before +     \hypersetup{bookmarksdepth} % counter "tocdepth" is used + +

    +

    5.24 Option Option pdfescapeform

    -

    There are many places where arbitrary strings end up as PS or PDF strings. The PS/PDF strings in +

    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: +

    Therefore a new option pdfescapeform was introduced:

    -

    +

    5.25 Default driver setting

    -

    (hyperref 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 @@ -4987,144 +4922,144 @@ xdvi for example. This behaviour, however, can easily be changed in the configur class="ec-lmvtt-10">hyperref.cfg: -

    +
         \providecommand*{\Hy@defaultdriver}{hdvips}
    -
    -

    for dvips, or + +

    for dvips, or -

    +
         \providecommand*{\Hy@defaultdriver}{hypertex}
    -
    -

    for the default behaviour of hyperref. -

    See also the new option ‘driverfallback’. -

    + +

    for the default behaviour of hyperref. +

    See also the new option ‘driverfallback’. +

    5.26 Backref entries

    -

    Alternative interface for formatting of backref entries, example: + id="x1-460005.26">Backref entries +

    Alternative interface for formatting of backref entries, example: -

    +
     \documentclass[12pt,UKenglish]{article}
    - 

    \usepackage{babel} - 
    \usepackage[pagebackref]{hyperref} - 

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

    \renewcommand*{\backref}[1]{ - 
      % default interface - 
      % #1: backref list - 
      % - 
      % We want to use the alternative interface, - 
      % therefore the definition is empty here. - 
    } - 
    \renewcommand*{\backrefalt}[4]{% - 
      % 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 - 
      \par - 
      #3 citation(s) on #1 page(s): #2,\par - 
      \ifnum#1=1 % - 
        \ifnum#3=1 % - 
          1 citation on page % - 
        \else - 
          #3 citations on page % - 
        \fi - 
      \else - 
        #3 citations on #1 pages % - 
      \fi - 
      #2,\par - 
      \ifnum#3=1 % - 
        1 citation located at page % - 
      \else - 
        #3 citations located at pages % - 
      \fi - 
      #4.\par - 
    } - 

    % The list of distinct entries can be further refined: - 
    \renewcommand*{\backrefentrycount}[2]{% - - - 
      % #1: the original backref entry - 
      % #2: the count of citations of this entry, - 
      %     in case of duplicates greater than one - 
      #1% - 
      \ifnum#2>1 % - 
        ~(#2)% - 
      \fi - 
    } - 

    \begin{document} - 

      \section{Hello} - 
        \cite{ref1, ref2, ref3, ref4} - 
      \section{World} - 
        \cite{ref1, ref3} - 
      \newpage - 

      \section{Next section} - 
        \cite{ref1} - 
      \newpage - 

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

      \pdfbookmark[1]{Bibliography}{bib} - 
      \begin{thebibliography}{99} - 
        \bibitem{ref1} Dummy entry one. - 

        \bibitem{ref2} Dummy entry two. - 

        \bibitem{ref3} Dummy entry three. - 

        \bibitem{ref4} Dummy entry four. - 

      \end{thebibliography} - 

    \end{document} -
    -

    -

    + +\usepackage{babel} +\usepackage[pagebackref]{hyperref} + +% Some language options are detected by package backref. +% This affects the following macros: +%   \backrefpagesname +%   \backrefsectionsname +%   \backrefsep +%   \backreftwosep +%   \backreflastsep + +\renewcommand*{\backref}[1]{ +  % default interface +  % #1: backref list +  % +  % We want to use the alternative interface, +  % therefore the definition is empty here. +} +\renewcommand*{\backrefalt}[4]{% +  % 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 +  \par +  #3 citation(s) on #1 page(s): #2,\par +  \ifnum#1=1 % +    \ifnum#3=1 % +      1 citation on page % +    \else +      #3 citations on page % +    \fi +  \else +    #3 citations on #1 pages % +  \fi +  #2,\par +  \ifnum#3=1 % +    1 citation located at page % +  \else +    #3 citations located at pages % +  \fi +  #4.\par +} + +% The list of distinct entries can be further refined: +\renewcommand*{\backrefentrycount}[2]{% + + +  % #1: the original backref entry +  % #2: the count of citations of this entry, +  %     in case of duplicates greater than one +  #1% +  \ifnum#2>1 % +    ~(#2)% +  \fi +} + +\begin{document} + +  \section{Hello} +    \cite{ref1, ref2, ref3, ref4} +  \section{World} +    \cite{ref1, ref3} +  \newpage + +  \section{Next section} +    \cite{ref1} +  \newpage + +  \section{Last section} +    \cite{ref1, ref2} +  \newpage + +  \pdfbookmark[1]{Bibliography}{bib} +  \begin{thebibliography}{99} +    \bibitem{ref1} Dummy entry one. + +    \bibitem{ref2} Dummy entry two. + +    \bibitem{ref3} Dummy entry three. + +    \bibitem{ref4} Dummy entry four. + +  \end{thebibliography} + +\end{document} + +

    +

    5.27 \phantomsection

    -

    Set an anchor at this location. It is often used in conjunction with \phantomsection +

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

    +
       \cleardoublepage
    - 
      \phantomsection - 
      \addcontentsline{toc}{chapter}{\indexname} - 
      \printindex -
    -

    -

    Now the entry in the table of contents (and bookmarks) for the index points to the start of the index +  \phantomsection +  \addcontentsline{toc}{chapter}{\indexname} +  \printindex + +

    +

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

    +

    6 Acrobat-specific behavior

    -

    If you want to access the menu options of Acrobat Reader or Exchange, the following macro is provided + id="x1-480006">Acrobat-specific behavior +

    If you want to access the menu options of Acrobat Reader or Exchange, the following macro is provided in the appropriate drivers: -

    -

    +

    \Acrobatmenu{}{text}
    -

    The

    The text is used to create a button which activates the appropriate menuoption. The following table lists the option names you can use—comparison of this with the menus in Acrobat Reader or Exchange will show what they do. Obviously some are only appropriate to Exchange.

    + id="x1-48001r13">
    +

    Properties

    +

    About

    File File -

    Open, +

    Open, Close, Scan, Save, @@ -5158,26 +5093,26 @@ class="td10"> PageSetup, Quit

    FileImport →Import -

    ImportImage, +

    ImportImage, ImportNotes, AcroForm:ImportFDF

    FileExport →Export -

    ExportNotes, +

    ExportNotes, AcroForm:ExportFDF

    FileDocumentInfo →DocumentInfo -

    GeneralInfo, +

    GeneralInfo, OpenInfo, FontsInfo, SecurityInfo, @@ -5186,11 +5121,11 @@ class="td10">

    FilePreferences →Preferences -

    GeneralPrefs, +

    GeneralPrefs, NotePrefs, FullScreenPrefs, Weblink:Prefs, @@ -5199,10 +5134,10 @@ class="td10"> AcroSearch:Prefs(Mac), Cpt:Capture

    Edit Edit -

    Undo, +

    Undo, Cut, Copy, Paste, @@ -5215,22 +5150,22 @@ class="td10"> TouchUp:ShowCaptureSuspects, TouchUp:FindSuspect,

    -

    Properties

    EditFields →Fields -

    AcroForm:Duplicate, +

    AcroForm:Duplicate, AcroForm:TabOrder

    Document Document -

    Cpt:CapturePages, +

    Cpt:CapturePages, AcroForm:Actions, CropPages, RotatePages, @@ -5245,10 +5180,10 @@ class="td10">

    View View -

    ActualSize, +

    ActualSize, FitVisible, FitWidth, FitPage, @@ -5269,10 +5204,10 @@ class="td10"> ShowBookmarks, ShowThumbs

    Tools Tools -

    Hand, +

    Hand, ZoomIn, ZoomOut, SelectText, @@ -5288,11 +5223,11 @@ class="td10"> FindNextNote, CreateNotesFile

    ToolsSearch →Search -

    AcroSrch:Query, +

    AcroSrch:Query, AcroSrch:Indexes, AcroSrch:Results, AcroSrch:Assist, @@ -5303,10 +5238,10 @@ class="td10">

    Window Window -

    ShowHideToolBar, +

    ShowHideToolBar, ShowHideMenuBar, ShowHideClipboard, Cascade, @@ -5314,10 +5249,10 @@ class="td10"> TileVertical, CloseAll

    Help Help -

    HelpUserGuide, +

    HelpUserGuide, HelpTutorial, HelpExchange, HelpScan, @@ -5329,231 +5264,231 @@ class="td10"> HelpReader, Weblink:Home

    Help(Windows) Help(Windows) -

    About

    -

    +

    7 PDF and HTML forms

    -

    You must put your fields inside a PDF and HTML forms +

    You must put your fields inside a Form environment (only one per file). -

    There are six macros to prepare fields: -

    -

    -
    \TextField[parameters]{label}
    -

    +

    There are six macros to prepare fields: +

    \CheckBox\TextField[parameters]{label}
    -

    +

    \ChoiceMenu\CheckBox[parameters]{label}{choices}
    -

    +

    \PushButton\ChoiceMenu[parameters]{label}{choices}
    -

    - - +

    \Submit\PushButton[parameters]{label}
    -

    +

    + +

    \Reset\Submit[parameters]{label}
    -

    The way forms and their labels are laid out is determined by: -

    +

    \LayoutTextField{\Reset[parameters]{label}{field}
    -

    +

    The way forms and their labels are laid out is determined by: +

    \LayoutChoiceField\LayoutTextField{label}{field}
    -

    +

    \LayoutCheckField\LayoutChoiceField{label}{field}
    -

    These macros default to #1 #2 -

    What is actually shown in as the field is determined by: -

    +

    \MakeRadioField\LayoutCheckField{widthlabel}{heightfield}
    -

    +

    These macros default to #1 #2 +

    What is actually shown in the field is determined by: +

    \MakeCheckField\MakeRadioField{width}{height}
    -

    +

    \MakeTextField\MakeCheckField{width}{height}
    -

    +

    \MakeChoiceField\MakeTextField{width}{height}
    -

    +

    +
    \MakeChoiceField{width}{height}
    +

    +

    \MakeButtonField{text}
    -

    These macros default to

    These macros default to \vbox to #2{\hbox #1{\hfill}\vfill}, except the l to #1; it is used for buttons, and the special \Submit and \Reset macros. -

    You may also want to redefine the following macros: +

    You may also want to redefine the following macros: -

    +
     \def\DefaultHeightofSubmit{12pt}
    - 
    \def\DefaultWidthofSubmit{2cm} - 
    \def\DefaultHeightofReset{12pt} - 
    \def\DefaultWidthofReset{2cm} - 
    \def\DefaultHeightofCheckBox{0.8\baselineskip} - 
    \def\DefaultWidthofCheckBox{0.8\baselineskip} - 
    \def\DefaultHeightofChoiceMenu{0.8\baselineskip} - 
    \def\DefaultWidthofChoiceMenu{0.8\baselineskip} - 
    \def\DefaultHeightofText{\baselineskip} - 
    \def\DefaultHeightofTextMultiline{4\baselineskip} - 
    \def\DefaultWidthofText{3cm} -
    -

    -

    +\def\DefaultWidthofSubmit{2cm} +\def\DefaultHeightofReset{12pt} +\def\DefaultWidthofReset{2cm} +\def\DefaultHeightofCheckBox{0.8\baselineskip} +\def\DefaultWidthofCheckBox{0.8\baselineskip} +\def\DefaultHeightofChoiceMenu{0.8\baselineskip} +\def\DefaultWidthofChoiceMenu{0.8\baselineskip} +\def\DefaultHeightofText{\baselineskip} +\def\DefaultHeightofTextMultiline{4\baselineskip} +\def\DefaultWidthofText{3cm} + +

    +

    7.1 Forms environment parameters

    + id="x1-500007.1">Forms environment parameters
    + id="x1-50001r14">
    action action URL URL -

    The URL that will receive the form data if a

    The URL that will receive the form data if a Submit button is included in the form

    encoding encoding name name -

    The encoding for the string set to the URL; FDF-encoding +

    The encoding for the string set to the URL; FDF-encoding is usual, and html is the only valid value

    method method name name -

    Used only when generating HTML; values can be

    Used only when generating HTML; values can be post or get

    -

    +

    7.2 Forms optional parameters

    -

    Note that all colors must be expressed as RGB triples, in the range 0..1 (i.e. Forms optional parameters +

    Note that all colors must be expressed as RGB triples, in the range 0..1 (i.e. color=0 0 0.5)

    + id="x1-51001r15">
    accesskey key accesskey key (as per HTML)
    align number align number 0 0 alignment within text field; 0 is left-aligned,
    1 is centered, 2 is right-aligned.
    altname name altname name alternative name,
    the name shown in the user interface
    backgroundcolor backgroundcolor color of box
    bordercolor bordercolor color of border
    bordersep bordersep box border gap
    borderwidth borderwidth 1 1 width of box border, the value is a dimension
    or a number with default unit bp
    calculate calculate JavaScript code to calculate the value of the field
    charsize dimen charsize dimen font size of field text
    checkboxsymbol char checkboxsymbol char 4 () ) symbol used for check boxes (ZapfDingbats),
    the value is a character or \ding{number},
    see package pifont from bundle psnfss
    checked boolean checked boolean false false whether option selected by default
    color color color of text in box
    combo boolean combo boolean false false choice list is ‘combo’ style
    default default default value
    disabled boolean disabled boolean false false field disabled
    format format JavaScript code to format the field
    height dimen height dimen height of field box
    hidden boolean hidden boolean false false field hidden
    keystroke keystroke JavaScript code to control the keystrokes on entry
    mappingname name mappingname name the mapping name to be used when exporting
    the field data
    maxlen number maxlen number 0 0 number of characters allowed in text field
    menulength number menulength number 4 4 number of elements shown in list
    multiline boolean multiline boolean false false whether text box is multiline
    name name name name name of field (defaults to label)
    onblur onblur JavaScript code
    onchange onchange JavaScript code
    onclick onclick JavaScript code
    ondblclick ondblclick JavaScript code
    onfocus onfocus JavaScript code
    onkeydown onkeydown JavaScript code
    onkeypress onkeypress JavaScript code
    onkeyup onkeyup JavaScript code
    onmousedown onmousedown JavaScript code
    onmousemove onmousemove JavaScript code
    onmouseout onmouseout JavaScript code
    onmouseover onmouseover JavaScript code
    onmouseup onmouseup JavaScript code
    onselect onselect JavaScript code
    password boolean password boolean false false text field is ‘password’ style
    popdown boolean popdown boolean false false choice list is ‘popdown’ style
    radio boolean radio boolean false false choice list is ‘radio’ style
    radiosymbol char radiosymbol char H () ) symbol used for radio fields (ZapfDingbats),
    the value is a character or \ding{number},
    see package pifont from bundle psnfss
    readonly boolean readonly boolean false false field is readonly
    rotation number rotation number 0 0 rotation of the widget annotation
    (degree, counterclockwise, multiple of 90)
    tabkey tabkey (as per HTML)
    validate validate JavaScript code to validate the entry
    value value initial value
    width dimen width dimen width of field box
    -

    +

    8 Defining a new driver

    -

    A hyperref driver has to provide definitions for eight macros: -

    1. Defining a new driver +

    A hyperref driver has to provide definitions for eight macros: +

    1. \hyper@anchor -

    2.

    2. \hyper@link -

    3.

    3. \hyper@linkfile -

    4.

    4. \hyper@linkurl -

    5.

    5. \hyper@anchorstart -

    6.

    6. \hyper@anchorend -

    7.

    7. \hyper@linkstart -

    8.

    8. \hyper@linkend -

    The draft option defines the macros as follows +

    The draft option defines the macros as follows -

    +
     \let\hyper@@anchor\@gobble
    - 
    \gdef\hyper@link##1##2##3{##3}% - 
    \def\hyper@linkurl##1##2{##1}% - 
    \def\hyper@linkfile##1##2##3{##1}% - 
    \let\hyper@anchorstart\@gobble - 
    \let\hyper@anchorend\@empty - 
    \let\hyper@linkstart\@gobbletwo - 
    \let\hyper@linkend\@empty -
    -

    -

    +\gdef\hyper@link##1##2##3{##3}% +\def\hyper@linkurl##1##2{##1}% +\def\hyper@linkfile##1##2##3{##1}% +\let\hyper@anchorstart\@gobble +\let\hyper@anchorend\@empty +\let\hyper@linkstart\@gobbletwo +\let\hyper@linkend\@empty + +

    +

    9 Special support for other packages

    -

    Package Special support for other packages +

    Package hyperref aims to cooperate with other packages, but there are several possible sources for conflict, such as

      @@ -6160,7 +6095,7 @@ class="ec-lmvtt-10">implicit=false for these packages to work.
    • Packages that do anything serious with the index.
    -

    The

    The hyperref package is distributed with variants on two useful packages designed to work especially well with it. These are xr and minitoc, which support crossdocument links using \label/\ref mechanisms and per-chapter tables of contents, respectively. -

    +

    9.1 Package Compatibility

    -

    Currently only package loading orders are available: -

    Note: hyperref loads package Package Compatibility +

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

    +

    9.1.1 algorithm
    + id="x1-550009.1.1">algorithm -
    +
      \usepackage{float}
    - 
      \usepackage{hyperref} - 
      \usepackage[chapter]{algorithm}% eg. -
    -

    -

    +  \usepackage{hyperref} +  \usepackage[chapter]{algorithm}% eg. + +

    +

    9.1.2 amsmath
    -

    The environments equation and eqnarray are not supported too well. For example, there might be + id="x1-560009.1.2">amsmath +

    The environments equation and eqnarray are not supported too well. For example, there might be spacing problems (eqnarray isn’t recommended anyway, see CTAN:info/l2tabu/, the situation for equation is unclear, because nobody is interested in investigating). Consider using the environments that package amsmath provide, e.g. gather for equation. The environment equation can even redefined to use gather: -

    +
       \usepackage{amsmath}
    - 
      \let\equation\gather - 
      \let\endequation\endgather -
    -

    -

    +  \let\equation\gather +  \let\endequation\endgather + +

    +

    9.1.3 amsrefs
    -

    Package loading order: + id="x1-570009.1.3">amsrefs +

    Package loading order: -

    +
       \usepackage{hyperref}
    - 
      \usepackage{amsrefs} -
    -

    -

    +  \usepackage{amsrefs} + +

    +

    9.1.4 arydshln, longtable
    -

    Package longtable must be put before hyperref and arydshln, hyperref after arydshln generates an error, + id="x1-580009.1.4">arydshln, longtable +

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

    +
       \usepackage{longtable}
    - 
      \usepacakge{hyperref} - 
      \usepackage{arydshln} -
    -

    -

    +  \usepacakge{hyperref} +  \usepackage{arydshln} + +

    +

    9.1.5 babel/magyar.ldf
    -

    The old version 2005/03/30 v1.4j will not work. You need at least version 1.5, maintained by Péter + id="x1-590009.1.5">babel/magyar.ldf +

    The old version 2005/03/30 v1.4j will not work. You need at least version 1.5, maintained by Péter Szabó, see CTAN:language/hungarian/babel/. -

    +

    9.1.6 babel/spanish.ldf
    -

    Babel’s spanish.ldf redefines ‘babel/spanish.ldf +

    Babel’s spanish.ldf redefines ‘\.’ to support ‘\...’. In bookmarks (\pdfstringdef) only ‘\.’ is supported. If ‘\...’ is needed, \texorpdfstring{\...}{\dots} can be used instead. -

    +

    9.1.7 bibentry
    -

    Workaround: + id="x1-610009.1.7">bibentry +

    Workaround: -

    +
       \makeatletter
    - 
      \let\saved@bibitem\@bibitem - 
      \makeatother - 

      \usepackage{bibentry} - 
      \usepackage{hyperref} - 

      \begin{document} - 

      \begingroup - 
        \makeatletter - 
        \let\@bibitem\saved@bibitem - 
        \nobibliography{database} - 
      \endgroup -
    -

    -

    +  \let\saved@bibitem\@bibitem +  \makeatother + +  \usepackage{bibentry} +  \usepackage{hyperref} + +  \begin{document} + +  \begingroup +    \makeatletter +    \let\@bibitem\saved@bibitem +    \nobibliography{database} +  \endgroup + +

    +

    9.1.8 bigfoot
    -

    Hyperref does not support package ‘bigfoot’. And package ‘bigfoot’ does not support hyperref’s footnotes + id="x1-620009.1.8">bigfoot +

    Hyperref does not support package ‘bigfoot’. And package ‘bigfoot’ does not support hyperref’s footnotes and disables them (hyperfootnotes=false). -

    +

    9.1.9 chappg
    -

    Package ‘chappg’ uses chappg +

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

    +
       \usepackage{hyperref}
    - 
      \usepackage{chappg} -
    -

    -

    +  \usepackage{chappg} + +

    +

    9.1.10 cite
    -

    This is from Mike Shell: cite.sty cannot currently be used with hyperref. However, I can do a workaround + id="x1-640009.1.10">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 - + \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). -

    +

    9.1.11 count1to
    -

    Package ‘count1to’ adds several count1to +

    Package ‘count1to’ adds several \@addtoreset commands that confuse ‘hyperref’. Therefore \theH<...> has to be fixed: -

    +
       \usepackage{count1to}
    - 
      \AtBeginDocument{% *after* \usepackage{count1to} - 
        \renewcommand*{\theHsection}{\theHchapter.\arabic{section}}% - 
        \renewcommand*{\theHsubsection}{\theHsection.\arabic{subsection}}% - 
        \renewcommand*{\theHsubsubsection}{\theHsubsection.\arabic{subsubsection}}% - 
        \renewcommand*{\theHparagraph}{\theHsubsubsection.\arabic{paragraph}}% - 
        \renewcommand*{\theHsubparagraph}{\theHparagraph.\arabic{subparagraph}}% - 
      } -
    -

    -

    +  \AtBeginDocument{% *after* \usepackage{count1to} +    \renewcommand*{\theHsection}{\theHchapter.\arabic{section}}% +    \renewcommand*{\theHsubsection}{\theHsection.\arabic{subsection}}% +    \renewcommand*{\theHsubsubsection}{\theHsubsection.\arabic{subsubsection}}% +    \renewcommand*{\theHparagraph}{\theHsubsubsection.\arabic{paragraph}}% +    \renewcommand*{\theHsubparagraph}{\theHparagraph.\arabic{subparagraph}}% +  } + +

    +

    9.1.12 dblaccnt
    -

    pd1enc.def or puenc.def should be loaded before: + id="x1-660009.1.12">dblaccnt +

    pd1enc.def or puenc.def should be loaded before: -

    +
       \usepackage{hyperref}
    - 
      \usepackage{dblaccnt} -
    -

    or see entry for +

    or see entry for vietnam. -

    +

    9.1.13 easyeqn
    -

    Not compatible, breaks. -

    + id="x1-670009.1.13">easyeqn +

    Not compatible, breaks. +

    9.1.14 ellipsis
    -

    This packages redefines ellipsis +

    This packages redefines \textellipsis after package hyperref (pd1enc.def/puenc.def should be loaded before): -

    +
       \usepackage{hyperref}
    - 
      \usepackage{ellipsis} -
    -

    -

    +  \usepackage{ellipsis} + +

    +

    9.1.15 float
    + id="x1-690009.1.15">float -
    +
      \usepackage{float}
    - 
      \usepackage{hyperref} -
    -

    +  \usepackage{hyperref} + +

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

    +

    9.1.16 endnotes
    -

    Unsupported. -

    + id="x1-700009.1.16">endnotes +

    Unsupported. +

    9.1.17 foiltex
    -

    Update to version 2008/01/28 v2.1.4b: Since version 6.77a hyperref does not hack into foiltex +

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

    +

    9.1.18 footnote
    -

    This package is not supported, you have to disable hyperref’s footnote support by using option + id="x1-720009.1.18">footnote +

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

    +

    9.1.19 geometry
    -

    Driver ‘dvipdfm’ and program ‘dvipdfm’ might generate a warning: Sorry. Too late to change page size + id="x1-730009.1.19">geometry +

    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 location: -

    +
    +    \documentclass[dvipdfm]{article}% or other classes
    +    \usepackage{atbegshi}
    +    \AtBeginDocument{%
    +      \let\OrgAtBeginDvi\AtBeginDvi
    +      \let\AtBeginDvi\AtBeginShipoutFirst
    +    }
    +    \usepackage[
    +      paperwidth=170mm,
    +      paperheight=240mm
    +    ]{geometry}
    +    \AtBeginDocument{%
    +      \let\AtBeginDvi\OrgAtBeginDvi
    +    }
    +    \usepackage{hyperref}
    +
    +  or
    +
         \documentclass[dvipdfm]{article}% or other classes
    - 
        \usepackage{atbegshi} - 
        \AtBeginDocument{% - 
          \let\OrgAtBeginDvi\AtBeginDvi - 
          \let\AtBeginDvi\AtBeginShipoutFirst - 
        } - 
        \usepackage[ - 
          paperwidth=170mm, - 
          paperheight=240mm - 
        ]{geometry} - 
        \AtBeginDocument{% - 
          \let\AtBeginDvi\OrgAtBeginDvi - 
        } - 
        \usepackage{hyperref} - 

      or - 

        \documentclass[dvipdfm]{article}% or other classes - 
        \usepackage{atbegshi} - 
        \let\AtBeginDvi\AtBeginShipoutFirst - 
        \usepackage[ - 
          paperwidth=170mm, - 
          paperheight=240mm - 
        ]{geometry} - 
        \usepackage{hyperref} -
    -

    -

    +    \usepackage{atbegshi} +    \let\AtBeginDvi\AtBeginShipoutFirst +    \usepackage[ +      paperwidth=170mm, +      paperheight=240mm +    ]{geometry} +    \usepackage{hyperref} + +

    +

    9.1.20 IEEEtran.cls
    -

    version IEEEtran.cls +

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

    +

    9.1.21 index
    -

    version index +

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

    +

    9.1.22 lastpage
    -

    Compatible. -

    + id="x1-760009.1.22">lastpage +

    Compatible. +

    9.1.23 linguex
    + id="x1-770009.1.23">linguex -
    +
      \usepackage{hyperref}
    - 
      \usepackage{linguex} -
    -

    -

    +  \usepackage{linguex} + +

    +

    9.1.24 ltabptch
    + id="x1-780009.1.24">ltabptch -
    +
      \usepackage{longtable}
    - 
      \usepackage{ltabptch} - 
      \usepackage{hyperref} -
    -

    -

    +  \usepackage{ltabptch} +  \usepackage{hyperref} + +

    +

    9.1.25 mathenv
    -

    Unsupported. -

    Both ‘mathenv’ and ‘hyperref’ messes around with environment ‘eqnarray’. You can load ‘mathenv’ + id="x1-790009.1.25">mathenv +

    Unsupported. +

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

    +

    9.1.26 minitoc-hyper
    -

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

    + id="x1-800009.1.26">minitoc-hyper +

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

    9.1.27 multind
    + id="x1-810009.1.27">multind -
    +
      \usepackage{multind}
    - 
      \usepackage{hyperref} -
    -

    -

    +  \usepackage{hyperref} + +

    +

    9.1.28 natbib
    + id="x1-820009.1.28">natbib -
    +
      \usepackage{natbib}
    - 
      \usepackage{hyperref} -
    -

    -

    +  \usepackage{hyperref} + +

    +

    9.1.29 nomencl
    -

    Example for introducing links for the page numbers: + id="x1-830009.1.29">nomencl +

    Example for introducing links for the page numbers: -

    +
           \renewcommand*{\pagedeclaration}[1]{\unskip, \hyperpage{#1}}
    -
    -

    -

    For equations the following might work: + +

    +

    For equations the following might work: -

    +
           \renewcommand*{\eqdeclaration}[1]{%
    - 
            \hyperlink{equation.#1}{(Equation~#1)}% - 
          } - 
        But the mapping from the equation number to the anchor name - 
        is not available in general. -
    -

    -

    +        \hyperlink{equation.#1}{(Equation~#1)}% +      } +    But the mapping from the equation number to the anchor name +    is not available in general. + +

    +

    9.1.30 parskip
    + id="x1-840009.1.30">parskip -
    +
      \usepackage{parskip}
    - 
      \usepackage{hyperref}[2012/08/20] -
    -

    -

    Both packages want to redefine +

    +

    Both packages want to redefine \@starttoc. -

    +

    9.1.31 prettyref
    + id="x1-850009.1.31">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 %%% - 
           -
    -

    -

    +\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 %%% +       + +

    +

    9.1.32 ntheorem
    + id="x1-860009.1.32">ntheorem -
    +
      ntheorem-hyper.sty is an old patched version of ntheorem.sty.
    - 
      Newer versions of ntheorem know the option hyperref: - 
        \usepackage{hyperref} - 
        \usepackage[hyperref]{ntheorem} - 
      But there are still unsolved problems (options thref, ...). -
    -

    -

    +  Newer versions of ntheorem know the option hyperref: +    \usepackage{hyperref} +    \usepackage[hyperref]{ntheorem} +  But there are still unsolved problems (options thref, ...). + +

    +

    9.1.33 setspace
    + id="x1-870009.1.33">setspace -
    +
      \usepackage{setspace}
    - 
      \usepackage{hyperref} -
    -

    -

    +  \usepackage{hyperref} + +

    +

    9.1.34 sidecap
    + id="x1-880009.1.34">sidecap -
    +
      Before 2002/05/24 v1.5h:
    - 
        \usepackage{nameref} - 
        \usepackage{hyperref} - 
        \usepackage{sidecap} -
    -

    -

    +    \usepackage{nameref} +    \usepackage{hyperref} +    \usepackage{sidecap} + +

    +

    9.1.35 subfigure
    + id="x1-890009.1.35">subfigure -
    +
      1995/03/06 v2.0:
    - 
        \usepackage{subfigure} - 
        \usepackage{hyperref} - 
        % hypertexnames is set to false. - 
      v2.1: - 
        \usepackage{nameref} - 
        \usepackage{subfigure} - 
        \usepackage{hyperref} - 
        or - 
        \usepackage{hyperref} - 
        \usepackage{subfigure} - 
      v2.1.2: - 
        please update - 
      v2.1.3: - 
        \usepackage{hyperref} - 
        \usepackage{subfigure} - 
        or vice versa? -
    -

    -

    +    \usepackage{subfigure} +    \usepackage{hyperref} +    % hypertexnames is set to false. +  v2.1: +    \usepackage{nameref} +    \usepackage{subfigure} +    \usepackage{hyperref} +    or +    \usepackage{hyperref} +    \usepackage{subfigure} +  v2.1.2: +    please update +  v2.1.3: +    \usepackage{hyperref} +    \usepackage{subfigure} +    or vice versa? + +

    +

    9.1.36 titleref
    + id="x1-900009.1.36">titleref -
    +
      \usepackage{nameref}
    - 
      \usepackage{titleref}% without usetoc - 
      \usepackage{hyperref} -
    -

    -

    +  \usepackage{titleref}% without usetoc +  \usepackage{hyperref} + +

    +

    9.1.37 tabularx
    -

    Linked footnotes are not supported inside environment ‘tabularx’, because they uses the optional + id="x1-910009.1.37">tabularx +

    Linked footnotes are not supported inside environment ‘tabularx’, because they uses the optional argument of \footnotetext, see section ‘Limitations’. Before version 2011/09/28 6.82i hyperref had disabled footnotes entirely by ‘hyperfootnotes=false’. -

    +

    9.1.38 titlesec
    -

    titlesec +

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

    +

    9.1.39 ucs/utf8x.def
    -

    The first time a multibyte UTF8 sequence is called, it does some calculations and stores the result in a + id="x1-930009.1.39">ucs/utf8x.def +

    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 @@ -6647,33 +6582,33 @@ class="ec-lmvtt-10">\PrerenderUnicode or \PreloadUnicodePage to solve this: -

    +
         \usepackage{ucs}
    - 
        \usepackage[utf8x]{inputenc} - 
        \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 +    \usepackage[utf8x]{inputenc} +    \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. -

    +

    9.1.40 varioref
    -

    There are too many problems with varioref. Nobody has time to sort them out. Therefore this package is + id="x1-940009.1.40">varioref +

    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 +

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

    +
         \usepackage{nameref}
    - 
        \usepackage{varioref} - 
        \usepackage{hyperref} -
    -

    -

    Also some babel versions can be problematic. For exmample, 2005/05/21 v3.8g contains a patch for +    \usepackage{varioref} +    \usepackage{hyperref} + +

    +

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

    Also unsupported: +

    Also unsupported:

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

    +

    9.1.41 verse
    -

    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): + id="x1-950009.1.41">verse +

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

    +
       \documentclass{article}
    - 

      % package order does not matter - 
      \usepackage{verse} - 
      \usepackage{hyperref} - 

      \makeatletter - 
      % make unique poemline anchors - 
      \newcounter{verse@env} - 
      \setcounter{verse@env}{0} - 
      \let\org@verse\verse - 
      \def\verse{% - 
        \stepcounter{verse@env}% - 
        \org@verse - 
      } - 
      \def\theHpoemline{\arabic{verse@env}.\thepoemline} - 

      % add anchor for before \addcontentsline in \@vsptitle - 
      \let\org@vsptitle\@vsptitle - 
      \def\@vsptitle{% - 
        \phantomsection - 
        \org@vsptitle - 
      } - 
      \makeatother - 

      \begin{document} - 

      \poemtitle{Poem 1} - 
      \begin{verse} - 
      An one-liner. - 
      \end{verse} - 

      \newpage - 

      \poemtitle{Poem 2} - 
      \begin{verse} - 
      Another one-liner. - 
      \end{verse} - 

      \end{document} -
    -

    -

    + +  % package order does not matter +  \usepackage{verse} +  \usepackage{hyperref} + +  \makeatletter +  % make unique poemline anchors +  \newcounter{verse@env} +  \setcounter{verse@env}{0} +  \let\org@verse\verse +  \def\verse{% +    \stepcounter{verse@env}% +    \org@verse +  } +  \def\theHpoemline{\arabic{verse@env}.\thepoemline} + +  % add anchor for before \addcontentsline in \@vsptitle +  \let\org@vsptitle\@vsptitle +  \def\@vsptitle{% +    \phantomsection +    \org@vsptitle +  } +  \makeatother + +  \begin{document} + +  \poemtitle{Poem 1} +  \begin{verse} +  An one-liner. +  \end{verse} + +  \newpage + +  \poemtitle{Poem 2} +  \begin{verse} +  Another one-liner. +  \end{verse} + +  \end{document} + +

    +

    9.1.42 vietnam
    + id="x1-960009.1.42">vietnam -
    +
      % pd1enc.def should be loaded before package dblaccnt:
    - 
      \usepackage[PD1,OT1]{fontenc} - 
      \usepackage{vietnam} - 
      \usepackage{hyperref} -
    -

    -

    +  \usepackage[PD1,OT1]{fontenc} +  \usepackage{vietnam} +  \usepackage{hyperref} + +

    +

    9.1.43 XeTeX
    -

    Default for the encoding of bookmarks is ‘pdfencoding=auto’. That means the strings are always treated -as unicode strings. Only if the string restricts to the printable ASCII set, it is written as ASCII string. -The reason is that the XeTeX +

    Default for the encoding of bookmarks is pdfencoding=unicode. That means the strings are always +treated as unicode strings. If auto or pdfdoc is forced it applies only if the string restricts to the +printable ASCII set, The reason is that the \special does not support PDFDocEncoding. -

    In older versions hyperref contained special conversion code from UTF-16BE back to UTF-8 in a +

    In older versions hyperref contained special conversion code from UTF-16BE back to UTF-8 in a number of places for xetex to avoid the xdvipdfmx warning -

    Failed to convert input string to UTF16... -

    This is no longer needed with a current xdvipdfmx, so this code has been removed. +

    This is no longer needed with a current xdvipdfmx, so this code has been removed. \csname HyPsd@XeTeXBigCharstrue\endcsname should no longer be used. -

    +

    10 LimitationsLimitations5

    + id="x1-98001f5">

    10.1 Wrapped/broken link support

    -

    Only few drivers support automatically wrapped/broken links, e.g. pdftex, dvipdfm, hypertex. Other + id="x1-9900010.1">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. -

    Workarounds: +

    Workarounds:

    • For long section or caption titles in the table of contents or list of figures/tables option breakurl. class="ec-lmss-10">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 misplaced. -

      Another limitation: some penalties are “optimized” by TeX, thus there are missing break +

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

    -

    +

    10.2 Links across pages

    -

    In general they have problems: + id="x1-10000010.2">Links across pages +

    In general they have problems:

    • Some driver doesn’t support them at all (see above).
    • The driver allows it, but the link result might include the footer and/or header, or an error message can occur sometimes.
    -

    +

    10.3 Footnotes

    -

    LaTeX allows the separation of the footnote mark and the footnote text (Footnotes +

    LaTeX allows the separation of the footnote mark and the footnote text (\footnotemark, \footnotetext). This interface might be enough for visual typesetting. But the relation between @@ -6823,54 +6761,54 @@ Thus the implementation of hyperref does not support the optional argument of \footnotemark and \footnotetext. -

    +

    11 HintsHints6

    + id="x1-102001f6">

    11.1 Spaces in option values

    -

    Unhappily LaTeX strips spaces from options if they are given in 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 + +

    Package hyperref now gets -

    +
         pdfborder=001
    -
    -

    and the result is an invalid PDF file. As workaround braces can be used: + +

    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 +

    Some options can also be given in \hypersetup -

    +
         \hypersetup{pdfborder=0 0 1}
    -
    -

    In +

    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 +

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

    +

    11.2 Index with makeindex

    + id="x1-10400011.2">Index with makeindex
    • Package hyperref adds \hyperpage commands by the encap mechanism (see documentation @@ -6890,15 +6828,15 @@ class="ec-lmvtt-10">\hyperpage command. With logical markup this situation can easily be solved: -
      +
                  \usepackage{makeidx}
      -      
            \makeindex -  
            \usepackage[hyperindex]{hyperref} -  
            \newcommand*{\main}[1]{\textbf{\hyperpage{#1}}} -  
            ... -  
            \index{Some example|main} -
      -

      +       \makeindex +       \usepackage[hyperindex]{hyperref} +       \newcommand*{\main}[1]{\textbf{\hyperpage{#1}}} +       ... +       \index{Some example|main} + +

    • Scientic Word/Scientific WorkPlace users can use package robustindex with hyperindex=false.
    • @@ -6906,10 +6844,10 @@ class="ec-lmvtt-10">\hyperpage command. With class="ec-lmss-10">encap. Example for use of “?”: -
      +
                  \usepackage[encap=?]{hyperref}
      -
      -

      + +

    • Another possibility is the insertion of \hyperpage by a style file for makeindex. For this case, @@ -6919,114 +6857,114 @@ class="ec-lmvtt-10">\hyperpage will be defined regardless o setting of hyperindex. -
      +
            %%% cut %%% hyperindex.ist %%% cut %%%
      -      
      delim_0 ", \\hyperpage{" -  
      delim_1 ", \\hyperpage{" -  
      delim_2 ", \\hyperpage{" -  
      delim_n "}, \\hyperpage{" -  
      delim_t "}" -  
      encap_prefix "}\\" -  
      encap_infix "{\\hyperpage{" -  
      encap_suffix "}" -  
      %%% cut %%% hyperindex.ist %%% cut %%% -
      -

    -

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

    +

    11.3 Warning Warning "bookmark level for unknown <foobar> defaults to 0"

    -

    Getting rid of it: +

    Getting rid of it: -

    +
     \makeatletter
    - 
    \providecommand*{\toclevel@<foobar>}{0} - 
    \makeatother -
    -

    -

    +\providecommand*{\toclevel@<foobar>}{0} +\makeatother + +

    +

    11.4 Link anchors in figures

    -

    The caption command increments the counter and here is the place where hyperref set the corresponding + id="x1-10600011.4">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 case, try package hypcap that implements a method to circumvent the problem. -

    +

    11.5 Additional unicode characters in bookmarks and pdf information entries:

    + id="x1-10700011.5">Additional unicode characters in bookmarks and pdf information entries: -
    +
     \documentclass[pdftex]{article}
    - 
    \usepackage[unicode]{hyperref} -
    -

    -

    Support for additional unicode characters: -

    Example: +

    +

    Support for additional unicode characters: +

    Example: \.{a} and \d{a} -

    1. Get a list with unicode data, eg: -

    http://www.unicode.org/Public/UNIDATA/UnicodeData.txt -

    2. Identify the characters (

    1. Get a list with unicode data, eg: +

    http://www.unicode.org/Public/UNIDATA/UnicodeData.txt +

    2. Identify the characters (\.{a}, \d{a}): -

    +
         0227;LATIN SMALL LETTER A WITH DOT ABOVE;...
    - 
        1EA1;LATIN SMALL LETTER A WITH DOT BELOW;... -
    -

    -

    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 +    1EA1;LATIN SMALL LETTER A WITH DOT BELOW;... + +

    +

    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 +

    +

    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: +

    +

    Optional: 8 is used for abbreviations: -

    +
         \900 = \80, \901 = \81, \902 = \82, ...
    - 

        \9002\047 -> \82\047 -
    -

    -

    5. Declare the character with LaTeX: + +    \9002\047 -> \82\047 + +

    +

    5. Declare the character with LaTeX: -

    +
     \DeclareTextCompositeCommand{\.}{PU}{a}{\82\047}
    - 
    \DeclareTextCompositeCommand{\d}{PU}{a}{\9036\241} - 

    \begin{document} - 
    \section{\={a}, \d{a}, \’{a}, \.{a}} - 
    \end{document} - 
           -
    -

    -

    +\DeclareTextCompositeCommand{\d}{PU}{a}{\9036\241} + +\begin{document} +\section{\={a}, \d{a}, \’{a}, \.{a}} +\end{document} +       + +

    +

    11.6 Footnotes

    -

    The footnote support is rather limited. It is beyond the scope to use Footnotes +

    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 disa class="ec-lmvtt-10">hyperfootnotes=false or fiddle with internal macros, nasty examples: -

    +
    +\documentclass{article}
    +\usepackage{hyperref}
    +\begin{document}
    +Hello%
    +\footnote{The first footnote}
    +World%
    +\addtocounter{footnote}{-1}%
    +\addtocounter{Hfootnote}{-1}%
    +\footnotemark.
    +\end{document}
    +
    +  or
    +
     \documentclass{article}
    - 
    \usepackage{hyperref} - 
    \begin{document} - 
    Hello% - 
    \footnote{The first footnote} - 
    World% - 
    \addtocounter{footnote}{-1}% - 
    \addtocounter{Hfootnote}{-1}% - 
    \footnotemark. - 
    \end{document} - 

      or - 

    \documentclass{article} - 

    \usepackage{hyperref} - 

    \begin{document} - 

    \makeatletter - 

    A% - 
      \footnotemark - 
      \let\saved@Href@A\Hy@footnote@currentHref - 
      % remember link name - 
    B% - 
      \footnotemark - 
      \let\saved@Href@B\Hy@footnote@currentHref - 
    b% - 
      \addtocounter{footnote}{-1}% - 
      \addtocounter{Hfootnote}{-1}% generate the same anchor - 
      \footnotemark - 
    C% - 
      \footnotemark - 
      \let\saved@Href@C\Hy@footnote@currentHref - 

      \addtocounter{footnote}{-2}% - 
      \let\Hy@footnote@currentHref\saved@Href@A - 
    \footnotetext{AAAA}% - 
      \addtocounter{footnote}{1}% - 
      \let\Hy@footnote@currentHref\saved@Href@B - 
    \footnotetext{BBBBB}% - 
      \addtocounter{footnote}{1}% - 
      \let\Hy@footnote@currentHref\saved@Href@C - 
    \footnotetext{CCCC}% - 

    \end{document} -
    -

    - -

    + +\usepackage{hyperref} + +\begin{document} + +\makeatletter + +A% +  \footnotemark +  \let\saved@Href@A\Hy@footnote@currentHref +  % remember link name +B% +  \footnotemark +  \let\saved@Href@B\Hy@footnote@currentHref +b% +  \addtocounter{footnote}{-1}% +  \addtocounter{Hfootnote}{-1}% generate the same anchor +  \footnotemark +C% +  \footnotemark +  \let\saved@Href@C\Hy@footnote@currentHref + +  \addtocounter{footnote}{-2}% +  \let\Hy@footnote@currentHref\saved@Href@A +\footnotetext{AAAA}% +  \addtocounter{footnote}{1}% +  \let\Hy@footnote@currentHref\saved@Href@B +\footnotetext{BBBBB}% +  \addtocounter{footnote}{1}% +  \let\Hy@footnote@currentHref\saved@Href@C +\footnotetext{CCCC}% + +\end{document} + +

    + +

    11.7 Subordinate counters

    -

    Some counters do not have unique values and require the value of other counters to be unique. For + id="x1-10900011.7">Subordinate counters +

    Some counters do not have unique values and require the value of other counters to be unique. For example, sections or figures might be numbered within chapters or \newtheorem is used with an optional counter argument. Internally LaTeX uses \@addtoreset to catch this situation. Also \numberwithin of package amsmath is caught by hyperref. -

    However, if the definition of subordinate counters take place before hyperref is loaded, the old +

    However, if the definition of subordinate counters take place before hyperref is loaded, the old meaning of \@addtoreset is called without hyperref’s additions. Then the companion counter macro \theH<counter> can be redefined accordingly. Or move the definition of subordinate counters after hyperref is loaded. -

    Example for

    Example for \newtheorem, problematic case: -

    +
         \newtheorem{corA}{CorollaryA}[section]
    - 
        \usepackage{hyperref} -
    -

    Solution a) +    \usepackage{hyperref} + +

    Solution a) -

    +
         \usepackage{hyperref}
    - 
        \newtheorem{corA}{CorollaryA}[section} -
    -

    Solution b) +    \newtheorem{corA}{CorollaryA}[section} + +

    Solution b) -

    +
         \newtheorem{corA}{CorollaryA}[section]
    - 
        \usepackage{hyperref} - 
        \newcommand*{\theHcorA}{\theHsection.\number\value{corA}} -
    -

    -

    +    \usepackage{hyperref} +    \newcommand*{\theHcorA}{\theHsection.\number\value{corA}} + +

    +

    12 History and acknowledgments

    -

    The original authors of History and acknowledgments +

    The original authors of hyperbasics.tex and hypertex.sty, from which this package descends, are Tanmoy Bhattacharya and Thorsten Ohl. Package

    Tanmoy found a great many of the bugs, and (even better) often provided fixes, which has +

    Tanmoy found a great many of the bugs, and (even better) often provided fixes, which has made the package more robust. The days spent on RevTeX are entirely due to him! The investigations of Bill Moss into the later versions including native PDF support uncovered a good many bugs, and his testing is appreciated. Hans Hagen provided a lot of insight into PDF. -

    Berthold Horn provided help, encouragement and sponsorship for the

    Berthold Horn provided help, encouragement and sponsorship for the dvipsone and dviwindo drivers. Sergey Lesenko provided the changes needed for hyper package (developed in parallel with hyperref) showed me solutions for some problems. Hopefully the two packages will combine one day. -

    The forms creation section owes a great deal to: T. V. Raman, for encouragement, support and +

    The forms creation section owes a great deal to: T. V. Raman, for encouragement, support and ideas; Thomas Merz, whose book Web Publishing with Acrobat/PDF provided crucial insights; D. P. Story, whose detailed article about pdfmarks and forms solved many practical problems; and Hans Hagen, who explained how to do it in pdftex. -

    Steve Peter recreated the manual source in July 2003 after it had been lost. -

    Especial extra thanks to David Carlisle for the

    Steve Peter recreated the manual source in July 2003 after it had been lost. +

    Especial extra thanks to David Carlisle for the backref module, the ps2pdf and dviwindo support, frequent general rewrites of my bad code, and for working on changes to the xr package to suit @@ -7179,7 +7117,7 @@ class="ec-lmss-10">hyperref.

    13 GNU Free Documentation License

    + id="x1-11100013">GNU Free Documentation License

    Version 1.2, November 2002

    Copyright © 2000,2001,2002 Free Software Foundation, Inc.
    Everyone is permitted to copy and distribute verbatim copies o not allowed.

    Preamble

    + id="x1-11200013">Preamble

    The purpose of this License is to make a manual, textbook, or other functional and useful document “free” in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for @@ -7205,7 +7143,7 @@ printed book. We recommend this License principally for works whose purpose is i reference.

    13.1 Applicability and definitions

    + id="x1-11300013.1">Applicability and definitions

    This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under @@ -7269,7 +7207,7 @@ that these Warranty Disclaimers may have is void and has no effect on the meanin License.

    13.2 Verbatim copying

    + id="x1-11400013.2">Verbatim copying

    You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this @@ -7277,14 +7215,14 @@ License. You may not use technical measures to obstruct or control the reading o copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 13.3. +href="#x1-11500013.3">13.3.

    You may also lend copies, under the same conditions stated above, and you may publicly display copies.

    13.3 Copying in quantity

    + id="x1-11500013.3">Copying in quantity

    If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document’s license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front @@ -7311,85 +7249,85 @@ redistributing any large number of copies, to give them a chance to provide you of the Document.

    13.4 Modifications

    + id="x1-11600013.4">Modifications

    You may copy and distribute a Modified Version of the Document under the conditions of sections 13.2 +href="#x1-11400013.2">13.2 and 13.3 above, provided that you release the Modified Version under precisely this License, with the +href="#x1-11500013.3">13.3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version:

    1. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, + class="enumerate" id="x1-116002x1">Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission.
    2. List on the Title Page, as authors, one or more persons or entities responsible for authorship + class="enumerate" id="x1-116004x2">List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement.
    3. State on the Title page the name of the publisher of the Modified Version, as the publisher. + class="enumerate" id="x1-116006x3">State on the Title page the name of the publisher of the Modified Version, as the publisher.
    4. Preserve all the copyright notices of the Document. + class="enumerate" id="x1-116008x4">Preserve all the copyright notices of the Document.
    5. Add an appropriate copyright notice for your modifications adjacent to the other copyright + class="enumerate" id="x1-116010x5">Add an appropriate copyright notice for your modifications adjacent to the other copyright notices.
    6. Include, immediately after the copyright notices, a license notice giving the public permission + class="enumerate" id="x1-116012x6">Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below.
    7. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts + class="enumerate" id="x1-116014x7">Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document’s license notice.
    8. Include an unaltered copy of this License. + class="enumerate" id="x1-116016x8">Include an unaltered copy of this License.
    9. Preserve the section Entitled “History”, Preserve its Title, and add to it an item stating at + class="enumerate" id="x1-116018x9">Preserve the section Entitled “History”, Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled “History” in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence.
    10. Preserve the network location, if any, given in the Document for public access to a + class="enumerate" id="x1-116020x10">Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the “History” section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission.
    11. For any section Entitled “Acknowledgements” or “Dedications”, Preserve the Title of the + class="enumerate" id="x1-116022x11">For any section Entitled “Acknowledgements” or “Dedications”, Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein.
    12. Preserve all the Invariant Sections of the Document, unaltered in their text and in their + class="enumerate" id="x1-116024x12">Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles.
    13. Delete any section Entitled “Endorsements”. Such a section may not be included in the + class="enumerate" id="x1-116026x13">Delete any section Entitled “Endorsements”. Such a section may not be included in the Modified Version.
    14. Do not retitle any existing section to be Entitled “Endorsements” or to conflict in title with + class="enumerate" id="x1-116028x14">Do not retitle any existing section to be Entitled “Endorsements” or to conflict in title with any Invariant Section.
    15. Preserve any Warranty Disclaimers. + class="enumerate" id="x1-116030x15">Preserve any Warranty Disclaimers.
    @@ -7412,10 +7350,10 @@ one. names for publicity for or to assert or imply endorsement of any Modified Version.

    13.5 Combining documents

    + id="x1-11700013.5">Combining documents

    You may combine the Document with other documents released under this License, under the terms defined in section 13.4 above for modified versions, provided that you include in the combination all of +href="#x1-11600013.4">13.4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. @@ -7431,7 +7369,7 @@ documents, forming one section Entitled “History”; likewise combine “Endorsements”.

    13.6 Collections of documents

    + id="x1-11800013.6">Collections of documents

    You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each @@ -7443,7 +7381,7 @@ in all other respects regarding verbatim copying of that document.

    13.7 Aggregation with independent works

    + id="x1-11900013.7">Aggregation with independent works

    A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an “aggregate” if the copyright resulting from the compilation is not used to limit the legal rights of the compilation’s users beyond what @@ -7451,17 +7389,17 @@ the individual works permit. When the Document is included in an aggregate, this apply to the other works in the aggregate which are not themselves derivative works of the Document.

    If the Cover Text requirement of section 13.3 is applicable to these copies of the Document, then if +href="#x1-11500013.3">13.3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document’s Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate.

    13.8 Translation

    + id="x1-12000013.8">Translation

    Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 13.4. Replacing Invariant Sections with translations requires special +href="#x1-11600013.4">13.4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, @@ -7471,12 +7409,12 @@ and the original version of this License or a notice or disclaimer, the original prevail.

    If a section in the Document is Entitled “Acknowledgements”, “Dedications”, or “History”, the requirement (section 13.4) to Preserve its Title (section 13.1) will typically require changing the actual +href="#x1-11600013.4">13.4) to Preserve its Title (section 13.1) will typically require changing the actual title.

    13.9 Termination

    + id="x1-12100013.9">Termination

    You may not copy, modify, sublicense, or distribute the Document except as expressly provided for under this License. Any other attempt to copy, modify, sublicense or distribute the Document is void, and will automatically terminate your rights under this License. However, parties who have received copies, or @@ -7484,7 +7422,7 @@ rights, from you under this License will not have their licenses terminated so l in full compliance.

    13.10 Future revisions of this license

    + id="x1-12200013.10">Future revisions of this license

    The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See http://www.gnu.org/copyleft/. @@ -7498,17 +7436,17 @@ Foundation.

    Addendum: how to use this license for your documents

    + id="x1-12300013.10">Addendum: how to use this license for your documents

    To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page:

    -

    +

    Copyright © YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the - license is included in the section entitled “GNU Free Documentation License”.

    + license is included in the section entitled “GNU Free Documentation License”.

    If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the “with...Texts.” line with this:

    with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and @@ -7520,6 +7458,8 @@ examples in parallel under your choice of free software license, such as the GNU to permit their use in free software. + + diff --git a/Master/texmf-dist/doc/latex/hyperref/manual.pdf b/Master/texmf-dist/doc/latex/hyperref/manual.pdf index 513e454ffd4..64dffdeb281 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/manual.pdf and b/Master/texmf-dist/doc/latex/hyperref/manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf index 226cdce2dd7..86eea30ba51 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf and b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf differ diff --git a/Master/texmf-dist/source/latex/hyperref/backref.dtx b/Master/texmf-dist/source/latex/hyperref/backref.dtx index c0747046ad1..2687a448dea 100644 --- a/Master/texmf-dist/source/latex/hyperref/backref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/backref.dtx @@ -3,7 +3,7 @@ %% Copyright (C) 1995-2000 David Carlisle, Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek %% 2016-2019 Oberdiek Package Suport Group -%% 2019-2020 The LaTeX3 Project +%% 2019-2021 The LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -32,12 +32,13 @@ %\ProvidesFile{backref.drv} % \fi % \ProvidesFile{backref.dtx} - [2020/01/14 v1.40 Bibliographical back referencing]% + [2021/02/04 v1.41 Bibliographical back referencing]% % % \CheckSum{768} % % \iffalse %<*driver> +\PassOptionsToPackage{numbered}{hypdoc} \documentclass{ltxdoc} \usepackage[numbered]{hypdoc} \usepackage{bmhydoc} diff --git a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex index ded7aeb799a..ddd48e6ea14 100644 --- a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex +++ b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex @@ -177,7 +177,7 @@ } \makeatother \title{Hypertext marks in \hologo{LaTeX}: a manual for \xpackage{hyperref}} -\date{2020-05-15 v7.00e} +\date{2021-02-04 v7.00g} \begin{document} @@ -336,7 +336,7 @@ if it can be found, and this is a convenient place to set options on a site-wide basis. Note however that some options (for example \texttt{unicode}) can only be used as -packge options, and not in \verb|\hypersetup| as the option settings are processed +package options, and not in \verb|\hypersetup| as the option settings are processed as the package is read. As an example, the behavior of a particular file could be controlled by: @@ -559,9 +559,8 @@ plainpages & boolean & false & Forces page anchors to be named by the Arabic raiselinks & boolean & true & In the hypertex driver, the height of links is normally calculated by the driver as simply the base line of contained text; this options forces \verb|\special| commands to reflect the real height of the link (which could contain a graphic) \\ -breaklinks & boolean & false & Allows link text to break across lines; since this cannot be accommodated in PDF, it is - only set true by default if the pdftex driver is used. This makes links on multiple lines - into different PDF links to the same target. \\ +breaklinks & boolean & both & This option is in hyperref only used in the dviwindo driver, in all other cases it doesn't do anything sensible---it neither allows nor prevents links to be broken. The ocgx2 package +checks the state of the boolean.\\ pageanchor & boolean & true & Determines whether every page is given an implicit anchor at the top left corner. If this is turned off, \verb|\printindex| will not contain valid hyperlinks. \\ @@ -739,7 +738,7 @@ pdftitle & text & & Sets the document information Title field pdfauthor & text & & Sets the document information Author field \\ pdfsubject & text & & Sets the document information Subject field \\ pdfcreator & text & & Sets the document information Creator field \\ -addtopdfproducer & text & & Adds additional text to the document information Producer field \\ +addtopdfcreator & text & & Adds additional text to the document information Creator field \\ pdfkeywords & text & & Sets the document information Keywords field \\ pdftrapped & name & empty & Sets the document information Trapped entry. Possible values are \verb|True|, \verb|False| and \verb|Unknown|. An empty value means, the entry is not set.\\ @@ -808,7 +807,7 @@ pdfviewclip & name & empty & set /ViewClip of viewer preferences Possi \verb|BleedBox|, \verb|TrimBox|, and \verb|ArtBox|. The dafault according to the PDF~Refence is \verb|CropBox| \\ pdfwindowui & boolean & true & make PDF user interface elements visible \\ -unicode & boolean & false & Unicode encoded PDF strings +unicode & boolean & true & Unicode encoded PDF strings \end{longtable} Each link in Acrobat carries its own magnification level, which is set @@ -1017,7 +1016,7 @@ runcolor & \textit{filecolor} & color of `run' links\\ setpagesize & \textit{true} & set page size by special driver commands \\ tex4ht & & use \textsf{\TeX4ht} backend \\ textures & & use \textsf{Textures} backend \\ -unicode & \textit{false} & Unicode encoded pdf strings, by defaut true with \textsf{Xe\TeX} and \textsf{Lu\TeX} \\ +unicode & \textit{true} & Unicode encoded pdf strings, starting with version 2021-02-04 v7.00g set by default to true for all engines. \\ urlbordercolor & \textit{0 1 1} & color of border around URL links \\ urlcolor & \textit{magenta} & color of URL links \\ verbose & \textit{false} & be chatty \\ @@ -1392,6 +1391,19 @@ command names): } \end{verbatim} +\subsection{Pagelabels} +\begin{cmdsyntax} +\ci{thispdfpagelabel}\verb|{|\emph{page number format}\verb|}| +\end{cmdsyntax} + +This allows to change format of the page number shown in the tool bar of +a PDF viewer for a specific page, for example + +\verb+\thispdfpagelabel{Empty Page-\roman{page}}+ + +The command affects the page on which it is executed, so asynchronous page breaking +should be taken into account. It should be used in places where for example \verb+\thispagestyle+ can be use too. + \subsection{Utility macros} \label{hypercalcbp} @@ -1955,10 +1967,11 @@ sequence error would arise. \item \xoption{unicode} sets Unicode. It is encoded as UTF-16BE. Two bytes are used for most characters, surrogates need four bytes. \item \xoption{auto} PDFDocEncoding if the string does not contain characters - outside the encoding and Unicode otherwise. + outside the encoding (outside ascii if an unicode engine is used) + and Unicode otherwise. This option is normally no suited for the unicode engines. \end{itemize} - The luatex driver uses \xoption{unicode} by default. If another encoding should be forced, + All drivers use \xoption{unicode} by default now. If another encoding should be forced, it should be done in \verb|hypersetup|. \subsection{Color options/package hycolor} @@ -2293,7 +2306,7 @@ The way forms and their labels are laid out is determined by: These macros default to \#1 \#2 -What is actually shown in as the field is determined by: +What is actually shown in the field is determined by: \begin{cmdsyntax} \ci{MakeRadioField}\verb|{|\emph{width}\verb|}{|\emph{height}\verb|}| \end{cmdsyntax} @@ -2905,7 +2918,7 @@ For equations the following might work: \end{verbatim} - Also some babel versions can be problematic. For exmample, + Also some babel versions can be problematic. For example, 2005/05/21 v3.8g contains a patch for varioref that breaks the hyperref support for varioref. @@ -2978,21 +2991,21 @@ For equations the following might work: \subsubsection{XeTeX} - Default for the encoding of bookmarks is `pdfencoding=auto'. + Default for the encoding of bookmarks is \verb|pdfencoding=unicode|. That means the strings are always treated as unicode strings. - Only if the string restricts to the printable ASCII set, - it is written as ASCII string. The reason is that the - \verb|\special| does not support PDFDocEncoding. + If \verb|auto| or \verb|pdfdoc| is forced it applies only + if the string restricts to the printable ASCII set, + The reason is that the \verb|\special| does not support PDFDocEncoding. In older versions hyperref contained special conversion code from UTF-16BE back to UTF-8 in a number of places for - xetex to avoid the xdvipdfmx warning - + xetex to avoid the xdvipdfmx warning + \verb"Failed to convert input string to UTF16..." - + This is no longer needed with a current xdvipdfmx, so this code has been removed. \verb|\csname HyPsd@XeTeXBigCharstrue\endcsname| should no - longer be used. + longer be used. \section[Limitations]{Limitations% diff --git a/Master/texmf-dist/source/latex/hyperref/hluatex.dtx b/Master/texmf-dist/source/latex/hyperref/hluatex.dtx index 17d19b77ad5..b70a38a86a9 100644 --- a/Master/texmf-dist/source/latex/hyperref/hluatex.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hluatex.dtx @@ -1,6 +1,6 @@ % \iffalse % Source File: hluatex.dtx -% 2020-05-15 v7.00e +% 2021-02-04 v7.00g % % Copyright % 2016-2019 Oberdiek Package Support Group @@ -31,7 +31,7 @@ % % \begin{macrocode} %<*luatex> -%% 2020-05-15 v7.00e +%% 2021-02-04 v7.00g %% force unicode encoding, see issue #101 %% code mostly copied from hxetex.def \HyPsd@LoadUnicode @@ -706,33 +706,10 @@ \Hy@RemoveDurPageAttr#1#4\END \fi } -\def\hyper@pagehidden{% - \ifHy@useHidKey - \expandafter - \Hy@RemoveHidPageAttr\the\pdfpageattr^^J/Hid{} \END - \ifHy@pdfpagehidden - \edef\@processme{% - \global\pdfpageattr{% - \the\pdfpageattr - ^^J/Hid true % SPACE - }% - }% - \@processme - \fi - \fi -} -\gdef\Hy@RemoveHidPageAttr#1^^J/Hid#2#3 #4\END{% - \ifx\\#2\\% - \global\pdfpageattr{#1}% - \else - \Hy@RemoveHidPageAttr#1#4\END - \fi -} \pdf@ifdraftmode{}{% \g@addto@macro\Hy@EveryPageHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden }% } \Hy@AtBeginDocument{% @@ -811,17 +788,6 @@ \close@pdflink }% } -\def\Hy@FixNotFirstPage{% - \gdef\Hy@FixNotFirstPage{% - \setbox\AtBeginShipoutBox=\hbox{% - \copy\AtBeginShipoutBox - }% - }% -} -\ltx@ifpackagelater{atbegshi}{2011/10/05}{% -}{% - \AtBeginShipout{\Hy@FixNotFirstPage}% -} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum \Hy@Message{Sorry, pdftex does not support FORM gauges}% } diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index aa618b1bd2b..3e84e320ab9 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -4,7 +4,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -50,7 +50,8 @@ %\ProvidesFile{puvnenc.def} %\ProvidesFile{puarenc.def} %\ProvidesFile{psdextra.def} -% [2020-05-15 v7.00e % +%\ProvidesFile{hyperref-langpatches.def} +% [2021-02-04 v7.00g % % Hypertext links for LaTeX] % Dummy hyperref (SR)] % Hyperref documentation driver file] @@ -89,7 +90,9 @@ % Hyperref: Additions to puenc.def for VnTeX] % Hyperref: Additions to puenc.def for Arabi] % Hyperref: Additions to PDF string support] +% Hyperref: patches for babel languages] %<*driver> +\PassOptionsToPackage{numbered}{hypdoc} \documentclass{ltxdoc} \usepackage{array,iftex} \iftutex @@ -586,28 +589,12 @@ % \begin{macrocode} \Hy@SetCatcodes % \end{macrocode} -% +% change 2020-07-24: require newer pdftexcmds and remove fallback code +% for version older than 2010. % \begin{macrocode} \RequirePackage{ltxcmds}[2010/11/12] \RequirePackage{iftex}[2019/10/24] -\RequirePackage{pdftexcmds}[2009/04/10] -\@ifpackagelater{pdftexcmds}{2010/11/04}{}{% - \ltx@IfUndefined{pdfdraftmode}{% - \let\pdf@ifdraftmode\ltx@secondoftwo - }{% - \ifpdf - \def\pdf@ifdraftmode{% - \ifnum\pdfdraftmode=\ltx@one - \expandafter\ltx@firstoftwo - \else - \expandafter\ltx@secondoftwo - \fi - }% - \else - \let\pdf@ifdraftmode\ltx@secondoftwo - \fi - }% -} +\RequirePackage{pdftexcmds}[2018/09/10] % \end{macrocode} % \begin{macrocode} \RequirePackage{infwarerr}[2010/04/08] @@ -733,18 +720,6 @@ \expandafter\ltx@firstoftwo \fi }% - \ltx@ifpackagelater{ltxcmds}{2010/09/11}{}{% - \begingroup - \lccode`0=`\{\relax - \lowercase{\endgroup - \def\ltx@leftbracechar{0}% - }% - \begingroup - \lccode`0=`\}\relax - \lowercase{\endgroup - \def\ltx@rightbracechar{0}% - }% - }% } % \end{macrocode} % @@ -853,7 +828,6 @@ \newif\ifHy@ocgcolorlinks \newif\ifHy@pageanchor \newif\ifHy@pdfpagelabels -\newif\ifHy@pdfpagehidden \newif\ifHy@pdfstring \newif\ifHy@plainpages \newif\ifHy@psize @@ -898,7 +872,6 @@ \Hy@pdfnewwindowfalse \Hy@pageanchortrue \Hy@pdfpagelabelstrue -\Hy@pdfpagehiddenfalse \Hy@pdfstringfalse \Hy@plainpagesfalse \Hy@raiselinksfalse @@ -907,7 +880,7 @@ \Hy@psdextrafalse \Hy@pdftoolbartrue \Hy@typexmlfalse -\Hy@unicodefalse +\Hy@unicodetrue \Hy@pdfusetitlefalse \Hy@verbosefalse \Hy@pdfwindowuitrue @@ -1332,8 +1305,8 @@ % % \paragraph{Environments.} % \begin{macrocode} - \def\begin#1{\csname#1\endcsname}% - \def\end#1{\csname end#1\endcsname}% + \def\begin##1{\csname##1\endcsname}% + \def\end##1{\csname end##1\endcsname}% % \end{macrocode} % % \paragraph{Package color.} @@ -1370,12 +1343,7 @@ \let\bbl@info\@gobble \csname HyPsd@babel@\language@group\endcsname }% - \HyPsd@GreekPatch \HyPsd@SpanishPatch - \HyPsd@RussianPatch -% \end{macrocode} -% \begin{macrocode} - \HyPsd@BabelPatch % \end{macrocode} % % \begin{macrocode} @@ -1902,7 +1870,7 @@ \ltx@IfUndefined{StringEncodingConvertTest}{% }{% \EdefUnescapeString\HyPsd@temp#1% - \ifxetex + \iftutex \let\HyPsd@UnescapedString\HyPsd@temp \StringEncodingConvertTest\HyPsd@temp\HyPsd@temp {utf16be}{ascii-print}{% @@ -1997,7 +1965,7 @@ \catcode62 \the\catcode62\relax % > \catcode64 \the\catcode64\relax % @ \catcode91 \the\catcode91\relax % [ - \catcode92 \the\catcode92\relax % \ + \catcode92 \the\catcode92\relax % (backslash) \catcode93 \the\catcode93\relax % ] \catcode123 \the\catcode123\relax % { \catcode124 \the\catcode124\relax % | @@ -2017,7 +1985,7 @@ \catcode61 12 % = \catcode62 12 % > \catcode91 12 % [ - \catcode92 0 % \ + \catcode92 0 % (backslash) \catcode93 12 % ] \catcode123 1 % { \catcode124 12 % | @@ -2063,6 +2031,9 @@ % \LaTeX's NFSS. Because of large memory requirements the % encoding file for Unicode support is only loaded, if option % |unicode| is specified as package option. +% change 2020-08-14: Starting with version +% v7.00f the file is always loaded and unicode is the +% default option. % \begin{macro}{\HyPsd@LoadUnicode} % Because the file |puenc.def| takes a lot of memory, the loading % is defined in the macro \cs{HyPsd@LoadUnicode} called by @@ -2238,10 +2209,17 @@ \x % \end{macrocode} % \end{macro} -% % \subsubsection{Babel languages} +% change 2020-10-10: moved language patches to its own file as a first step +% toward removing them completly. +% \begin{macrocode} +\newif\ifHy@next +\input{hyperref-langpatches.def} +% +%<*lang> +% \end{macrocode} % -% Since version 2008/03/16 v3.8j babel uses inside \cs{AtBeginDocument}: +% Since version 2008/03/16 v3.8j babel used inside \cs{AtBeginDocument}: %\begin{quote} %\begin{verbatim} %\pdfstringdefDisableCommands{% @@ -2249,122 +2227,21 @@ %} %\end{verbatim} %\end{quote} -% As consequence the shorthands are shown in the bookmarks, -% not its result. Therefore \cs{languageshorthands} is -% disabled before the user hook. If there is a need to -% use the command, then \cs{HyOrg@languageshorthands} -% can be used inside \cs{pdfstringdefDisableCommands}. -% \begin{macrocode} -\def\HyPsd@BabelPatch{% - \let\HyOrg@languageshorthands\languageshorthands - \let\languageshorthands\HyPsd@LanguageShorthands -} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdf@strcmp\endcsname\relax - \let\HyPsd@langshort@system\@empty - \def\HyPsd@LanguageShorthands#1{% - \expandafter\ifx\csname HyPsd@langshort@#1\endcsname - \HyPsd@langshort@system - \expandafter\@gobble - \else - \expandafter\@firstofone - \fi - {% - \HyOrg@languageshorthands{#1}% - }% - }% -\else - \def\HyPsd@LanguageShorthands#1{% - \ifnum\pdf@strcmp{#1}{system}=\z@ - \expandafter\@gobble - \else - \expandafter\@firstofone - \fi - {% - \HyOrg@languageshorthands{#1}% - }% - }% -\fi -\def\Hy@temp{% - \@ifpackageloaded{babel}{% - \@ifpackagelater{babel}{2008/03/16}{% - \let\Hy@temp\@empty - }{% - \def\HyPsd@BabelPatch{% - \let\HyOrg@languageshorthands\languageshorthands - }% - }% - }{}% -} -\Hy@temp -\expandafter\Hy@AtBeginDocument\expandafter{\Hy@temp} -% \end{macrocode} -% -% \begin{macrocode} -\newif\ifHy@next -% \end{macrocode} +% As consequence the shorthands were shown in the bookmarks, and required +% a hyperref patch. In version 3.48 babel removed this unneeded code +% and so the patch could be removed. % % Nothing to do for english. -% \begin{macrocode} -\ltx@IfUndefined{danish@sh@"@sel}{}{% - \def\HyPsd@babel@danish{% - \declare@shorthand{danish}{"|}{}% - \declare@shorthand{danish}{"~}{-}% - }% -} -\ltx@IfUndefined{dutch@sh@"@sel}{}{% - \def\HyPsd@babel@dutch{% - \declare@shorthand{dutch}{"|}{}% - \declare@shorthand{dutch}{"~}{-}% - }% -} -\ltx@IfUndefined{finnish@sh@"@sel}{}{% - \def\HyPsd@babel@finnish{% - \declare@shorthand{finnish}{"|}{}% - }% -} -\ltx@IfUndefined{french@sh@:@sel}{}{% - \def\HyPsd@babel@frenchb{% - \def\guill@spacing{ }% - }% -} -\ltx@IfUndefined{german@sh@"@sel}{}{% - \def\HyPsd@babel@german{% - \declare@shorthand{german}{"f}{f}% - \declare@shorthand{german}{"|}{}% - \declare@shorthand{german}{"~}{-}% - }% -} -\ltx@IfUndefined{macedonian@sh@"@sel}{}{% - \def\HyPsd@babel@macedonian{% - \declare@shorthand{macedonian}{"|}{}% - \declare@shorthand{macedonian}{"~}{-}% - }% -}{} -\ltx@IfUndefined{ngerman@sh@"@sel}{}{% - \def\HyPsd@babel@ngerman{% - \declare@shorthand{ngerman}{"|}{}% - \declare@shorthand{ngerman}{"~}{-}% - }% -} -\ltx@IfUndefined{portuges@sh@"@sel}{}{% - \def\HyPsd@babel@portuges{% - \declare@shorthand{portuges}{"|}{}% - }% -} -\ltx@IfUndefined{russian@sh@"@sel}{}{% - \def\HyPsd@babel@russian{% - \declare@shorthand{russian}{"|}{}% - \declare@shorthand{russian}{"~}{-}% - }% -} -\ltx@IfUndefined{slovene@sh@"@sel}{}{% - \def\HyPsd@babel@slovene{% - \declare@shorthand{slovene}{"|}{}% - }% -} -% \end{macrocode} -% Nested quoting environments are not supported (|<<|, |>>|). +% change 2020/07/16: removed patch for french. No longer needed. +% change 2020/07/21: removed patches for german, ngerman. Will be done by +% the language package. https://github.com/jspitz/babel-german/issues/4 +% change 2020/10/10: removed patches for danish, dutch, finnish, portugues, +% swedish, usorbian, slovene see https://github.com/latex3/babel/issues/84 +% change 2020/10/10: removed patch for macedonian, ukrainian; maintainers notified. +% change 2020/10/11: removed patch for russian, has been merged into babel-russian +% see https://github.com/kia999/babel-russian/pull/3 +% change 2021/02/04: removed patches for greek numerals, code is now in babel-greek. +% spanish: Nested quoting environments are not supported (|<<|, |>>|). % \begin{macrocode} \ltx@IfUndefined{spanish@sh@>@sel}{}{% \def\HyPsd@babel@spanish{% @@ -2376,164 +2253,6 @@ \declare@shorthand{spanish}{"?}{\textquestiondown}% }% } -\ltx@IfUndefined{swedish@sh@"@sel}{}{% - \def\HyPsd@babel@swedish{% - \declare@shorthand{swedish}{"|}{}% - \declare@shorthand{swedish}{"~}{-}% - }% -} -\ltx@IfUndefined{ukrainian@sh@"@sel}{}{% - \def\HyPsd@babel@ukrainian{% - \declare@shorthand{ukrainian}{"|}{}% - \declare@shorthand{ukrainian}{"~}{-}% - }% -} -\ltx@IfUndefined{usorbian@sh@"@sel}{}{% - \def\HyPsd@babel@usorbian{% - \declare@shorthand{usorbian}{"f}{f}% - \declare@shorthand{usorbian}{"|}{}% - }% -} -% \end{macrocode} -% \begin{macrocode} -\ltx@IfUndefined{greek@sh@\string~@sel}{% - \let\HyPsd@GreekPatch\@empty -}{% - \def\HyPsd@GreekPatch{% - \let\greeknumeral\HyPsd@greeknumeral - \let\Greeknumeral\HyPsd@Greeknumeral - }% -} -\def\HyPsd@greeknumeral#1{% - \HyPsd@GreekNum\@firstoftwo{#1}% -} -\def\HyPsd@Greeknumeral#1{% - \HyPsd@GreekNum\@secondoftwo{#1}% -} -\def\HyPsd@GreekNum#1#2{% - \ifHy@unicode - \ifnum#2<\@ne - \@arabic{#2}% - \else - \ifnum#2<1000000 % - \HyPsd@@GreekNum#1{#2}% - \else - \@arabic{#2}% - \fi - \fi - \else - \@arabic{#2}% - \fi -} -\def\HyPsd@@GreekNum#1#2{% - \ifnum#2<\@m - \ifnum#2<10 % - \expandafter\HyPsd@GreekNumI - \expandafter\@gobble\expandafter#1\number#2% - \else - \ifnum#2<100 % - \expandafter\HyPsd@GreekNumII - \expandafter\@gobble\expandafter#1\number#2% - \else - \expandafter\HyPsd@GreekNumIII - \expandafter\@gobble\expandafter#1\number#2% - \fi - \fi - \ifnum#2>\z@ - \textnumeralsigngreek - \fi - \else - \ifnum#2<\@M - \expandafter\HyPsd@GreekNumIV\expandafter#1\number#2% - \else - \ifnum#2<100000 % - \expandafter\HyPsd@GreekNumV\expandafter#1\number#2% - \else - \expandafter\HyPsd@GreekNumVI\expandafter#1\number#2% - \fi - \fi - \fi -} -\def\HyPsd@GreekNumI#1#2#3{% - #1{% - \ifnum#3>\z@ - \textnumeralsignlowergreek - \fi - }% - \expandafter#2% - \ifcase#3 % - {}{}% - \or\textalpha\textAlpha - \or\textbeta\textBeta - \or\textgamma\textGamma - \or\textdelta\textDelta - \or\textepsilon\textEpsilon - \or\textstigmagreek\textStigmagreek - \or\textzeta\textZeta - \or\texteta\textEta - \or\texttheta\textTheta - \else - {}{}% - \fi -} -\def\HyPsd@GreekNumII#1#2#3#4{% - #1{% - \ifnum#3>\z@ - \textnumeralsignlowergreek - \fi - }% - \expandafter#2% - \ifcase#3 % - {}{}% - \or\textiota\textIota - \or\textkappa\textKappa - \or\textlambda\textLambda - \or\textmu\textMu - \or\textnu\textNu - \or\textxi\textXi - \or\textomicron\textOmicron - \or\textpi\textPi - \or\textkoppagreek\textKoppagreek - \else - {}{}% - \fi - \HyPsd@GreekNumI#1#2#4% -} -\def\HyPsd@GreekNumIII#1#2#3#4#5{% - #1{% - \ifnum#3>\z@ - \textnumeralsignlowergreek - \fi - }% - \expandafter#2% - \ifcase#3 % - {}{}% - \or\textrho\textRho - \or\textsigma\textSigma - \or\texttau\textTau - \or\textupsilon\textUpsilon - \or\textphi\textPhi - \or\textchi\textChi - \or\textpsi\textPsi - \or\textomega\textOmega - \or\textsampigreek\textSampigreek - \else - {}{}% - \fi - \HyPsd@GreekNumII#1#2#4#5% -} -\def\HyPsd@GreekNumIV#1#2#3#4#5{% - \HyPsd@GreekNumI\@firstofone#1#2% - \HyPsd@@GreekNum#1{#3#4#5}% -} -\def\HyPsd@GreekNumV#1#2#3#4#5#6{% - \HyPsd@GreekNumII\@firstofone#1#2#3% - \HyPsd@@GreekNum#1{#4#5#6}% -} -\def\HyPsd@GreekNumVI#1#2#3#4#5#6#7{% - \HyPsd@GreekNumIII\@firstofone#1#2#3#4% - \HyPsd@@GreekNum#1{#5#6#7}% -} % \end{macrocode} % \begin{macrocode} \def\HyPsd@SpanishPatch{% @@ -2543,15 +2262,9 @@ }% } % \end{macrocode} -% Shorthand |"-| of `russianb.ldf' is not expandable, -% therefore it is disabled and replaced by |-|. % \begin{macrocode} -\def\HyPsd@RussianPatch{% - \ltx@IfUndefined{russian@sh@"@-@}{% - }{% - \@namedef{russian@sh@"@-@}{-}% - }% -} +% +%<*package> % \end{macrocode} % % \subsubsection{CJK patch} @@ -5169,7 +4882,11 @@ \def\HyPsd@pdfencoding@auto{auto} \def\HyPsd@pdfencoding@pdfdoc{pdfdoc} \def\HyPsd@pdfencoding@unicode{unicode} -\let\HyPsd@pdfencoding\Hy@pdfencoding@pdfdoc +% \end{macrocode} +% change 2020-08-14, use unicode by default: +% \begin{macrocode} +\let\HyPsd@pdfencoding\HyPsd@pdfencoding@unicode +\HyPsd@LoadUnicode \def\HyPsd@LoadStringEnc{% \RequirePackage{stringenc}[2009/12/15]% \let\HyPsd@LoadStringEnc\relax @@ -5613,13 +5330,13 @@ \def\pageautorefname{page}% } \def\HyLang@french{% - \def\equationautorefname{\'Equation}% + \def\equationautorefname{\'equation}% \def\footnoteautorefname{note}% \def\itemautorefname{item}% - \def\figureautorefname{Figure}% - \def\tableautorefname{Tableau}% - \def\partautorefname{Partie}% - \def\appendixautorefname{Appendice}% + \def\figureautorefname{figure}% + \def\tableautorefname{tableau}% + \def\partautorefname{partie}% + \def\appendixautorefname{annexe}% \def\chapterautorefname{chapitre}% \def\sectionautorefname{section}% \def\subsectionautorefname{sous-section}% @@ -5627,7 +5344,7 @@ \def\paragraphautorefname{paragraphe}% \def\subparagraphautorefname{sous-paragraphe}% \def\FancyVerbLineautorefname{ligne}% - \def\theoremautorefname{Th\'eor\`eme}% + \def\theoremautorefname{th\'eor\`eme}% \def\pageautorefname{page}% } \def\HyLang@german{% @@ -5958,6 +5675,42 @@ \def\theoremautorefname{Stelling}% \def\pageautorefname{pagina}% } +\def\HyLang@norsk{% + \def\equationautorefname{Ligning}% + \def\footnoteautorefname{fotnote}% + \def\itemautorefname{element}% + \def\figureautorefname{Figur}% + \def\tableautorefname{Tabell}% + \def\partautorefname{Del}% + \def\appendixautorefname{Tillegg}% + \def\chapterautorefname{kapittel}% + \def\sectionautorefname{seksjon}% + \def\subsectionautorefname{underseksjon}% + \def\subsubsectionautorefname{under-underseksjon}% + \def\paragraphautorefname{avsnitt}% + \def\subparagraphautorefname{underavsnitt}% + \def\FancyVerbLineautorefname{Linje}% + \def\theoremautorefname{Teorem}% + \def\pageautorefname{side}% +} +\def\HyLang@danish{% + \def\equationautorefname{Ligning}% + \def\footnoteautorefname{fodnote}% + \def\itemautorefname{element}% + \def\figureautorefname{Figur}% + \def\tableautorefname{Tabel}% + \def\partautorefname{Del}% + \def\appendixautorefname{Bilag}% + \def\chapterautorefname{kapitel}% + \def\sectionautorefname{sektion}% + \def\subsectionautorefname{under-sektion}% + \def\subsubsectionautorefname{under-under-sektion}% + \def\paragraphautorefname{afsnit}% + \def\subparagraphautorefname{underafsnit}% + \def\FancyVerbLineautorefname{linje}% + \def\theoremautorefname{Teorem}% + \def\pageautorefname{side}% +} % \end{macrocode} % % Instead of package babel's definition of \cmd{\addto} the @@ -6036,6 +5789,9 @@ \HyLang@DeclareLang{hungarian}{magyar}{} \HyLang@DeclareLang{greek}{greek}{} \HyLang@DeclareLang{dutch}{dutch}{} +\HyLang@DeclareLang{norsk}{norsk}{} +\HyLang@DeclareLang{norwegian}{norsk}{} +\HyLang@DeclareLang{danish}{danish}{} % \end{macrocode} % More work is needed in case of options |vietnamese| and |vietnam|. % \begin{macrocode} @@ -6297,21 +6053,6 @@ % \end{macrocode} % \end{macro} % -% The entry for the |/Hid| key in the page object is -% only necessary, if it is used and set to true for -% at least one time. If it is always false, then -% the |/Hid| key is not written to the pdf page -% object in order not to enlarge the pdf file. -% \begin{macrocode} -\newif\ifHy@useHidKey -\Hy@useHidKeyfalse -\define@key{Hyp}{pdfpagehidden}[true]{% - \Hy@boolkey{pdfpagehidden}{#1}% - \ifHy@pdfpagehidden - \global\Hy@useHidKeytrue - \fi -} -% \end{macrocode} % % The value of the |bordercolor| options are not processed % by the color package. Therefore the value consists of @@ -7194,15 +6935,10 @@ % so the NFSS2 definitions of PD1 or PU encoding is not % compatible. To fix this, \cmd{\texttilde} is defined % in babel manner. -% \begin{macrocode} -\Hy@nextfalse -\ltx@IfUndefined{spanish@sh@"@sel}{}{\Hy@nexttrue} -\ltx@IfUndefined{galician@sh@"@sel}{}{\Hy@nexttrue} -\ltx@IfUndefined{estonian@sh@"@sel}{}{\Hy@nexttrue} -\ifHy@next - \let\texttilde\~% -\fi -% \end{macrocode} +% +% change 2020-10-10: no trace of \cs{texttilde} can be found in the +% three languages spanish, galician and estonian so the patch has been removed +% as outdated. % % \begin{macrocode} \def\Hy@wrapper@babel#1#2{% @@ -10977,17 +10713,6 @@ % \end{macrocode} % \end{macro} % -% \begin{macrocode} -\@ifpackageloaded{fancyvrb}{% - \@ifpackagelater{fancyvrb}{1998/05/20}{}{% - \def\FV@StepLineNo{% - \FV@SetLineNo - \def\FV@StepLineNo{\H@refstepcounter{FancyVerbLine}}% - \FV@StepLineNo - }% - }% -}{} -% \end{macrocode} % % \section{Package lastpage support} % Package lastpage directly writes the |\newlabel| command to the @@ -14251,55 +13976,12 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\hyper@pagehidden} -% The boolean value of the key |/Hid| is stored in switch -% \cmd{\ifHy@pdfpagehidden}. -% First previous |/Hid| entries are removed, then the new -% one is appended, if the value is true (the PDF default -% is false). -% \begin{macrocode} -\def\hyper@pagehidden{% - \ifHy@useHidKey - \expandafter - \Hy@RemoveHidPageAttr\the\pdfpageattr^^J/Hid{} \END - \ifHy@pdfpagehidden - \edef\@processme{% - \global\pdfpageattr{% - \the\pdfpageattr - ^^J/Hid true % SPACE - }% - }% - \@processme - \fi - \fi -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\Hy@RemoveHidPageAttr} -% Macro \cmd{\Hy@RemoveHidPageAttr} removes a |/Hid| -% entry from \cmd{\pdfpageattr}. It is called with -% the end marker |^^J/Hid{} \END|. The trick is the -% empty group that does not appear in legal -% \cmd{\pdfpageattr} code. It appears in argument -% |#2| and shows, whether the parameter text -% catches a really |/Hid| object or the end marker. -% \begin{macrocode} -\gdef\Hy@RemoveHidPageAttr#1^^J/Hid#2#3 #4\END{% - \ifx\\#2\\% - \global\pdfpageattr{#1}% - \else - \Hy@RemoveHidPageAttr#1#4\END - \fi -} -% \end{macrocode} -% \end{macro} % % \begin{macrocode} \pdf@ifdraftmode{}{% \g@addto@macro\Hy@EveryPageHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden }% } % \end{macrocode} @@ -14406,19 +14088,8 @@ % % Since version 2011/10/05 v1.16 of package `atbegshi' % \cs{AtBeginShipoutFirst} does not add a additional box layer. -% \begin{macrocode} -\def\Hy@FixNotFirstPage{% - \gdef\Hy@FixNotFirstPage{% - \setbox\AtBeginShipoutBox=\hbox{% - \copy\AtBeginShipoutBox - }% - }% -} -\ltx@ifpackagelater{atbegshi}{2011/10/05}{% -}{% - \AtBeginShipout{\Hy@FixNotFirstPage}% -} -% \end{macrocode} +% +% change 2020-10-01: the code has been removed as outdated. % % \begin{macrocode} % @@ -15396,22 +15067,10 @@ } % \end{macrocode} % \end{macro} -% \begin{macro}{\hyper@pagehidden} -% \begin{macrocode} -\def\hyper@pagehidden{% - \ifHy@useHidKey - \special{pdf:put @thispage % - <>% - }% - \fi -} -% \end{macrocode} -% \end{macro} % \begin{macrocode} \g@addto@macro\Hy@EveryPageBoxHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden } % \end{macrocode} % \begin{macrocode} @@ -16054,15 +15713,9 @@ \fi \fi }% - \def\hyper@pagehidden{% - \ifHy@useHidKey - \special{!hidden\ifHy@pdfpagehidden +\else -\fi}% - \fi - }% \g@addto@macro\Hy@EveryPageBoxHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden }% \fi % \end{macrocode} @@ -16456,26 +16109,10 @@ } % \end{macrocode} % \end{macro} -% \begin{macro}{\hyper@pagehidden} -% \begin{macrocode} -\def\hyper@pagehidden{% - \ifHy@useHidKey - \pdfmark{% - pdfmark=/PUT,% - Raw={% - \string{ThisPage\string}% - <>% - }% - }% - \fi -} -% \end{macrocode} -% \end{macro} % \begin{macrocode} \g@addto@macro\Hy@EveryPageBoxHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden } % \end{macrocode} % \begin{macrocode} @@ -18037,6 +17674,7 @@ % % \section{Driver-specific form support} % \subsection{pdfmarks} +% change 2020-06-20: added /Euro to encoding % \begin{macrocode} %<*pdfmark> \long\def\@Form[#1]{% @@ -18060,6 +17698,7 @@ /quotedblbase/quotedblleft/quotedblright/quoteleft% /quoteright/quotesinglbase/trademark/fi/fl/Lslash/OE/Scaron% /Ydieresis/Zcaron/dotlessi/lslash/oe/scaron/zcaron % + 160/Euro % 164/currency % 166/brokenbar % 168/dieresis/copyright/ordfeminine % @@ -19146,6 +18785,7 @@ /quotedblbase/quotedblleft/quotedblright/quoteleft% /quoteright/quotesinglbase/trademark/fi/fl/Lslash/OE% /Scaron/Ydieresis/Zcaron/dotlessi/lslash/oe/scaron/zcaron % + 160/Euro % 164/currency % 166/brokenbar % 168/dieresis/copyright/ordfeminine % @@ -19624,6 +19264,7 @@ /quotedblbase/quotedblleft/quotedblright/quoteleft/quoteright% /quotesinglbase/trademark/fi/fl/Lslash/OE/Scaron/Ydieresis% /Zcaron/dotlessi/lslash/oe/scaron/zcaron % + 160/Euro % 164/currency % 166/brokenbar % 168/dieresis/copyright/ordfeminine % @@ -22668,8 +22309,10 @@ % \begin{macrocode} % U+0374 GREEK NUMERAL SIGN; numeralsigngreek \DeclareTextCommand{\textnumeralsigngreek}{PU}{\83\164}% U+0374 +\DeclareTextCommand{\textdexiakeraia}{PU}{\83\164}% U+0374 % U+0375 GREEK LOWER NUMERAL SIGN; numeralsignlowergreek \DeclareTextCommand{\textnumeralsignlowergreek}{PU}{\83\165}% U+0375 +\DeclareTextCommand{\textaristerikeraia}{PU}{\83\165}% U+0375 % U+0386 GREEK CAPITAL LETTER ALPHA WITH TONOS; Alphatonos \DeclareTextCompositeCommand{\'}{PU}{\textAlpha}{\83\206}% U+0386 % U+0388 GREEK CAPITAL LETTER EPSILON WITH TONOS; Epsilontonos @@ -22813,23 +22456,35 @@ \DeclareTextCompositeCommand{\'}{PU}{\textupsilon}{\83\315}% U+03CD % U+03CE GREEK SMALL LETTER OMEGA WITH TONOS; omegatonos \DeclareTextCompositeCommand{\'}{PU}{\textomega}{\83\316}% U+03CE +% U+03D8 GREEK LETTER ARCHAIC KOPPA; +\DeclareTextCommand{\textQoppa}{PU}{\83\330}% U+03D8 +% U+03D9 GREEK SMALL LETTER ARCHAIC KOPPA; +\DeclareTextCommand{\textqoppa}{PU}{\83\331}% U+03D9 % U+03DA GREEK LETTER STIGMA; Stigmagreek \DeclareTextCommand{\textStigmagreek}{PU}{\83\332}% U+03DA +\DeclareTextCommand{\textStigma}{PU}{\83\332}% U+03DA % U+03DB GREEK SMALL LETTER STIGMA \DeclareTextCommand{\textstigmagreek}{PU}{\83\333}% U+03DB +\DeclareTextCommand{\textstigma}{PU}{\83\333}% U+03DB % U+03DC GREEK LETTER DIGAMMA; Digammagreek \DeclareTextCommand{\textDigammagreek}{PU}{\83\334}% U+03DC +\DeclareTextCommand{\textDigamma}{PU}{\83\334}% U+03DC % U+03DD GREEK SMALL LETTER DIGAMMA \DeclareTextCommand{\textdigammagreek}{PU}{\83\335}% U+03DD +\DeclareTextCommand{\textdigamma}{PU}{\83\335}% U+03DD %* \textdigammagreek -> \digamma (AmS) % U+03DE GREEK LETTER KOPPA; Koppagreek +\DeclareTextCommand{\textKoppa}{PU}{\83\336}% U+03DE \DeclareTextCommand{\textKoppagreek}{PU}{\83\336}% U+03DE % U+03DF GREEK SMALL LETTER KOPPA +\DeclareTextCommand{\textkoppa}{PU}{\83\337}% U+03DF \DeclareTextCommand{\textkoppagreek}{PU}{\83\337}% U+03DF % U+03E0 GREEK LETTER SAMPI; Sampigreek \DeclareTextCommand{\textSampigreek}{PU}{\83\340}% U+03E0 +\DeclareTextCommand{\textSampi}{PU}{\83\340}% U+03E0 % U+03E1 GREEK SMALL LETTER SAMPI \DeclareTextCommand{\textsampigreek}{PU}{\83\341}% U+03E1 +\DeclareTextCommand{\textsampi}{PU}{\83\341}% U+03E1 % U+03F6 GREEK REVERSED LUNATE EPSILON SYMBOL; % \backepsilon (AmS) \DeclareTextCommand{\textbackepsilon}{PU}{\83\366}% U+03F6 diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.ins b/Master/texmf-dist/source/latex/hyperref/hyperref.ins index e313a869b79..d8cc5275b1a 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.ins +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.ins @@ -7,7 +7,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek %% 2001-2015 Heiko Oberdiek %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -22,7 +22,7 @@ %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is Heiko Oberdiek. %% %% The list of all files belonging to the `Hyperref Bundle' is @@ -31,7 +31,7 @@ %% %% --------------- start of docstrip commands ------------------ %% -\def\filedate{2020/01/14} +\def\filedate{2021/02/04} \def\batchfile{hyperref.ins} \input docstrip @@ -87,6 +87,7 @@ \file{puarenc.def}{\from{hyperref.dtx}{puarenc}} \file{psdextra.def}{\from{hyperref.dtx}{psdextra}} \file{nohyperref.sty}{\from{hyperref.dtx}{nohyperref}} + \file{hyperref-langpatches.def}{\from{hyperref.dtx}{lang}} } \Msg{***************************************************************} diff --git a/Master/texmf-dist/source/latex/hyperref/nameref.dtx b/Master/texmf-dist/source/latex/hyperref/nameref.dtx index f6ea1c856a5..ec02e2eceb2 100644 --- a/Master/texmf-dist/source/latex/hyperref/nameref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/nameref.dtx @@ -4,7 +4,7 @@ %% 2000 Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek %% 2016-2019 Oberdiek Package Suport Group -%% 2019-2020 The LaTeX3 Project +%% 2019-2021 The LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,11 +33,12 @@ %\ProvidesFile{nameref.drv} % \fi % \ProvidesFile{nameref.dtx} - [2019/09/16 v2.46 Cross-referencing by name of section]% + [2021-04-02 v2.47 Cross-referencing by name of section]% % % % \iffalse %<*driver> +\PassOptionsToPackage{numbered}{hypdoc} \documentclass{ltxdoc} \usepackage[numbered]{hypdoc} \usepackage{bmhydoc} diff --git a/Master/texmf-dist/tex/latex/hyperref/backref.sty b/Master/texmf-dist/tex/latex/hyperref/backref.sty index 173e702de61..549cf4fc881 100644 --- a/Master/texmf-dist/tex/latex/hyperref/backref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/backref.sty @@ -10,7 +10,7 @@ %% Copyright (C) 1995-2000 David Carlisle, Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek %% 2016-2019 Oberdiek Package Suport Group -%% 2019-2020 The LaTeX3 Project +%% 2019-2021 The LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -32,7 +32,7 @@ %% given in the file `manifest.txt'. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{backref} - [2020/01/14 v1.40 Bibliographical back referencing]% + [2021/02/04 v1.41 Bibliographical back referencing]% \RequirePackage{kvoptions}[2011/06/30] \RequirePackage{kvsetkeys}[2009/07/30] \RequirePackage{ltxcmds}[2009/12/12] diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 5a732de9a03..c216120cec7 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipdfm.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for dvipdfm] \Hy@VersionCheck{hdvipdfm.def} \def\Hy@PutCatalog#1{\@pdfm@mark{docview <<#1>>}} @@ -622,17 +622,9 @@ \fi \fi } -\def\hyper@pagehidden{% - \ifHy@useHidKey - \special{pdf:put @thispage % - <>% - }% - \fi -} \g@addto@macro\Hy@EveryPageBoxHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden } \AtBeginShipoutFirst{% \ifHy@setpagesize @@ -991,6 +983,7 @@ /quotedblbase/quotedblleft/quotedblright/quoteleft/quoteright% /quotesinglbase/trademark/fi/fl/Lslash/OE/Scaron/Ydieresis% /Zcaron/dotlessi/lslash/oe/scaron/zcaron % + 160/Euro % 164/currency % 166/brokenbar % 168/dieresis/copyright/ordfeminine % diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 00a48a73690..3b7be8774f8 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvips.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for dvips] \Hy@VersionCheck{hdvips.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def index 0e38129d79e..9dccf602264 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipson.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for dvipsone] \Hy@VersionCheck{hdvipson.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index 4f3877cf9dc..d6d63d64396 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdviwind.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for dviwindo] \Hy@VersionCheck{hdviwind.def} \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/hluatex.def b/Master/texmf-dist/tex/latex/hyperref/hluatex.def index ae3b3e2f51d..465b60e6d6e 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hluatex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hluatex.def @@ -12,7 +12,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -34,10 +34,10 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hluatex.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for luaTeX] \Hy@VersionCheck{hluatex.def} -%% 2020-05-15 v7.00e +%% 2021-02-04 v7.00g %% force unicode encoding, see issue #101 %% code mostly copied from hxetex.def \HyPsd@LoadUnicode @@ -709,33 +709,10 @@ \Hy@RemoveDurPageAttr#1#4\END \fi } -\def\hyper@pagehidden{% - \ifHy@useHidKey - \expandafter - \Hy@RemoveHidPageAttr\the\pdfpageattr^^J/Hid{} \END - \ifHy@pdfpagehidden - \edef\@processme{% - \global\pdfpageattr{% - \the\pdfpageattr - ^^J/Hid true % SPACE - }% - }% - \@processme - \fi - \fi -} -\gdef\Hy@RemoveHidPageAttr#1^^J/Hid#2#3 #4\END{% - \ifx\\#2\\% - \global\pdfpageattr{#1}% - \else - \Hy@RemoveHidPageAttr#1#4\END - \fi -} \pdf@ifdraftmode{}{% \g@addto@macro\Hy@EveryPageHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden }% } \Hy@AtBeginDocument{% @@ -814,17 +791,6 @@ \close@pdflink }% } -\def\Hy@FixNotFirstPage{% - \gdef\Hy@FixNotFirstPage{% - \setbox\AtBeginShipoutBox=\hbox{% - \copy\AtBeginShipoutBox - }% - }% -} -\ltx@ifpackagelater{atbegshi}{2011/10/05}{% -}{% - \AtBeginShipout{\Hy@FixNotFirstPage}% -} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum \Hy@Message{Sorry, pdftex does not support FORM gauges}% } diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index 6ecd504a2c8..92315c66b85 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hpdftex.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for pdfTeX] \Hy@VersionCheck{hpdftex.def} \pdf@ifdraftmode{% @@ -688,33 +688,10 @@ \Hy@RemoveDurPageAttr#1#4\END \fi } -\def\hyper@pagehidden{% - \ifHy@useHidKey - \expandafter - \Hy@RemoveHidPageAttr\the\pdfpageattr^^J/Hid{} \END - \ifHy@pdfpagehidden - \edef\@processme{% - \global\pdfpageattr{% - \the\pdfpageattr - ^^J/Hid true % SPACE - }% - }% - \@processme - \fi - \fi -} -\gdef\Hy@RemoveHidPageAttr#1^^J/Hid#2#3 #4\END{% - \ifx\\#2\\% - \global\pdfpageattr{#1}% - \else - \Hy@RemoveHidPageAttr#1#4\END - \fi -} \pdf@ifdraftmode{}{% \g@addto@macro\Hy@EveryPageHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden }% } \Hy@AtBeginDocument{% @@ -793,17 +770,6 @@ \close@pdflink }% } -\def\Hy@FixNotFirstPage{% - \gdef\Hy@FixNotFirstPage{% - \setbox\AtBeginShipoutBox=\hbox{% - \copy\AtBeginShipoutBox - }% - }% -} -\ltx@ifpackagelater{atbegshi}{2011/10/05}{% -}{% - \AtBeginShipout{\Hy@FixNotFirstPage}% -} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum \Hy@Message{Sorry, pdftex does not support FORM gauges}% } @@ -1249,6 +1215,7 @@ /quotedblbase/quotedblleft/quotedblright/quoteleft% /quoteright/quotesinglbase/trademark/fi/fl/Lslash/OE% /Scaron/Ydieresis/Zcaron/dotlessi/lslash/oe/scaron/zcaron % + 160/Euro % 164/currency % 166/brokenbar % 168/dieresis/copyright/ordfeminine % diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index c9062922bd3..7b2179aeff2 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.cfg} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref configuration file for TeX4ht] \IfFileExists{\jobname.cfg}{\endinput}{} \Preamble{html} diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def index 4c6ace7069b..5507f57efbf 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for TeX4ht] \Hy@VersionCheck{htex4ht.def} \providecommand*{\XR@ext}{html} diff --git a/Master/texmf-dist/tex/latex/hyperref/htexture.def b/Master/texmf-dist/tex/latex/hyperref/htexture.def index a9f822ae7ba..c2bcee191ee 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htexture.def +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htexture.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for Textures] \Hy@VersionCheck{htexture.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def index 4ac9f0876fd..2d757df9932 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtex.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for VTeX in PDF/PS mode] \Hy@VersionCheck{hvtex.def} \providecommand*{\XR@ext}{pdf} @@ -511,15 +511,9 @@ \fi \fi }% - \def\hyper@pagehidden{% - \ifHy@useHidKey - \special{!hidden\ifHy@pdfpagehidden +\else -\fi}% - \fi - }% \g@addto@macro\Hy@EveryPageBoxHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden }% \fi \ifx\@pdfproducer\relax diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index c5780ff1fe3..a5da46c8f6f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexhtml.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for VTeX in HTML mode] \Hy@VersionCheck{hvtexhtm.def} \providecommand*{\XR@ext}{htm} diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def index 9da511201f4..d7bb588fc2d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexmrk.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] \Hy@VersionCheck{hvtexmrk.def} \providecommand*{\XR@ext}{pdf} diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def index 2f2487e69da..4bd91602fde 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hxetex.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for XeTeX] \Hy@VersionCheck{hxetex.def} \HyPsd@LoadUnicode @@ -709,17 +709,9 @@ \fi \fi } -\def\hyper@pagehidden{% - \ifHy@useHidKey - \special{pdf:put @thispage % - <>% - }% - \fi -} \g@addto@macro\Hy@EveryPageBoxHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden } \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum \Hy@Message{Sorry, dvipdfm/XeTeX does not support FORM gauges}% @@ -1058,6 +1050,7 @@ /quotedblbase/quotedblleft/quotedblright/quoteleft/quoteright% /quotesinglbase/trademark/fi/fl/Lslash/OE/Scaron/Ydieresis% /Zcaron/dotlessi/lslash/oe/scaron/zcaron % + 160/Euro % 164/currency % 166/brokenbar % 168/dieresis/copyright/ordfeminine % diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def b/Master/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def new file mode 100644 index 00000000000..b745494a1b2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def @@ -0,0 +1,56 @@ +%% +%% This is file `hyperref-langpatches.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `lang') +%% +%% File: hyperref.dtx +%% Copyright +%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, +%% 2001-2015 Heiko Oberdiek. +%% 2016-2019 Oberdiek Package Support Group +%% 2019-2021 LaTeX3 Project +%% https://github.com/latex3/hyperref/issues +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is the LaTeX3 Project. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hyperref-langpatches.def} + [2021-02-04 v7.00g % + Hyperref: patches for babel languages] +\ltx@IfUndefined{spanish@sh@>@sel}{}{% + \def\HyPsd@babel@spanish{% + \declare@shorthand{spanish}{<<}{\guillemotleft}% + \declare@shorthand{spanish}{>>}{\guillemotright}% + \declare@shorthand{spanish}{"=}{-}% + \declare@shorthand{spanish}{"~}{-}% + \declare@shorthand{spanish}{"!}{\textexclamdown}% + \declare@shorthand{spanish}{"?}{\textquestiondown}% + }% +} +\def\HyPsd@SpanishPatch{% + \ltx@IfUndefined{es@save@dot}{% + }{% + \let\.\es@save@dot + }% +} +\endinput +%% +%% End of file `hyperref-langpatches.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index 94390c4be71..c6adf195ecc 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -34,7 +34,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{hyperref} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -105,24 +105,7 @@ \Hy@SetCatcodes \RequirePackage{ltxcmds}[2010/11/12] \RequirePackage{iftex}[2019/10/24] -\RequirePackage{pdftexcmds}[2009/04/10] -\@ifpackagelater{pdftexcmds}{2010/11/04}{}{% - \ltx@IfUndefined{pdfdraftmode}{% - \let\pdf@ifdraftmode\ltx@secondoftwo - }{% - \ifpdf - \def\pdf@ifdraftmode{% - \ifnum\pdfdraftmode=\ltx@one - \expandafter\ltx@firstoftwo - \else - \expandafter\ltx@secondoftwo - \fi - }% - \else - \let\pdf@ifdraftmode\ltx@secondoftwo - \fi - }% -} +\RequirePackage{pdftexcmds}[2018/09/10] \RequirePackage{infwarerr}[2010/04/08] \RequirePackage{keyval}[1997/11/10] \RequirePackage{kvsetkeys}[2007/09/29] @@ -226,18 +209,6 @@ \expandafter\ltx@firstoftwo \fi }% - \ltx@ifpackagelater{ltxcmds}{2010/09/11}{}{% - \begingroup - \lccode`0=`\{\relax - \lowercase{\endgroup - \def\ltx@leftbracechar{0}% - }% - \begingroup - \lccode`0=`\}\relax - \lowercase{\endgroup - \def\ltx@rightbracechar{0}% - }% - }% } \@ifundefined{AfterBeginDocument}{% \def\AfterBeginDocument{\AtBeginDocument}% @@ -292,7 +263,6 @@ \newif\ifHy@ocgcolorlinks \newif\ifHy@pageanchor \newif\ifHy@pdfpagelabels -\newif\ifHy@pdfpagehidden \newif\ifHy@pdfstring \newif\ifHy@plainpages \newif\ifHy@psize @@ -334,7 +304,6 @@ \Hy@pdfnewwindowfalse \Hy@pageanchortrue \Hy@pdfpagelabelstrue -\Hy@pdfpagehiddenfalse \Hy@pdfstringfalse \Hy@plainpagesfalse \Hy@raiselinksfalse @@ -343,7 +312,7 @@ \Hy@psdextrafalse \Hy@pdftoolbartrue \Hy@typexmlfalse -\Hy@unicodefalse +\Hy@unicodetrue \Hy@pdfusetitlefalse \Hy@verbosefalse \Hy@pdfwindowuitrue @@ -500,8 +469,8 @@ \let\hphantom\@gobble \let\ding\HyPsd@ding \let\Cube\HyPsd@DieFace - \def\begin#1{\csname#1\endcsname}% - \def\end#1{\csname end#1\endcsname}% + \def\begin##1{\csname##1\endcsname}% + \def\end##1{\csname end##1\endcsname}% \def\textcolor##1##{\@secondoftwo}% \def\MakeUppercase{\MakeUppercaseUnsupportedInPdfStrings}% \def\MakeLowercase{\MakeLowercaseUnsupportedInPdfStrings}% @@ -517,10 +486,7 @@ \let\bbl@info\@gobble \csname HyPsd@babel@\language@group\endcsname }% - \HyPsd@GreekPatch \HyPsd@SpanishPatch - \HyPsd@RussianPatch - \HyPsd@BabelPatch \let\@safe@activestrue\relax \let\@safe@activesfalse\relax \let\cyr\relax @@ -670,7 +636,7 @@ \ltx@IfUndefined{StringEncodingConvertTest}{% }{% \EdefUnescapeString\HyPsd@temp#1% - \ifxetex + \iftutex \let\HyPsd@UnescapedString\HyPsd@temp \StringEncodingConvertTest\HyPsd@temp\HyPsd@temp {utf16be}{ascii-print}{% @@ -736,7 +702,7 @@ \catcode62 \the\catcode62\relax % > \catcode64 \the\catcode64\relax % @ \catcode91 \the\catcode91\relax % [ - \catcode92 \the\catcode92\relax % \ + \catcode92 \the\catcode92\relax % (backslash) \catcode93 \the\catcode93\relax % ] \catcode123 \the\catcode123\relax % { \catcode124 \the\catcode124\relax % | @@ -756,7 +722,7 @@ \catcode61 12 % = \catcode62 12 % > \catcode91 12 % [ - \catcode92 0 % \ + \catcode92 0 % (backslash) \catcode93 12 % ] \catcode123 1 % { \catcode124 12 % | @@ -839,285 +805,8 @@ }% }% \x -\def\HyPsd@BabelPatch{% - \let\HyOrg@languageshorthands\languageshorthands - \let\languageshorthands\HyPsd@LanguageShorthands -} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdf@strcmp\endcsname\relax - \let\HyPsd@langshort@system\@empty - \def\HyPsd@LanguageShorthands#1{% - \expandafter\ifx\csname HyPsd@langshort@#1\endcsname - \HyPsd@langshort@system - \expandafter\@gobble - \else - \expandafter\@firstofone - \fi - {% - \HyOrg@languageshorthands{#1}% - }% - }% -\else - \def\HyPsd@LanguageShorthands#1{% - \ifnum\pdf@strcmp{#1}{system}=\z@ - \expandafter\@gobble - \else - \expandafter\@firstofone - \fi - {% - \HyOrg@languageshorthands{#1}% - }% - }% -\fi -\def\Hy@temp{% - \@ifpackageloaded{babel}{% - \@ifpackagelater{babel}{2008/03/16}{% - \let\Hy@temp\@empty - }{% - \def\HyPsd@BabelPatch{% - \let\HyOrg@languageshorthands\languageshorthands - }% - }% - }{}% -} -\Hy@temp -\expandafter\Hy@AtBeginDocument\expandafter{\Hy@temp} \newif\ifHy@next -\ltx@IfUndefined{danish@sh@"@sel}{}{% - \def\HyPsd@babel@danish{% - \declare@shorthand{danish}{"|}{}% - \declare@shorthand{danish}{"~}{-}% - }% -} -\ltx@IfUndefined{dutch@sh@"@sel}{}{% - \def\HyPsd@babel@dutch{% - \declare@shorthand{dutch}{"|}{}% - \declare@shorthand{dutch}{"~}{-}% - }% -} -\ltx@IfUndefined{finnish@sh@"@sel}{}{% - \def\HyPsd@babel@finnish{% - \declare@shorthand{finnish}{"|}{}% - }% -} -\ltx@IfUndefined{french@sh@:@sel}{}{% - \def\HyPsd@babel@frenchb{% - \def\guill@spacing{ }% - }% -} -\ltx@IfUndefined{german@sh@"@sel}{}{% - \def\HyPsd@babel@german{% - \declare@shorthand{german}{"f}{f}% - \declare@shorthand{german}{"|}{}% - \declare@shorthand{german}{"~}{-}% - }% -} -\ltx@IfUndefined{macedonian@sh@"@sel}{}{% - \def\HyPsd@babel@macedonian{% - \declare@shorthand{macedonian}{"|}{}% - \declare@shorthand{macedonian}{"~}{-}% - }% -}{} -\ltx@IfUndefined{ngerman@sh@"@sel}{}{% - \def\HyPsd@babel@ngerman{% - \declare@shorthand{ngerman}{"|}{}% - \declare@shorthand{ngerman}{"~}{-}% - }% -} -\ltx@IfUndefined{portuges@sh@"@sel}{}{% - \def\HyPsd@babel@portuges{% - \declare@shorthand{portuges}{"|}{}% - }% -} -\ltx@IfUndefined{russian@sh@"@sel}{}{% - \def\HyPsd@babel@russian{% - \declare@shorthand{russian}{"|}{}% - \declare@shorthand{russian}{"~}{-}% - }% -} -\ltx@IfUndefined{slovene@sh@"@sel}{}{% - \def\HyPsd@babel@slovene{% - \declare@shorthand{slovene}{"|}{}% - }% -} -\ltx@IfUndefined{spanish@sh@>@sel}{}{% - \def\HyPsd@babel@spanish{% - \declare@shorthand{spanish}{<<}{\guillemotleft}% - \declare@shorthand{spanish}{>>}{\guillemotright}% - \declare@shorthand{spanish}{"=}{-}% - \declare@shorthand{spanish}{"~}{-}% - \declare@shorthand{spanish}{"!}{\textexclamdown}% - \declare@shorthand{spanish}{"?}{\textquestiondown}% - }% -} -\ltx@IfUndefined{swedish@sh@"@sel}{}{% - \def\HyPsd@babel@swedish{% - \declare@shorthand{swedish}{"|}{}% - \declare@shorthand{swedish}{"~}{-}% - }% -} -\ltx@IfUndefined{ukrainian@sh@"@sel}{}{% - \def\HyPsd@babel@ukrainian{% - \declare@shorthand{ukrainian}{"|}{}% - \declare@shorthand{ukrainian}{"~}{-}% - }% -} -\ltx@IfUndefined{usorbian@sh@"@sel}{}{% - \def\HyPsd@babel@usorbian{% - \declare@shorthand{usorbian}{"f}{f}% - \declare@shorthand{usorbian}{"|}{}% - }% -} -\ltx@IfUndefined{greek@sh@\string~@sel}{% - \let\HyPsd@GreekPatch\@empty -}{% - \def\HyPsd@GreekPatch{% - \let\greeknumeral\HyPsd@greeknumeral - \let\Greeknumeral\HyPsd@Greeknumeral - }% -} -\def\HyPsd@greeknumeral#1{% - \HyPsd@GreekNum\@firstoftwo{#1}% -} -\def\HyPsd@Greeknumeral#1{% - \HyPsd@GreekNum\@secondoftwo{#1}% -} -\def\HyPsd@GreekNum#1#2{% - \ifHy@unicode - \ifnum#2<\@ne - \@arabic{#2}% - \else - \ifnum#2<1000000 % - \HyPsd@@GreekNum#1{#2}% - \else - \@arabic{#2}% - \fi - \fi - \else - \@arabic{#2}% - \fi -} -\def\HyPsd@@GreekNum#1#2{% - \ifnum#2<\@m - \ifnum#2<10 % - \expandafter\HyPsd@GreekNumI - \expandafter\@gobble\expandafter#1\number#2% - \else - \ifnum#2<100 % - \expandafter\HyPsd@GreekNumII - \expandafter\@gobble\expandafter#1\number#2% - \else - \expandafter\HyPsd@GreekNumIII - \expandafter\@gobble\expandafter#1\number#2% - \fi - \fi - \ifnum#2>\z@ - \textnumeralsigngreek - \fi - \else - \ifnum#2<\@M - \expandafter\HyPsd@GreekNumIV\expandafter#1\number#2% - \else - \ifnum#2<100000 % - \expandafter\HyPsd@GreekNumV\expandafter#1\number#2% - \else - \expandafter\HyPsd@GreekNumVI\expandafter#1\number#2% - \fi - \fi - \fi -} -\def\HyPsd@GreekNumI#1#2#3{% - #1{% - \ifnum#3>\z@ - \textnumeralsignlowergreek - \fi - }% - \expandafter#2% - \ifcase#3 % - {}{}% - \or\textalpha\textAlpha - \or\textbeta\textBeta - \or\textgamma\textGamma - \or\textdelta\textDelta - \or\textepsilon\textEpsilon - \or\textstigmagreek\textStigmagreek - \or\textzeta\textZeta - \or\texteta\textEta - \or\texttheta\textTheta - \else - {}{}% - \fi -} -\def\HyPsd@GreekNumII#1#2#3#4{% - #1{% - \ifnum#3>\z@ - \textnumeralsignlowergreek - \fi - }% - \expandafter#2% - \ifcase#3 % - {}{}% - \or\textiota\textIota - \or\textkappa\textKappa - \or\textlambda\textLambda - \or\textmu\textMu - \or\textnu\textNu - \or\textxi\textXi - \or\textomicron\textOmicron - \or\textpi\textPi - \or\textkoppagreek\textKoppagreek - \else - {}{}% - \fi - \HyPsd@GreekNumI#1#2#4% -} -\def\HyPsd@GreekNumIII#1#2#3#4#5{% - #1{% - \ifnum#3>\z@ - \textnumeralsignlowergreek - \fi - }% - \expandafter#2% - \ifcase#3 % - {}{}% - \or\textrho\textRho - \or\textsigma\textSigma - \or\texttau\textTau - \or\textupsilon\textUpsilon - \or\textphi\textPhi - \or\textchi\textChi - \or\textpsi\textPsi - \or\textomega\textOmega - \or\textsampigreek\textSampigreek - \else - {}{}% - \fi - \HyPsd@GreekNumII#1#2#4#5% -} -\def\HyPsd@GreekNumIV#1#2#3#4#5{% - \HyPsd@GreekNumI\@firstofone#1#2% - \HyPsd@@GreekNum#1{#3#4#5}% -} -\def\HyPsd@GreekNumV#1#2#3#4#5#6{% - \HyPsd@GreekNumII\@firstofone#1#2#3% - \HyPsd@@GreekNum#1{#4#5#6}% -} -\def\HyPsd@GreekNumVI#1#2#3#4#5#6#7{% - \HyPsd@GreekNumIII\@firstofone#1#2#3#4% - \HyPsd@@GreekNum#1{#5#6#7}% -} -\def\HyPsd@SpanishPatch{% - \ltx@IfUndefined{es@save@dot}{% - }{% - \let\.\es@save@dot - }% -} -\def\HyPsd@RussianPatch{% - \ltx@IfUndefined{russian@sh@"@-@}{% - }{% - \@namedef{russian@sh@"@-@}{-}% - }% -} +\input{hyperref-langpatches.def} \RequirePackage{intcalc}[2007/09/27] \def\HyPsd@CJKhook{% \ltx@ifpackageloaded{CJK}{% @@ -2793,7 +2482,8 @@ \def\HyPsd@pdfencoding@auto{auto} \def\HyPsd@pdfencoding@pdfdoc{pdfdoc} \def\HyPsd@pdfencoding@unicode{unicode} -\let\HyPsd@pdfencoding\Hy@pdfencoding@pdfdoc +\let\HyPsd@pdfencoding\HyPsd@pdfencoding@unicode +\HyPsd@LoadUnicode \def\HyPsd@LoadStringEnc{% \RequirePackage{stringenc}[2009/12/15]% \let\HyPsd@LoadStringEnc\relax @@ -3173,13 +2863,13 @@ \def\pageautorefname{page}% } \def\HyLang@french{% - \def\equationautorefname{\'Equation}% + \def\equationautorefname{\'equation}% \def\footnoteautorefname{note}% \def\itemautorefname{item}% - \def\figureautorefname{Figure}% - \def\tableautorefname{Tableau}% - \def\partautorefname{Partie}% - \def\appendixautorefname{Appendice}% + \def\figureautorefname{figure}% + \def\tableautorefname{tableau}% + \def\partautorefname{partie}% + \def\appendixautorefname{annexe}% \def\chapterautorefname{chapitre}% \def\sectionautorefname{section}% \def\subsectionautorefname{sous-section}% @@ -3187,7 +2877,7 @@ \def\paragraphautorefname{paragraphe}% \def\subparagraphautorefname{sous-paragraphe}% \def\FancyVerbLineautorefname{ligne}% - \def\theoremautorefname{Th\'eor\`eme}% + \def\theoremautorefname{th\'eor\`eme}% \def\pageautorefname{page}% } \def\HyLang@german{% @@ -3372,6 +3062,42 @@ \def\theoremautorefname{Stelling}% \def\pageautorefname{pagina}% } +\def\HyLang@norsk{% + \def\equationautorefname{Ligning}% + \def\footnoteautorefname{fotnote}% + \def\itemautorefname{element}% + \def\figureautorefname{Figur}% + \def\tableautorefname{Tabell}% + \def\partautorefname{Del}% + \def\appendixautorefname{Tillegg}% + \def\chapterautorefname{kapittel}% + \def\sectionautorefname{seksjon}% + \def\subsectionautorefname{underseksjon}% + \def\subsubsectionautorefname{under-underseksjon}% + \def\paragraphautorefname{avsnitt}% + \def\subparagraphautorefname{underavsnitt}% + \def\FancyVerbLineautorefname{Linje}% + \def\theoremautorefname{Teorem}% + \def\pageautorefname{side}% +} +\def\HyLang@danish{% + \def\equationautorefname{Ligning}% + \def\footnoteautorefname{fodnote}% + \def\itemautorefname{element}% + \def\figureautorefname{Figur}% + \def\tableautorefname{Tabel}% + \def\partautorefname{Del}% + \def\appendixautorefname{Bilag}% + \def\chapterautorefname{kapitel}% + \def\sectionautorefname{sektion}% + \def\subsectionautorefname{under-sektion}% + \def\subsubsectionautorefname{under-under-sektion}% + \def\paragraphautorefname{afsnit}% + \def\subparagraphautorefname{underafsnit}% + \def\FancyVerbLineautorefname{linje}% + \def\theoremautorefname{Teorem}% + \def\pageautorefname{side}% +} \def\HyLang@addto#1#2{% #2% \@temptokena{#2}% @@ -3441,6 +3167,9 @@ \HyLang@DeclareLang{hungarian}{magyar}{} \HyLang@DeclareLang{greek}{greek}{} \HyLang@DeclareLang{dutch}{dutch}{} +\HyLang@DeclareLang{norsk}{norsk}{} +\HyLang@DeclareLang{norwegian}{norsk}{} +\HyLang@DeclareLang{danish}{danish}{} \DeclareVoidOption{vietnamese}{% \HyLang@addto\extrasvietnamese\HyLang@vietnamese \Hy@AtEndOfPackage{% @@ -3621,14 +3350,6 @@ \let\@pdfpageduration\ltx@empty }% } -\newif\ifHy@useHidKey -\Hy@useHidKeyfalse -\define@key{Hyp}{pdfpagehidden}[true]{% - \Hy@boolkey{pdfpagehidden}{#1}% - \ifHy@pdfpagehidden - \global\Hy@useHidKeytrue - \fi -} \def\Hy@ColorList{cite,file,link,menu,run,url} \@for\Hy@temp:=\Hy@ColorList\do{% \edef\Hy@temp{% @@ -4428,13 +4149,6 @@ \else \def\Hy@Acrobatmenu#1#2{\leavevmode}% \fi -\Hy@nextfalse -\ltx@IfUndefined{spanish@sh@"@sel}{}{\Hy@nexttrue} -\ltx@IfUndefined{galician@sh@"@sel}{}{\Hy@nexttrue} -\ltx@IfUndefined{estonian@sh@"@sel}{}{\Hy@nexttrue} -\ifHy@next - \let\texttilde\~% -\fi \def\Hy@wrapper@babel#1#2{% \begingroup \Hy@safe@activestrue @@ -7029,15 +6743,6 @@ \Hy@MakeCurrentHref{#1.\the\Hy@linkcounter}% } \def\@currentHlabel{\@currentHref} -\@ifpackageloaded{fancyvrb}{% - \@ifpackagelater{fancyvrb}{1998/05/20}{}{% - \def\FV@StepLineNo{% - \FV@SetLineNo - \def\FV@StepLineNo{\H@refstepcounter{FancyVerbLine}}% - \FV@StepLineNo - }% - }% -}{} \Hy@AtBeginDocument{% \@ifclassloaded{revtex4}{% \@namedef{ver@lastpage.sty}{1994/06/25}% diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index 9ab2c5e0e64..a4b22ff0f3c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hypertex.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref driver for HyperTeX specials] \Hy@VersionCheck{hypertex.def} \providecommand*{\XR@ext}{dvi} diff --git a/Master/texmf-dist/tex/latex/hyperref/nameref.sty b/Master/texmf-dist/tex/latex/hyperref/nameref.sty index cafbe62ee83..b61bb4c71a3 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nameref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nameref.sty @@ -11,7 +11,7 @@ %% 2000 Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek %% 2016-2019 Oberdiek Package Suport Group -%% 2019-2020 The LaTeX3 Project +%% 2019-2021 The LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{nameref} - [2019/09/16 v2.46 Cross-referencing by name of section]% + [2021-04-02 v2.47 Cross-referencing by name of section]% \RequirePackage{refcount}[2006/02/12] \RequirePackage{gettitlestring}[2009/12/18] \RequirePackage{ltxcmds}[2009/12/12] diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index d01f0805cc1..ddb176e80ea 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -34,7 +34,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{nohyperref} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Dummy hyperref (SR)] \RequirePackage{letltxmacro}[2008/06/13] \let\hyper@@anchor\@gobble diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def index 105fac05d1f..1eba34ca0ac 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pd1enc.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref: PDFDocEncoding definition (HO)] \DeclareFontEncoding{PD1}{}{} \DeclareTextAccent{\`}{PD1}{\textasciigrave} diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def index 4ba70e306dc..19cb7220640 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pdfmark.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref definitions for pdfmark specials] \Hy@VersionCheck{pdfmark.def} \begingroup @@ -305,21 +305,9 @@ \fi \fi } -\def\hyper@pagehidden{% - \ifHy@useHidKey - \pdfmark{% - pdfmark=/PUT,% - Raw={% - \string{ThisPage\string}% - <>% - }% - }% - \fi -} \g@addto@macro\Hy@EveryPageBoxHook{% \hyper@pagetransition \hyper@pageduration - \hyper@pagehidden } \def\hyper@image#1#2{% \hyper@linkurl{#2}{#1}% @@ -875,6 +863,7 @@ /quotedblbase/quotedblleft/quotedblright/quoteleft% /quoteright/quotesinglbase/trademark/fi/fl/Lslash/OE/Scaron% /Ydieresis/Zcaron/dotlessi/lslash/oe/scaron/zcaron % + 160/Euro % 164/currency % 166/brokenbar % 168/dieresis/copyright/ordfeminine % diff --git a/Master/texmf-dist/tex/latex/hyperref/psdextra.def b/Master/texmf-dist/tex/latex/hyperref/psdextra.def index 01cb6a6f064..3af31103c7c 100644 --- a/Master/texmf-dist/tex/latex/hyperref/psdextra.def +++ b/Master/texmf-dist/tex/latex/hyperref/psdextra.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{psdextra.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref: Additions to PDF string support] \Hy@VersionCheck{psdextra.def} \newcommand*{\psdmapshortnames}{% diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index 1dcabf08306..9c67ff8b7af 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puarenc.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref: Additions to puenc.def for Arabi] \DeclareTextCommand{\hamza}{PU}{\86\041}% U+0621 \DeclareTextCommand{\alefmadda}{PU}{\86\042}% U+0622 diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc.def b/Master/texmf-dist/tex/latex/hyperref/puenc.def index 314a259a0fa..1681f139975 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puenc.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref: PDF Unicode definition (HO)] \DeclareFontEncoding{PU}{}{} \DeclareTextCommand{\`}{PU}[1]{#1\83\000}% U+0300 @@ -619,7 +619,9 @@ \DeclareTextCommand{\textmacronbelow}{PU}{ \83\061}% U+0331 \DeclareTextCommand{\texttie}{PU}{ \83\141}% U+0361 \DeclareTextCommand{\textnumeralsigngreek}{PU}{\83\164}% U+0374 +\DeclareTextCommand{\textdexiakeraia}{PU}{\83\164}% U+0374 \DeclareTextCommand{\textnumeralsignlowergreek}{PU}{\83\165}% U+0375 +\DeclareTextCommand{\textaristerikeraia}{PU}{\83\165}% U+0375 \DeclareTextCompositeCommand{\'}{PU}{\textAlpha}{\83\206}% U+0386 \DeclareTextCompositeCommand{\'}{PU}{\textEpsilon}{\83\210}% U+0388 \DeclareTextCompositeCommand{\'}{PU}{\textEta}{\83\211}% U+0389 @@ -691,14 +693,24 @@ \DeclareTextCommand{\textupsilonacute}{PU}{\83\315}% U+03CD \DeclareTextCompositeCommand{\'}{PU}{\textupsilon}{\83\315}% U+03CD \DeclareTextCompositeCommand{\'}{PU}{\textomega}{\83\316}% U+03CE +\DeclareTextCommand{\textQoppa}{PU}{\83\330}% U+03D8 +\DeclareTextCommand{\textqoppa}{PU}{\83\331}% U+03D9 \DeclareTextCommand{\textStigmagreek}{PU}{\83\332}% U+03DA +\DeclareTextCommand{\textStigma}{PU}{\83\332}% U+03DA \DeclareTextCommand{\textstigmagreek}{PU}{\83\333}% U+03DB +\DeclareTextCommand{\textstigma}{PU}{\83\333}% U+03DB \DeclareTextCommand{\textDigammagreek}{PU}{\83\334}% U+03DC +\DeclareTextCommand{\textDigamma}{PU}{\83\334}% U+03DC \DeclareTextCommand{\textdigammagreek}{PU}{\83\335}% U+03DD +\DeclareTextCommand{\textdigamma}{PU}{\83\335}% U+03DD +\DeclareTextCommand{\textKoppa}{PU}{\83\336}% U+03DE \DeclareTextCommand{\textKoppagreek}{PU}{\83\336}% U+03DE +\DeclareTextCommand{\textkoppa}{PU}{\83\337}% U+03DF \DeclareTextCommand{\textkoppagreek}{PU}{\83\337}% U+03DF \DeclareTextCommand{\textSampigreek}{PU}{\83\340}% U+03E0 +\DeclareTextCommand{\textSampi}{PU}{\83\340}% U+03E0 \DeclareTextCommand{\textsampigreek}{PU}{\83\341}% U+03E1 +\DeclareTextCommand{\textsampi}{PU}{\83\341}% U+03E1 \DeclareTextCommand{\textbackepsilon}{PU}{\83\366}% U+03F6 \DeclareTextCompositeCommand{\`}{PU}{\CYRE}{\84\000}% U+0400 \DeclareTextCommand{\CYRYO}{PU}{\84\001}% U+0401 diff --git a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def index 17264532d6f..e3b92163b52 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def @@ -11,7 +11,7 @@ %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2015 Heiko Oberdiek. %% 2016-2019 Oberdiek Package Support Group -%% 2019-2020 LaTeX3 Project +%% 2019-2021 LaTeX3 Project %% https://github.com/latex3/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puvnenc.def} - [2020-05-15 v7.00e % + [2021-02-04 v7.00g % Hyperref: Additions to puenc.def for VnTeX] \DeclareTextCommand{\abreve}{PU}{\81\003}% U+0103 \DeclareTextCommand{\acircumflex}{PU}{\80\342}% U+00E2 diff --git a/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty index d73ba4013fa..369f0bea065 100644 --- a/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty +++ b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty @@ -1,6 +1,6 @@ %% xr-hyper package (beta release) -%% Copyright (C) 1993-2020 David Carlisle +%% Copyright (C) 1993-2021 David Carlisle %% This is a modified version of the xr package from the Standard LaTeX %% tools distribution. It has some internal changes to cooperate with @@ -78,7 +78,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xr-hyper} - [2020-05-15 v7.00e eXternal References (DPC)] + [2021-02-04 v7.00g eXternal References (DPC)] \def\externaldocument{\@testopt\XR@cite{}} \let\externalcitedocument\externaldocument -- cgit v1.2.3