From 023a233b9dc96748a3e537d5c05ff278f707213a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 1 Dec 2018 22:48:59 +0000 Subject: hyperref (1dec18) git-svn-id: svn://tug.org/texlive/trunk@49299 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/hyperref/bmhydoc.sty | 4 +-- .../source/latex/hyperref/doc/manual.tex | 14 +++++--- .../texmf-dist/source/latex/hyperref/hluatex.dtx | 2 +- .../texmf-dist/source/latex/hyperref/hyperref.dtx | 37 +++++++++------------- 4 files changed, 28 insertions(+), 29 deletions(-) (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/hyperref/bmhydoc.sty b/Master/texmf-dist/source/latex/hyperref/bmhydoc.sty index b9946eb2173..b77938943aa 100644 --- a/Master/texmf-dist/source/latex/hyperref/bmhydoc.sty +++ b/Master/texmf-dist/source/latex/hyperref/bmhydoc.sty @@ -43,8 +43,8 @@ } \AtEndDocument{% \@bmhydoc[open=false]{0}{manual.pdf}{Hyperref manual} - \@bmhydoc{1}{README.pdf}{README} - \@bmhydoc{1}{ChangeLog.pdf}{ChangeLog} +% \@bmhydoc{1}{README.pdf}{README} +% \@bmhydoc{1}{ChangeLog.pdf}{ChangeLog} \@bmhydoc{1}{options.pdf}{Options} \@bmhydoc{1}{slides.pdf}{Bookmark talk, slides} \@bmhydoc{2}{paper.pdf}{Bookmark talk, paper} diff --git a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex index 442fe8b0713..86edbce1b2f 100644 --- a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex +++ b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex @@ -985,7 +985,7 @@ following low-level user macros are provided: \noindent The \emph{text} is made a hyperlink to the \emph{URL}; this must be a full URL (relative to the base URL, if that is defined). The special characters \# and \~{} do \emph{not} need to be escaped in any -way. +way (unless the command is used in the argument of another command). The optional argument \emph{options} recognizes the hyperref options \texttt{pdfremotestartview}, \texttt{pdfnewwindow} and the following @@ -993,10 +993,10 @@ key value options: \begin{description} \item[\texttt{page}:] Specifies the start page number of remote PDF documents. First page is \verb|1|. -\item[\texttt{ismap}:] Boolean key, if set to |true|, the +\item[\texttt{ismap}:] Boolean key, if set to \verb|true|, the URL should appended by the coordinates as query parameters by the PDF viewer. -\item[\texttt{nextactionraw}:] The value of key |/Next| of +\item[\texttt{nextactionraw}:] The value of key \verb|/Next| of action dictionaries, see PDF specification. \end{description} @@ -1398,6 +1398,12 @@ sequence error would arise. \item Settings have global effect. \end{itemize} +\item[xetex] +\begin{itemize} + \item Settings must be done in the preamble or the first page and then have global effect. + The key inserts the new (x)dvipdfmx special \verb|\special{dvipdfmx:config g #1}| (with the unit removed). +\end{itemize} + \item[Other drivers] Unsupported. \end{description} @@ -3030,7 +3036,7 @@ For equations the following might work: \begin{verbatim} \usepackage[pdfborder={0 0 1}]{hyperref} \end{verbatim} - Some options can also be given in \begin{verbatim}\hypersetup| + Some options can also be given in \verb|\hypersetup| \begin{verbatim} \hypersetup{pdfborder=0 0 1} \end{verbatim} diff --git a/Master/texmf-dist/source/latex/hyperref/hluatex.dtx b/Master/texmf-dist/source/latex/hyperref/hluatex.dtx index 3dd275756fa..ae8ff4e4ace 100644 --- a/Master/texmf-dist/source/latex/hyperref/hluatex.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hluatex.dtx @@ -537,7 +537,7 @@ \advance\count@ by \luatexversion \edef\x{\endgroup \def\noexpand\@pdfproducer{% - LuaTeX-\x.\the\count@.\luatexrevision + LuaTeX-\x.\two@digits\count@.\luatexrevision }% }% \x 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 @@ %\ProvidesFile{puvnenc.def} %\ProvidesFile{puarenc.def} %\ProvidesFile{psdextra.def} -% [2018/09/30 v6.88a % +% [2018/11/30 v6.88e % % Hypertext links for LaTeX] % Dummy hyperref (SR)] % 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} % % \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 -- cgit v1.2.3