summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hyperref/hyperref.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-05-17 03:03:04 +0000
committerNorbert Preining <norbert@preining.info>2020-05-17 03:03:04 +0000
commit71e57b1c98740d1fbb24981d390bd3ec8f2e967b (patch)
treece0ab513391ee2d3f5710e630882cf50c3ff51dd /macros/latex/contrib/hyperref/hyperref.dtx
parent186d7c0795fc4ffce06bc897006e6aad0417cb83 (diff)
CTAN sync 202005170303
Diffstat (limited to 'macros/latex/contrib/hyperref/hyperref.dtx')
-rw-r--r--macros/latex/contrib/hyperref/hyperref.dtx96
1 files changed, 5 insertions, 91 deletions
diff --git a/macros/latex/contrib/hyperref/hyperref.dtx b/macros/latex/contrib/hyperref/hyperref.dtx
index 67860c979c..aa618b1bd2 100644
--- a/macros/latex/contrib/hyperref/hyperref.dtx
+++ b/macros/latex/contrib/hyperref/hyperref.dtx
@@ -50,7 +50,7 @@
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
%<psdextra>\ProvidesFile{psdextra.def}
-%<!none> [2020/01/14 v7.00d %
+%<!none> [2020-05-15 v7.00e %
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> 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