summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-01 22:48:59 +0000
committerKarl Berry <karl@freefriends.org>2018-12-01 22:48:59 +0000
commit023a233b9dc96748a3e537d5c05ff278f707213a (patch)
tree0375ab59e7c0c7813974e174cf90d47526e827d2 /Master/texmf-dist/source/latex/hyperref/hyperref.dtx
parentfc3da097573ddf3cfa4cdd34e2e9220419a020c5 (diff)
hyperref (1dec18)
git-svn-id: svn://tug.org/texlive/trunk@49299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref/hyperref.dtx')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx37
1 files changed, 15 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index 7749997cc0b..083c731f4d5 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -48,7 +48,7 @@
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
%<psdextra>\ProvidesFile{psdextra.def}
-%<!none> [2018/09/30 v6.88a %
+%<!none> [2018/11/30 v6.88e %
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -6581,22 +6581,6 @@
\HyPsd@XeTeXBigCharstrue
\HyPsd@PrerenderUnicode{#1}%
\pdfstringdef\@pdfproducer{#1}%
- \ifxetex
- \Hy@Warning{%
- pdfproducer: %
- xdvipdfmx will use its own setting\MessageBreak
- instead of the value given%
- }%
- \else
- \def\Hy@temp{hdvipdfm}%
- \ifx\Hy@driver\Hy@temp
- \Hy@Warning{%
- pdfproducer: %
- dvipdfm(x) will use its own setting\MessageBreak
- instead of the value given%
- }%
- \fi
- \fi
}
\define@key{Hyp}{pdfcreator}{%
\HyXeTeX@CheckUnicode
@@ -10528,6 +10512,15 @@
\fi
}
\let\HyXeTeX@CheckUnicode\relax
+% \end{macrocode}
+% Since 2016 (x)dvipdfmx has a special to control the spacing of annotation borders.
+% So let's make use of it:
+% \begin{macrocode}
+\def\setpdflinkmargin#1{%
+ \begingroup
+ \setlength{\dimen@}{#1}%
+ \special{dvipdfmx:config g \strip@pt\dimen@}%
+ \endgroup}
%</xetex>
% \end{macrocode}
%
@@ -11612,13 +11605,13 @@
{%
\expandafter\hyper@@anchor\expandafter{%
\Hy@footnote@currentHref
- }{#1}%
+ }{\ignorespaces #1}%
}{%
\Hy@raisedlink{%
\expandafter\hyper@@anchor\expandafter{%
\Hy@footnote@currentHref
}{\relax}%
- }#1%
+ }\ignorespaces #1%
}%
}%
}%
@@ -11632,7 +11625,7 @@
{%
\expandafter\hyper@@anchor\expandafter{%
\Hy@footnote@currentHref
- }{#1}%
+ }{\ignorespaces #1}%
}{%
\Hy@raisedlink{%
\expandafter\hyper@@anchor\expandafter{%
@@ -11641,7 +11634,7 @@
}%
\let\@currentHref\Hy@footnote@currentHref
\let\@currentlabelname\@empty
- #1%
+ \ignorespaces #1%
}%
}%
}%
@@ -14084,7 +14077,7 @@
\advance\count@ by \luatexversion
\edef\x{\endgroup
\def\noexpand\@pdfproducer{%
- LuaTeX-\x.\the\count@.\luatexrevision
+ LuaTeX-\x.\two@digits\count@.\luatexrevision
}%
}%
\x