From 74dfa355b56ae4ff3cde96e2b636198c15bcf1fc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 16 May 2020 21:25:43 +0000 Subject: hyperref (16may20) git-svn-id: svn://tug.org/texlive/trunk@55161 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hyperref/README.md | 77 ++-- Master/texmf-dist/doc/latex/hyperref/backref.pdf | Bin 133242 -> 212976 bytes Master/texmf-dist/doc/latex/hyperref/hyperref.pdf | Bin 2314278 -> 2454006 bytes Master/texmf-dist/doc/latex/hyperref/manual.css | 155 ++++---- Master/texmf-dist/doc/latex/hyperref/manual.html | 410 +++++++-------------- Master/texmf-dist/doc/latex/hyperref/manual.pdf | Bin 296781 -> 295940 bytes Master/texmf-dist/doc/latex/hyperref/manual2.html | 4 +- Master/texmf-dist/doc/latex/hyperref/manual3.html | 4 +- Master/texmf-dist/doc/latex/hyperref/manual4.html | 4 +- Master/texmf-dist/doc/latex/hyperref/manual5.html | 4 +- Master/texmf-dist/doc/latex/hyperref/manual6.html | 4 +- Master/texmf-dist/doc/latex/hyperref/manual7.html | 4 +- Master/texmf-dist/doc/latex/hyperref/nameref.pdf | Bin 118154 -> 189481 bytes .../source/latex/hyperref/doc/manual.tex | 66 +--- .../texmf-dist/source/latex/hyperref/hluatex.dtx | 26 +- .../texmf-dist/source/latex/hyperref/hyperref.dtx | 96 +---- Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hdvips.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdvipson.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hluatex.def | 16 +- Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 4 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg | 2 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.def | 2 +- Master/texmf-dist/tex/latex/hyperref/htexture.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtex.def | 3 +- Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hxetex.def | 4 +- Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 85 +---- Master/texmf-dist/tex/latex/hyperref/hypertex.def | 2 +- .../texmf-dist/tex/latex/hyperref/nohyperref.sty | 2 +- Master/texmf-dist/tex/latex/hyperref/pd1enc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 4 +- Master/texmf-dist/tex/latex/hyperref/psdextra.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puarenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puvnenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty | 22 +- 39 files changed, 336 insertions(+), 690 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/hyperref/README.md b/Master/texmf-dist/doc/latex/hyperref/README.md index 208820190f3..5432d88e7d2 100644 --- a/Master/texmf-dist/doc/latex/hyperref/README.md +++ b/Master/texmf-dist/doc/latex/hyperref/README.md @@ -1,13 +1,12 @@ # README for hyperref bundle -2020-01-14 +Version 2020-05-15 v7.00e ## INTRODUCTION - This package is used to emend cross-referencing commands in LaTeX to -produce some sort of \special commands; there are backends for the -\special set defined for HyperTeX dvi processors, for embedded pdfmark +produce some sort of `\special` commands; there are backends for the +`\special` set defined for HyperTeX dvi processors, for embedded pdfmark commands for processing by Acrobat Distiller (dvips and dvipsone), for dviwindo, for pdfTeX, for dvipdfm, for TeX4ht, and for VTEX's pdf and HTML backends. @@ -17,36 +16,32 @@ Included are: 1. `hyperref` The main hyperlinking functionality. 2. `backref` a package by David Carlisle to provide links back from bibliography to the main text; these are hypertext links after using - hyperref. + `hyperref`. 3. `nameref` a package to allow reference to the *names* of sections rather than their numbers. ## DOWNLOAD +`hyperref` is available on CTAN:https://ctan.org/pkg/hyperref -`hyperref` is available on CTAN: - https://ctan.org/pkg/hyperref - Also a ZIP file is provided that contains the files, already sorted in a TDS tree: - CTAN:install/macros/latex/contrib/hyperref.tds.zip - + CTAN:http://mirrors.ctan.org/install/macros/latex/contrib/hyperref.tds.zip + "CTAN:" means one of the 'Comprehensive TeX Archive Network' nodes or one of its mirrors. This is explained in https://texfaq.org/FAQ-archives - + The main repository of hyperref is located at github - https://github.com/latex3/hyperref - + https://github.com/latex3/hyperref ## INSTALLATION - ### Installation with ZIP file in TDS format -The ZIP file `hyperref.tds.zip` contains the files sorted -in a TDS tree. Thus you can directly unpack the ZIP file -inside a TDS tree. (See CTAN:tds.zip for an explanation of TDS.) +The ZIP file [hyperref.tds.zip](http://mirrors.ctan.org/install/macros/latex/contrib/hyperref.tds.zip) +contains the files sorted in a TDS tree. Thus you can directly unpack the ZIP file +inside a TDS tree. (See [CTAN:tds.zip](https://ctan.org/pkg/tds) for an explanation of TDS.) Example: ``` @@ -54,42 +49,38 @@ Example: unzip /...downloadpath.../hyperref.tds.zip ``` -Do not forget to refresh the file name database of this TDS tree, -Example: +Do not forget to refresh the file name database of this TDS tree. +Example for TeXLive: ``` - texhash /...somewhere.../texmf + mktexlsr /...somewhere.../texmf ``` ### Manual installation 1. Download the hyperref files from CTAN or the TUG server. If necessary, unpack them. - 2. Generate the package and driver files: - tex hyperref.ins + 2. Generate the package and driver files: `tex hyperref.ins` 3. Install the files `*.sty`, `*.def`, and `*.cfg` in your TDS tree: - cp *.sty *.def *.cfg TDS:tex/latex/hyperref/ - Replace `TDS:` by the prefix of your TDS tree (texmf directory). - The exception is bmhydoc.sty, it belongs to the source files - (TDS:source/latex/hyperref/). - 4. Copy the documentation files to "TDS:doc/latex/hyperref/": + `cp *.sty *.def *.cfg TDS:tex/latex/hyperref/`. + Replace `TDS:` by the prefix of your TDS tree (`texmf` directory). + The exception is `bmhydoc.sty`, it belongs to the source files + (`TDS:source/latex/hyperref/`). + 4. Copy the documentation files to "`TDS:doc/latex/hyperref/`": manual.pdf, README.md, ChangeLog.txt, slides.pdf, paper.pdf, hyperref.pdf, backref.pdf, - nameref.pdf (Also the HTML version of the manual can be put there.) - 5. Update the databases if necessary, eg. for texlive: - mktexlsr .../texmf - -## AUTHORS/MAINTAINERS + nameref.pdf (Also the HTML version of the manual can be put there). + 5. Update the databases if necessary, eg. for TeXLive: + `mktexlsr .../texmf` +## AUTHORS/MAINTAINERS * Sebastian Rahtz (died 2016) * Heiko Oberdiek (inactive) * The LaTeX3 Project - ## BUG REPORTS - A bug report should contain: * Comprehensive problem description. This includes error or @@ -100,35 +91,33 @@ A bug report should contain: contain any unnecessary packages and code. * Used drivers/programs. * Version information about used packages and programs. - * If you are using LaTeX, then add "\listfiles". Then + * If you are using LaTeX, then add "`\listfiles`". Then a list of version informations is printed at the end of the LaTeX run. * Please no other files than the minimal test file. The other files .log, .dvi, .ps, .pdf are seldom necessary, so send them only on request. - + ## Bug address A bug tracker is available at github: https://github.com/latex3/hyperref/issues - ## Vietnamese part Responsible for the Vietnamese translations of the \autoref names and puvnenc.def are: - Han The Thanh - Reinhard Kotucha - + +- Han The Thanh `` +- Reinhard Kotucha `` + ## Arabic part Responsible for the additions to PU encoding for Arabi is - Youssef Jabri - + Youssef Jabri `` ## KNOWN PROBLEMS - * (half-done) hyper images (link from thumbnail in text) * Relative links are not sorted out or documented well. For PDF generation: @@ -142,7 +131,6 @@ Responsible for the additions to PU encoding for Arabi is \endgroup ``` * ... - ## TODO @@ -157,4 +145,3 @@ Responsible for the additions to PU encoding for Arabi is 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 807fc4170da..7cb9b138087 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 5af41f0ccda..1ac908174f7 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 b857e3efd71..c56985d497e 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual.css +++ b/Master/texmf-dist/doc/latex/hyperref/manual.css @@ -17,36 +17,36 @@ .ec-lmss-17{ font-family: sans-serif;} .ec-lmss-17{ font-family: sans-serif;} .ec-lmr-12{font-size:120%;} -.ec-lmvtt-10x-x-120{font-size:120%; font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10x-x-120{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} -.ec-lmvtt-10{ font-family: monospace;} +.ec-lmvtt-10x-x-120{font-size:120%; font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-120{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} +.ec-lmvtt-10{ font-family: monospace,monospace;} .ec-lmss-10{ font-family: sans-serif;} .ec-lmss-10{ font-family: sans-serif;} .ec-lmss-10{ font-family: sans-serif;} @@ -64,21 +64,21 @@ .ec-lmss-10{ font-family: sans-serif;} .ec-lmr-9{font-size:90%;} .ec-lmr-8{font-size:80%;} -.ec-lmvtt-10x-x-80{font-size:80%; font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} -.ec-lmvtt-10x-x-80{ font-family: monospace;} +.ec-lmvtt-10x-x-80{font-size:80%; font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} +.ec-lmvtt-10x-x-80{ font-family: monospace,monospace;} .ec-lmri-10{ font-style:italic;} .ec-lmri-10{ font-style:italic;} .ec-lmri-10{ font-style:italic;} @@ -125,36 +125,36 @@ .ec-lmss-8{ font-family: sans-serif;} .ec-lmss-8{ font-family: sans-serif;} .ec-lmss-8{ font-family: sans-serif;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtk-10{ font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} -.ec-lmvtto-10{ font-style: oblique; font-family: monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtk-10{ font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} +.ec-lmvtto-10{ font-style: oblique; font-family: monospace,monospace;} p{margin-top:0;margin-bottom:0} p.indent{text-indent:0;} p + p{margin-top:1em;} @@ -219,11 +219,6 @@ table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } .hline td, .cline td{ padding: 0; } .hline hr, .cline hr{border:none;border-top:1px solid black;} .tabbing-right {text-align:right;} -span.TEX {letter-spacing: -0.125em; } -span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} -a span.TEX span.E {text-decoration: none; } -span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;} -span.LATEX span.TEX{ position:relative; left: -0.4em; } div.float, div.figure {margin-left: auto; margin-right: auto;} div.float img {text-align:center;} div.figure img {text-align:center;} diff --git a/Master/texmf-dist/doc/latex/hyperref/manual.html b/Master/texmf-dist/doc/latex/hyperref/manual.html index 4a4f4ab6d86..5dc0901e62e 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual.html @@ -3,8 +3,8 @@ Hypertext marks in LATEX: a manual for hyperref - - + + @@ -20,19 +20,12 @@
Sebastian Rahtz (deceased)
Heiko Oberdiek (inactive)
The LATEX3 Project (The LaTeX3 Project (https://github.com/latex3/hyperref/issues)

January 2020
+class="ec-lmr-12">2020-05-15 v7.00e

Contents

@@ -372,10 +365,8 @@ correctly.

The href and name commands must be paired with an end command later in the TEX file—the -TEX commands between the two ends of a pair form an end command later in the TeX file—the +TeX commands between the two ends of a pair form an anchor in the document. In the case of an href command, the

hypertex
DVI processors conforming to the HyperTEX guidelines (i.e. DVI processors conforming to the HyperTeX guidelines (i.e. xdvi, dvips (with the -z option), OzTEX, and OzTeX, and Textures)
dvips, but a few variations remained before tex4ht
produces \special commands for use with TEX4ht +class="ec-lmvtt-10">\special commands for use with TeX4ht
pdftex
pdfTEX, Hàn Thê´ Thành’s TEX variant that writes PDF directly +class="description">pdfTeX, Hàn Thê´ Thành’s TeX variant that writes PDF directly
luatex
luaTEX, Unicode TEX variant that writes PDF directly +class="description">luaTeX, Unicode TeX variant that writes PDF directly
dvipdfm
\special commands that Y&Y’s vtex
produces \special commands that MicroPress’ HTML and PDF-producing TEX variants +class="ec-lmvtt-10">\special commands that MicroPress’ HTML and PDF-producing TeX variants interpret as hypertext jumps within the previewer
Textures interprets as hypertext jumps within the xetex
produces \special commands for XeTEX
+class="ec-lmvtt-10">\special commands for XeTeX

Output from dvips or dvipsone must be processed using Acrobat Distiller to obtain a PDF @@ -508,8 +484,7 @@ The result is generally preferable to that produced by using the hypertex driver, and then processing with dvips -z, but the DVI file is not portable. The main advantage of using the -HyperTEX \special commands is that you can also use the document in hypertext DVI viewers, such as xdvi. @@ -526,13 +501,10 @@ class="ec-lmvtt-10">driverfallback=dvipdfm class="ec-lmss-10">pdftex, xetex, vtex, vtexpdfmark) are recognized from within TEX and +class="ec-lmss-10">vtexpdfmark) are recognized from within TeX and therefore cannot be given as value to option driverfallback. However a DVI driver program is run - after the TEX run is finished. Thus it cannot be detected at TEX macro level. Then package + after the TeX run is finished. Thus it cannot be detected at TeX macro level. Then package hyperref uses the driver, given by driverfallback. If the driver is already specified or can be @@ -541,9 +513,8 @@ 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 +

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

@@ -552,11 +523,10 @@ document preamble

Make sure it comes last of your loaded packages, to give it a fighting chance of not being over-written, -since its job is to redefine many LATEX commands. Hopefully you will find that all cross-references -work correctly as hypertext. For example, \section commands will produce a bookmark and a link, -whereas \section commands will produce a bookmark and a link, whereas +\section* commands will only show links when paired with a corresponding \addcontentsline command. @@ -621,11 +591,9 @@ class="ec-lmvtt-10">hyperref.cfg:

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 spaces in options. Especially option ‘pdfborder’ requires some care. Curly braces protect -the value, if given as package option. They are not necessary in \hypersetup. @@ -634,8 +602,7 @@ class="ec-lmvtt-10">\hypersetup.  
\hypersetup{pdfborder=0 0 0}

-

Package ‘kvoptions-patch’ patches LATEX to make it aware of key value options and to prevent +

Package ‘kvoptions-patch’ patches LaTeX to make it aware of key value options and to prevent premature value expansions.

Some options can be given at any time, but many are restricted: before \begin{document}, only in @@ -701,8 +668,7 @@ class="ec-lmvtt-10">implicit boolean true redefines LATEX internals +class="td11"> redefines LaTeX internals naturalnames boolean false use LATEX-computed names for links +class="td11"> use LaTeX-computed names for links

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, VTEX). + class="enumerate" id="x1-8002x1">Autodetection, some TeX processors can be detected at TeX macro level (pdfTeX, XeTeX, + VTeX).
  2. Option hypertex

    Sets up hyperref for use with the HyperTEX-compliant drivers. +class="ec-lmss-10">hyperref for use with the HyperTeX-compliant drivers. dvips. class="td01">tex4ht -

    For use with TEX4ht +

    For use with TeX4ht VTeX’s PostScript backend. class="td01">xetex -

    For use with XeTEX (using backend for dvipdfm). +

    For use with XeTeX (using backend for dvipdfm). @@ -1518,8 +1472,7 @@ class="td01"> class="td01">

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

    3.6 true

    A set of Acrobat bookmarks are written, in a manner similar to the table of contents, requiring - two passes of LATEX. Some postprocessing of + two passes of LaTeX. Some postprocessing of the bookmark file (file extension .out) may - be needed to translate LATEX codes, since + be needed to translate LaTeX codes, since bookmarks must be written in PDFEncoding. To aid this process, the .out file is not rewritten - by LATEX if it is edited to contain a line + by LaTeX if it is edited to contain a line \let\WriteBookmarks\relax

    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 +color. You cannot use colors defined in TeX. Since version 6.76a this is no longer true. Especially with the help of package xcolor the usual color specifications of package (x)color can be used. For further @@ -1738,11 +1687,9 @@ class="ec-lmss-10">hycolor.

    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 +LaTeX so any markup is passed through. You can postprocess this file as needed; as an aid for this, the .out file is not overwritten on the next TEX run if it is edited to contain the +class="ec-lmvtt-10">.out file is not overwritten on the next TeX run if it is edited to contain the line @@ -1896,7 +1843,8 @@ class="td11"> 1

    Determines on which page the PDF file is - opened. + opened. An empty value means, the entry is + not set. class="td01">

    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 47. pdfTeX works by supplying default values for XYZ (horizontal × vertical hypertex

    use HyperTEX backend +class="ec-lmss-10">HyperTeX backend implicit true -

    redefine LATEX internals +

    redefine LaTeX internals latex2html -

    use LATEX2HTML backend +

    use LaTeX2HTML backend naturalnames false -

    use LATEX-computed names for links +

    use LaTeX-computed names for links pdftex

    use pdfTEX backend +class="ec-lmss-10">pdfTeX backend false

    raise up links (for HyperTEX backend) +class="ec-lmss-10">HyperTeX backend) tex4ht -

    use TEX4ht backend +

    use TeX4ht backend false

    Unicode encoded pdf strings, by defaut true with XeTEX and LuTEX +class="ec-lmss-10">XeTeX and LuTeX xetex

    use XeTEX backend +class="ec-lmss-10">XeTeX backend @@ -4137,12 +4047,8 @@ class="td11"> \pdfstringdef{macroname}{TEXstring}{TeXstring}

    \345): \edef\3{\string\3}

  3. -
  4. Special glyphs of TEX: Special glyphs of TeX: \{, \%, \&, \discretionary, \def, \let, etc.
  5. -
  6. LATEX’s font commands like LaTeX’s font commands like \textbf, etc.
  7. Support for \xspace provided by the xspace package
  8. 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 +the PDF string. For further details, see Heiko Oberdiek’s EuroTeX paper distributed with hyperref.

    @@ -4294,8 +4197,7 @@ class="ec-lmbx-10">Hint: Package bookmark replaces hyperref’s bookmark organization by a new algorithm:

      -
    • Usually only one LATEX run is needed. +
    • Usually only one LaTeX run is needed.
    • More control over the bookmark appearance (color, font).
    • @@ -4319,12 +4221,8 @@ id="TBL-37-1"> \texorpdfstring{TEXstring{TeXstring}{PDFstring} @@ -4386,8 +4284,7 @@ class="ec-lmri-10">dimen specification}

      \hypercalcbp takes a TEX dimen specification and converts it to bp and returns the number +class="ec-lmvtt-10">\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

      5.10 Customizing index style file with \nohyperpage

      -

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

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

      For hyperlink support in the index, hyperref inserts \hyperpage into the index macros. After processing with Makeindex, \toclevel@<name>. Example class="ec-lmss-10">pdfescapeform

      There are many places where arbitrary strings end up as PS or PDF strings. The PS/PDF strings in parentheses form require the protection of some characters, e.g. unmatched left or right parentheses need -escaping or the escape character itself (backslash). Since 2006/02/12 v6.75a the PS/PDF driver +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 @@ -6853,12 +6750,9 @@ class="ec-lmvtt-10">\vpageref[]{...} On the same page a pre as unicode strings. Only if the string restricts to the printable ASCII set, it is written as ASCII string. The reason is that the \special does not support PDFDocEncoding. -

      XeTeX uses the program xdvipdfmx for PDF output generation. This program behaves a little -different from dvipdfm, because of the supported Unicode characters. Strings for bookmarks or -information entries can be output directly. The big chars (char code > 255) are written in UTF-8 and -xdvipdfmx tries to convert them to UTF-16BE. However hyperref already provides PDF strings encoded -in UTF-16BE, thus the result is a warning -

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

      The best way would be, if xdvipdfm could detect the byte order marker (\376\377) and skips the -conversion if that marker is present. -

      For the time being I added the following to hyperref, when option ‘pdfencoding=auto’ is set (default -for XeTeX): The string is converted back to big characters thus that the string is written as UTF-8. But -I am very unhappy with this solution. Main disadvantage: Two versions of \pdfstringdef are -needed: -

      a) The string is converted back to big characters for the “tainted key” of xdvipdfmx -(spc_pdfm.c: default_taintkeys). The subset hyperref uses is /Title, /Author, /Subject, -/Keywords, /Creator, /Producer, /T. Any changes of this set in xdvipdfmx cannot be detected by -hyperref. -

      b) Without conversion for the other strings , providing UTF16be directly. Examples: Prefix of page -labels, some elements of formulars. -

      Thus each application that uses \pdfstringdef now must check, if it defines a string -for some of the tained keys. If yes, then the call of \pdfstringdef should be preceded by +

      This is no longer needed with a current xdvipdfmx, so this code has been removed. \csname HyPsd@XeTeXBigCharstrue\endcsname. Example: package bookmark. -

      +class="ec-lmvtt-10"> HyPsd@XeTeXBigCharstrue\endcsname should no longer be used. +

      10 Limitations5

      10.1 Wrapped/broken link support

      -

      Only few drivers support automatically wrapped/broken links, e.g. pdftex, dvipdfm, hypertex. Other +

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

      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 (

      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 @@ -6946,17 +6820,17 @@ which \footnotemark references which \footnotetext. But that is necessary to implement hyperlinking. Thus the implementation of hyperref does not support the optional argument of \footnotemark\verb -and \footnotemark and +\footnotetext. -

      +

      11 Hints6

      11.1 Spaces in option values

      -

      Unhappily LaTeX strips spaces from options if they are given in

      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

        @@ -7024,7 +6898,7 @@ class="ec-lmvtt-10">\hyperpage command. With  
              ...  
              \index{Some example|main} -

        +

      • Scientic Word/Scientific WorkPlace users can use package robustindex with hyperindex=false.
      • @@ -7035,7 +6909,7 @@ 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, @@ -7057,12 +6931,12 @@ class="ec-lmvtt-10">\hyperpage will be defined regardless o  
        encap_suffix "}"  
        %%% cut %%% hyperindex.ist %%% cut %%% -

      -

      +

    +

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

    -

    Getting rid of it: +

    Getting rid of it:

    @@ -7070,16 +6944,16 @@ class="ec-lmvtt-10">"bookmark level for unknown <foobar> defaults  
    \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 +

    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:

    @@ -7088,14 +6962,14 @@ problem. \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}): @@ -7104,9 +6978,9 @@ class="ec-lmvtt-10">\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 +

    +

    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.) @@ -7114,9 +6988,9 @@ 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): @@ -7125,8 +6999,8 @@ numbers):     \002\047 -> \9002\047  
        \036\241 -> \9036\241 -

    -

    Optional:

    +

    Optional: 8 is used for abbreviations: @@ -7135,8 +7009,8 @@ class="ec-lmvtt-10">8 is used for abbreviations:  
     
        \9002\047 -> \82\047 -

    -

    5. Declare the character with LaTeX: +

    +

    5. Declare the character with LaTeX:

    @@ -7148,11 +7022,11 @@ class="ec-lmvtt-10">8 is used for abbreviations:  
    \end{document}  
          
    -

    -

    +

    +

    11.6 Footnotes

    -

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

    The footnote support is rather limited. It is beyond the scope to use \footnotemark and \footnotetext out of order or reusing hyperfootnotes=false or fiddle with int  
     
    \end{document} -

    +

    -

    +

    11.7 Subordinate counters

    -

    Some counters do not have unique values and require the value of other counters to be unique. For +

    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: @@ -7238,14 +7112,14 @@ class="ec-lmvtt-10">\newtheorem, problematic case:     \newtheorem{corA}{CorollaryA}[section]  
        \usepackage{hyperref} -

    Solution a) +

    Solution a)

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

    Solution b) +

    Solution b)

    @@ -7253,11 +7127,11 @@ class="ec-lmvtt-10">\newtheorem, problematic case:  
        \usepackage{hyperref}  
        \newcommand*{\theHcorA}{\theHsection.\number\value{corA}}
    -

    -

    +

    +

    12 History and acknowledgments

    -

    The original authors of

    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 -made the package more robust. The days spent on RevTEX are entirely due to him! The +

    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 @@ -7309,7 +7182,7 @@ class="ec-lmss-10">hyperref. id="x1-11000013">GNU Free Documentation License

    Version 1.2, November 2002

    Copyright © 2000,2001,2002 Free Software Foundation, Inc.
    © 2000,2001,2002 Free Software Foundation, Inc.
    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -7371,8 +7244,7 @@ discourage subsequent modification by readers is not Transparent. An image forma Transparent if used for any substantial amount of text. A copy that is not “Transparent” is called “Opaque”.

    Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo -input format, LATEX input format, SGML or XML using a publicly available DTD, and +input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML @@ -7632,7 +7504,7 @@ put the following copyright and license notices just after the title page:

    Copyright © YEAR YOUR NAME. Permission is granted to copy, distribute and/or +class="ts1-lmr10-">© 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 diff --git a/Master/texmf-dist/doc/latex/hyperref/manual.pdf b/Master/texmf-dist/doc/latex/hyperref/manual.pdf index ac426cd07d8..513e454ffd4 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/manual2.html b/Master/texmf-dist/doc/latex/hyperref/manual2.html index cfc5150328b..71af561e042 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual2.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual2.html @@ -3,8 +3,8 @@ - - + + diff --git a/Master/texmf-dist/doc/latex/hyperref/manual3.html b/Master/texmf-dist/doc/latex/hyperref/manual3.html index 3dcd508fdb0..00062b22f0a 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual3.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual3.html @@ -3,8 +3,8 @@ - - + + diff --git a/Master/texmf-dist/doc/latex/hyperref/manual4.html b/Master/texmf-dist/doc/latex/hyperref/manual4.html index 6322ca81b96..70dae2e3460 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual4.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual4.html @@ -3,8 +3,8 @@ - - + + diff --git a/Master/texmf-dist/doc/latex/hyperref/manual5.html b/Master/texmf-dist/doc/latex/hyperref/manual5.html index 9dac190d9bd..01434811f6c 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual5.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual5.html @@ -3,8 +3,8 @@ - - + + diff --git a/Master/texmf-dist/doc/latex/hyperref/manual6.html b/Master/texmf-dist/doc/latex/hyperref/manual6.html index b0bc75179cb..eba47175096 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual6.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual6.html @@ -3,8 +3,8 @@ - - + + diff --git a/Master/texmf-dist/doc/latex/hyperref/manual7.html b/Master/texmf-dist/doc/latex/hyperref/manual7.html index c891e7a0b5f..17b42e0aef3 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual7.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual7.html @@ -3,8 +3,8 @@ - - + + diff --git a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf index ef19a84606e..226cdce2dd7 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/doc/manual.tex b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex index 242388fef93..ded7aeb799a 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{\mydate} +\date{2020-05-15 v7.00e} \begin{document} @@ -747,7 +747,7 @@ pdftrapped & name & empty & Sets the document information Trapped ent pdfinfo & key value list & empty & Alternative interface for setting the document information.\\ pdfview & name & XYZ & Sets the default PDF `view' for each link \\ -pdfstartpage & integer & 1 & Determines on which page the PDF file is opened. \\ +pdfstartpage & integer & 1 & Determines on which page the PDF file is opened. An empty value means, the entry is not set.\\ pdfstartview & name & Fit & Set the startup page view \\ pdfremotestartview & name & Fit & Set the startup page view of remote PDF files \\ pdfpagescrop & n n n n & & Sets the default PDF crop box for pages. This should be a set of four numbers \\ @@ -867,7 +867,7 @@ Fly & /Di /M & Changes are flown out or in (as specified by /M), in the dir offscreen except when /Di is None. \\ Push & /Di & The old page slides off the screen while the new page slides in, pushing the old page out in the direction - specified by /Di. \\ + specified by /Di. \\ Cover & /Di & 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 specified by @@ -1245,7 +1245,7 @@ the page reference. First \ci{pageautorefname} is checked before \ci{pagename}. 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 +not to create a link, there are starred forms (these starred forms exist even if hyperref has been loaded with \verb|implicit=false|): \begin{cmdsyntax} @@ -1678,7 +1678,7 @@ sequence error would arise. \subsection{Customizing index style file with \textbackslash nohyperpage} - Since version 2008/08/14 v6.78f. + Since version 2008/08/14~v6.78f. @@ -2051,7 +2051,7 @@ sequence error would arise. 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 + 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. @@ -2979,50 +2979,20 @@ For equations the following might work: \subsubsection{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, + 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. - - - XeTeX uses the program xdvipdfmx for PDF output generation. - This program behaves a little different from dvipdfm, because - of the supported Unicode characters. Strings for bookmarks - or information entries can be output directly. The - big chars (char code > 255) are written in UTF-8 and - xdvipdfmx tries to convert them to UTF-16BE. However - hyperref already provides PDF strings encoded in UTF-16BE, - thus the result is a warning - - \verb"Failed to convert input string to UTF16..." - - The best way would be, if xdvipdfm could detect the - byte order marker (\verb|\376\377|) and skips the conversion - if that marker is present. - - For the time being I added the following to hyperref, - when option `pdfencoding=auto' is set (default for XeTeX): - The string is converted back to big characters thus that the - string is written as UTF-8. But I am very unhappy with this - solution. Main disadvantage: - Two versions of \verb|\pdfstringdef| are needed: - - a) The string is converted back to big characters for - the ``tainted key'' of xdvipdfmx (\verb|spc_pdfm.c: default_taintkeys|). - The subset hyperref uses is /Title, /Author, /Subject, - /Keywords, /Creator, /Producer, /T. Any changes of this - set in xdvipdfmx cannot be detected by hyperref. - - b) Without conversion for the other strings , providing UTF16be - directly. Examples: Prefix of page labels, some elements - of formulars. - - Thus \textbf{each} application that uses \verb|\pdfstringdef| now must - check, if it defines a string for some of the tained keys. - If yes, then the call of \verb|\pdfstringdef| should be preceded - by \verb|\csname HyPsd@XeTeXBigCharstrue\endcsname|. - Example: package bookmark. + 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 + + \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. \section[Limitations]{Limitations% @@ -3072,7 +3042,7 @@ For equations the following might work: Therefore it is not clear in general which \verb|\footnotemark| references which \verb|\footnotetext|. But that is necessary to implement hyperlinking. Thus the implementation of hyperref does not support the optional - argument of \verb|\footnotemark\verb| and \verb|\footnotetext|. + argument of \verb|\footnotemark| and \verb|\footnotetext|. \section[Hints]{Hints% diff --git a/Master/texmf-dist/source/latex/hyperref/hluatex.dtx b/Master/texmf-dist/source/latex/hyperref/hluatex.dtx index 52f1c0ebae3..17d19b77ad5 100644 --- a/Master/texmf-dist/source/latex/hyperref/hluatex.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hluatex.dtx @@ -1,13 +1,16 @@ % \iffalse -%% Source File: hluatex.dtx -%% Copyright 2016 Oberdiek Package Support Group -%% Copyright 2019 The LaTeX3 Project -%% -%% -%% Derived from hpdftex.def -%% -%% This file may be distributed under the terms of the LPPL. -%% See README for details. +% Source File: hluatex.dtx +% 2020-05-15 v7.00e +% +% Copyright +% 2016-2019 Oberdiek Package Support Group +% 2019-2020 The LaTeX3 Project +% https://github.com/latex3/hyperref/issues%% +% +% Derived from hpdftex.def +% +% This file may be distributed under the terms of the LPPL. +% See README for details. % %<*driver> \documentclass{ltxdoc} @@ -28,7 +31,8 @@ % % \begin{macrocode} %<*luatex> -%% 2019-09-17,v 6.88j force unicode encoding, see issue #101 +%% 2020-05-15 v7.00e +%% force unicode encoding, see issue #101 %% code mostly copied from hxetex.def \HyPsd@LoadUnicode \Hy@unicodetrue @@ -1364,7 +1368,6 @@ \Hy@unicodefalse \fi \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@gtemp#1% \endgroup \let#1\Hy@gtemp @@ -1720,7 +1723,6 @@ \let\partnumberline\@gobble \let\chapternumberline\@gobble \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@tempa{#2}% \HyPsd@SanitizeForOutFile\Hy@tempa \if@filesw diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 67860c979c1..aa618b1bd2b 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -50,7 +50,7 @@ %\ProvidesFile{puvnenc.def} %\ProvidesFile{puarenc.def} %\ProvidesFile{psdextra.def} -% [2020/01/14 v7.00d % +% [2020-05-15 v7.00e % % Hypertext links for LaTeX] % Dummy hyperref (SR)] % Hyperref documentation driver file] @@ -1911,7 +1911,6 @@ \HyPsd@EscapeTeX#1% \Hy@unicodefalse }{% - \HyPsd@ToBigChars#1% \HyPsd@EscapeTeX#1% }% \else @@ -1926,7 +1925,6 @@ }% \fi \fi - \HyPsd@XeTeXBigCharsfalse % \end{macrocode} % % \paragraph{User hook.} @@ -1951,82 +1949,8 @@ % \subsection{Encodings} % % \subsubsection{Xe\TeX} -% -% \begin{macrocode} -\edef\Hy@temp{\catcode0=\the\catcode0\relax} -\catcode\z@=12 % -\ifxetex - \expandafter\@firstofone -\else - \let\HyPsd@XeTeXBigCharstrue\@empty - \let\HyPsd@XeTeXBigCharsfalse\@empty - \expandafter\@gobble -\fi -{% - \newif\ifHyPsd@XeTeXBigChars - \def\HyPsd@XeTeXBigCharsfalse{% - \global\let\ifHyPsd@XeTeXBigChars\iffalse - }% - \def\HyPsd@XeTeXBigCharstrue{% - \global\let\ifHyPsd@XeTeXBigChars\iftrue - }% - \def\HyPsd@ToBigChars#1{% - \ifHyPsd@XeTeXBigChars - \EdefEscapeHex\HyPsd@UnescapedString{% - \expandafter\@gobbletwo\HyPsd@UnescapedString - }% - \begingroup - \toks@{}% - \escapechar=92\relax - \let\x\HyPsd@ToBigChar - \expandafter\HyPsd@ToBigChar\HyPsd@UnescapedString - \relax\relax\relax\relax\relax\relax\relax - \edef\x{% - \endgroup - \gdef\noexpand#1{\the\toks@}% - }% - \x - \fi - }% - \def\HyPsd@ToBigChar#1#2#3#4{% - \ifx\relax#1\relax - \let\x\relax - \else - \count@="#1#2#3#4\relax - \let\y\@empty - \lccode\z@=\count@ - \ifnum\count@=40 % ( - \let\y\@backslashchar - \else - \ifnum\count@=41 % ) - \let\y\@backslashchar - \else - \ifnum\count@=92 % backslash - \let\y\@backslashchar - \else - \ifnum\count@=10 % newline - \edef\y##1{\string\n}% - \else - \ifnum\count@=13 % carriage return - \edef\y##1{\string\r}% - \fi - \fi - \fi - \fi - \fi - \lowercase{% - \toks@\expandafter{% - \the\expandafter\toks@ - \y - ^^@% - }% - }% - \fi - \x - }% -} -\Hy@temp -% \end{macrocode} +% change 2020-05-13: the special code for XeTeX big chars has been removed as no +% longer needed. % % \subsubsection{Workaround for package linguex} % @@ -5289,7 +5213,7 @@ }% } % \end{macrocode} -% \verb|\Hy@pdfminorversion| already used elsewhere to denote \verb|\pdfminorversion| +% \verb|\Hy@pdfminorversion| already used elsewhere to denote \verb|\pdfminorversion| % or \verb|\pdfvariable majorversion}| so introduce new names here. % \begin{macrocode} \@namedef{Hy@pdfversion@1.2}{\def\Hy@pdf@majorversion{1}\def\Hy@pdf@minorversion{2}}% @@ -5312,7 +5236,7 @@ \@ifundefined{pdfminorversion}{}{% \@ifundefined{pdfmajorversion}{% \newcount\pdfmajorversion -\pdfmajorversion=1 +\pdfmajorversion=1 }{}% } \ifx\pdfmajorversion\@undefined\else @@ -6598,31 +6522,26 @@ } \define@key{Hyp}{pdftitle}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdftitle{#1}% } \define@key{Hyp}{pdfauthor}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfauthor{#1}% } \define@key{Hyp}{pdfproducer}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfproducer{#1}% } \define@key{Hyp}{pdfcreator}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfcreator{#1}% } \define@key{Hyp}{addtopdfcreator}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfcreator{\@pdfcreator, #1}% } @@ -6640,13 +6559,11 @@ } \define@key{Hyp}{pdfsubject}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfsubject{#1}% } \define@key{Hyp}{pdfkeywords}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfkeywords{#1}% } @@ -6727,7 +6644,6 @@ \def\HyInfo@tmp##1{% \kv@define@key{pdfinfo}{##1}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{####1}% \pdfstringdef\HyInfo@Value{####1}% \global\expandafter @@ -19832,7 +19748,6 @@ \Hy@unicodefalse \fi \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@gtemp#1% \endgroup \let#1\Hy@gtemp @@ -20324,7 +20239,6 @@ \let\partnumberline\@gobble \let\chapternumberline\@gobble \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@tempa{#2}% \HyPsd@SanitizeForOutFile\Hy@tempa \if@filesw diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index f1af0069261..5a732de9a03 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipdfm.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hyperref driver for dvipdfm] \Hy@VersionCheck{hdvipdfm.def} \def\Hy@PutCatalog#1{\@pdfm@mark{docview <<#1>>}} @@ -1091,7 +1091,6 @@ \Hy@unicodefalse \fi \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@gtemp#1% \endgroup \let#1\Hy@gtemp @@ -1447,7 +1446,6 @@ \let\partnumberline\@gobble \let\chapternumberline\@gobble \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@tempa{#2}% \HyPsd@SanitizeForOutFile\Hy@tempa \if@filesw diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index da9d4e3b5e9..00a48a73690 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvips.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 1148c23168d..0e38129d79e 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipson.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 533f86f8bb1..4f3877cf9dc 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdviwind.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 86bc1ee3a85..ae3b3e2f51d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hluatex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hluatex.def @@ -34,19 +34,11 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hluatex.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hyperref driver for luaTeX] \Hy@VersionCheck{hluatex.def} -%% Source File: hluatex.dtx -%% Copyright 2016 Oberdiek Package Support Group -%% Copyright 2019 The LaTeX3 Project -%% -%% -%% Derived from hpdftex.def -%% -%% This file may be distributed under the terms of the LPPL. -%% See README for details. -%% 2019-09-17,v 6.88j force unicode encoding, see issue #101 +%% 2020-05-15 v7.00e +%% force unicode encoding, see issue #101 %% code mostly copied from hxetex.def \HyPsd@LoadUnicode \Hy@unicodetrue @@ -1379,7 +1371,6 @@ \Hy@unicodefalse \fi \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@gtemp#1% \endgroup \let#1\Hy@gtemp @@ -1735,7 +1726,6 @@ \let\partnumberline\@gobble \let\chapternumberline\@gobble \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@tempa{#2}% \HyPsd@SanitizeForOutFile\Hy@tempa \if@filesw diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index a77a540e481..6ecd504a2c8 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hpdftex.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hyperref driver for pdfTeX] \Hy@VersionCheck{hpdftex.def} \pdf@ifdraftmode{% @@ -1352,7 +1352,6 @@ \Hy@unicodefalse \fi \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@gtemp#1% \endgroup \let#1\Hy@gtemp @@ -1708,7 +1707,6 @@ \let\partnumberline\@gobble \let\chapternumberline\@gobble \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@tempa{#2}% \HyPsd@SanitizeForOutFile\Hy@tempa \if@filesw diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index 58381fe55cf..c9062922bd3 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.cfg} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 8076b8c5c66..4c6ace7069b 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 f3f5a245870..a9f822ae7ba 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htexture.def +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htexture.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 11e8adf1b55..4ac9f0876fd 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtex.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hyperref driver for VTeX in PDF/PS mode] \Hy@VersionCheck{hvtex.def} \providecommand*{\XR@ext}{pdf} @@ -699,7 +699,6 @@ \let\partnumberline\@gobble \let\chapternumberline\@gobble \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@tempa{#2}% \HyPsd@SanitizeForOutFile\Hy@tempa \if@filesw diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index 14e148135be..c5780ff1fe3 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexhtml.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 89a716d95db..9da511201f4 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexmrk.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 65402ed7892..2f2487e69da 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hxetex.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hyperref driver for XeTeX] \Hy@VersionCheck{hxetex.def} \HyPsd@LoadUnicode @@ -1158,7 +1158,6 @@ \Hy@unicodefalse \fi \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@gtemp#1% \endgroup \let#1\Hy@gtemp @@ -1514,7 +1513,6 @@ \let\partnumberline\@gobble \let\chapternumberline\@gobble \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@tempa{#2}% \HyPsd@SanitizeForOutFile\Hy@tempa \if@filesw diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index 333436f3fe9..94390c4be71 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -34,7 +34,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{hyperref} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -679,7 +679,6 @@ \HyPsd@EscapeTeX#1% \Hy@unicodefalse }{% - \HyPsd@ToBigChars#1% \HyPsd@EscapeTeX#1% }% \else @@ -694,7 +693,6 @@ }% \fi \fi - \HyPsd@XeTeXBigCharsfalse \pdfstringdefPostHook#1% \endgroup } @@ -702,79 +700,6 @@ \pdfstringdef\Hy@gtemp{#2}% \let#1\Hy@gtemp } -\edef\Hy@temp{\catcode0=\the\catcode0\relax} -\catcode\z@=12 % -\ifxetex - \expandafter\@firstofone -\else - \let\HyPsd@XeTeXBigCharstrue\@empty - \let\HyPsd@XeTeXBigCharsfalse\@empty - \expandafter\@gobble -\fi -{% - \newif\ifHyPsd@XeTeXBigChars - \def\HyPsd@XeTeXBigCharsfalse{% - \global\let\ifHyPsd@XeTeXBigChars\iffalse - }% - \def\HyPsd@XeTeXBigCharstrue{% - \global\let\ifHyPsd@XeTeXBigChars\iftrue - }% - \def\HyPsd@ToBigChars#1{% - \ifHyPsd@XeTeXBigChars - \EdefEscapeHex\HyPsd@UnescapedString{% - \expandafter\@gobbletwo\HyPsd@UnescapedString - }% - \begingroup - \toks@{}% - \escapechar=92\relax - \let\x\HyPsd@ToBigChar - \expandafter\HyPsd@ToBigChar\HyPsd@UnescapedString - \relax\relax\relax\relax\relax\relax\relax - \edef\x{% - \endgroup - \gdef\noexpand#1{\the\toks@}% - }% - \x - \fi - }% - \def\HyPsd@ToBigChar#1#2#3#4{% - \ifx\relax#1\relax - \let\x\relax - \else - \count@="#1#2#3#4\relax - \let\y\@empty - \lccode\z@=\count@ - \ifnum\count@=40 % ( - \let\y\@backslashchar - \else - \ifnum\count@=41 % ) - \let\y\@backslashchar - \else - \ifnum\count@=92 % backslash - \let\y\@backslashchar - \else - \ifnum\count@=10 % newline - \edef\y##1{\string\n}% - \else - \ifnum\count@=13 % carriage return - \edef\y##1{\string\r}% - \fi - \fi - \fi - \fi - \fi - \lowercase{% - \toks@\expandafter{% - \the\expandafter\toks@ - \y - ^^@% - }% - }% - \fi - \x - }% -} -\Hy@temp \@ifpackageloaded{linguex}{% \let\HyLinguex@OrgB\b \let\HyLinguex@OrgC\c @@ -3896,31 +3821,26 @@ } \define@key{Hyp}{pdftitle}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdftitle{#1}% } \define@key{Hyp}{pdfauthor}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfauthor{#1}% } \define@key{Hyp}{pdfproducer}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfproducer{#1}% } \define@key{Hyp}{pdfcreator}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfcreator{#1}% } \define@key{Hyp}{addtopdfcreator}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfcreator{\@pdfcreator, #1}% } @@ -3938,13 +3858,11 @@ } \define@key{Hyp}{pdfsubject}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfsubject{#1}% } \define@key{Hyp}{pdfkeywords}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{#1}% \pdfstringdef\@pdfkeywords{#1}% } @@ -4025,7 +3943,6 @@ \def\HyInfo@tmp##1{% \kv@define@key{pdfinfo}{##1}{% \HyXeTeX@CheckUnicode - \HyPsd@XeTeXBigCharstrue \HyPsd@PrerenderUnicode{####1}% \pdfstringdef\HyInfo@Value{####1}% \global\expandafter diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index 1d63bdad66c..9ab2c5e0e64 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hypertex.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hyperref driver for HyperTeX specials] \Hy@VersionCheck{hypertex.def} \providecommand*{\XR@ext}{dvi} diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index 35de390e72f..d01f0805cc1 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -34,7 +34,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{nohyperref} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 7e751022bb6..105fac05d1f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pd1enc.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 8d465e25e76..4ba70e306dc 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pdfmark.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hyperref definitions for pdfmark specials] \Hy@VersionCheck{pdfmark.def} \begingroup @@ -1368,7 +1368,6 @@ \Hy@unicodefalse \fi \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@gtemp#1% \endgroup \let#1\Hy@gtemp @@ -1724,7 +1723,6 @@ \let\partnumberline\@gobble \let\chapternumberline\@gobble \fi - \HyPsd@XeTeXBigCharstrue \pdfstringdef\Hy@tempa{#2}% \HyPsd@SanitizeForOutFile\Hy@tempa \if@filesw diff --git a/Master/texmf-dist/tex/latex/hyperref/psdextra.def b/Master/texmf-dist/tex/latex/hyperref/psdextra.def index a2f2956d84f..01cb6a6f064 100644 --- a/Master/texmf-dist/tex/latex/hyperref/psdextra.def +++ b/Master/texmf-dist/tex/latex/hyperref/psdextra.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{psdextra.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 a127d3460a6..1dcabf08306 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puarenc.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 79a43228156..314a259a0fa 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puenc.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % Hyperref: PDF Unicode definition (HO)] \DeclareFontEncoding{PU}{}{} \DeclareTextCommand{\`}{PU}[1]{#1\83\000}% U+0300 diff --git a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def index da0483077ee..17264532d6f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puvnenc.def} - [2020/01/14 v7.00d % + [2020-05-15 v7.00e % 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 aeca59dd4e8..d73ba4013fa 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 package (beta release) +%% xr-hyper package (beta release) -%% Copyright (C) 1993-2019 David Carlisle +%% Copyright (C) 1993-2020 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 @@ -72,9 +72,13 @@ %% 2019/10/03 v6.1 %% Incorporate updates to xr (including citation support) %% +%% 2020-05-14 v7.00e +%% add additional braces to \r@ only if hyperref is not detected in the aux +%% of the source document (https://github.com/latex3/hyperref/issues/118) +%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xr-hyper} - [2019/10/03 v6.1 eXternal References (DPC)] + [2020-05-15 v7.00e eXternal References (DPC)] \def\externaldocument{\@testopt\XR@cite{}} \let\externalcitedocument\externaldocument @@ -118,8 +122,14 @@ \read\@inputcheck to\XR@line \expandafter\XR@test\XR@line...\XR@} % 2019 update to match xr +% 2020 don't extend r@-arguments if hyperref has been detected in the source +% newlabel has already the right number of arguments +\def\XR@HYPcompargs{{}{}{}} \long\def\XR@test#1#2#3#4\XR@{% \let\XR@tempa\@gobblethree + \ifx#1\HyperFirstAtBeginDocument + \def\XR@HYPcompargs{}% + \fi \ifx#1\newlabel \let\XR@tempa\@firstofthree \else\ifx#1\XR@bibcite @@ -128,7 +138,7 @@ \let\XR@tempa\@thirdofthree \fi\fi\fi \XR@tempa - {\expandafter\protected@xdef\csname r@\XR@prefix#2\endcsname{\XR@addURL{#3}{}{}{}}}% + {\expandafter\protected@xdef\csname r@\XR@prefix#2\endcsname{\XR@addURL{#3}\XR@HYPcompargs}}% {\expandafter\bibcite\expandafter{\XR@prefix#2}{#3}}% {\edef\XR@list{\XR@list\filename@area#2\relax}}% \ifeof\@inputcheck\expandafter\XR@aux @@ -157,6 +167,4 @@ \endinput %% -%% End of file `xr.sty'. - - +%% End of file `xr-hyper.sty'. -- cgit v1.2.3