diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-22 23:31:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-22 23:31:23 +0000 |
commit | 622005e9185eeecc5da1c72db4955286cd45be37 (patch) | |
tree | 660c0cbc7552db6b7631d5bd1911a280cb489181 /Master/texmf-dist/source/latex/hyperref | |
parent | 5dca90feac7d290bffebe030529965234ae8b85c (diff) |
hyperref
git-svn-id: svn://tug.org/texlive/trunk@26094 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref')
4 files changed, 71 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex index 99238fec3c2..9e756a17060 100644 --- a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex +++ b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex @@ -11,10 +11,10 @@ % % Manual updates: % * Steve Peter and Karl Berry, 7/03. -% * Heiko Oberdiek, 2006-2011. +% * Heiko Oberdiek, 2006-2012. % -\def\mydate{October 2011} +\def\mydate{April 2012} \RequirePackage{ifpdf} \ifpdf % We are running pdfTeX in pdf mode @@ -714,8 +714,6 @@ hypertex & & use \textsf{Hyper\TeX} backend \\ hypertexnames & \textit{true} & use guessable names for links \\ implicit & \textit{true} & redefine \LaTeX\ internals \\ latex2html & & use \textsf{\LaTeX2HTML} backend \\ -legalpaper & & use legalpaper \\ -letterpaper & & use letterpaper \\ linkbordercolor & \textit{1 0 0} & color of border around links \\ linkcolor & \textit{red} & color of links \\ linktocpage & \textit{false} & make page number, not text, be link on TOC, LOF and LOT \\ diff --git a/Master/texmf-dist/source/latex/hyperref/doc/options.tex b/Master/texmf-dist/source/latex/hyperref/doc/options.tex index 04dda27c80f..07523858fa2 100644 --- a/Master/texmf-dist/source/latex/hyperref/doc/options.tex +++ b/Master/texmf-dist/source/latex/hyperref/doc/options.tex @@ -61,8 +61,6 @@ hypertex &use HyperTeX backend\\ hypertexnames &use guessable names for links&true\\ implicit &redefine \LaTeX\ internals&true\\ latex2html &use \LaTeX2HTML backend\\ -legalpaper &use legalpaper\\ -letterpaper &use letterpaper\\ linkbordercolor &color of border around links& 1 0 0\\ linkcolor &color of links&red\\ linktocpage &make page number, not text, be link on TOC, LOF and LOT&false\\ diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index d037b5521d6..1b8912eb6ed 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -44,7 +44,7 @@ %<puenc>\ProvidesFile{puenc.def} %<puvnenc>\ProvidesFile{puvnenc.def} %<puarenc>\ProvidesFile{puarenc.def} -%<!none> [2012/02/06 v6.82o % +%<!none> [2012/02/28 v6.82p % %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -113,7 +113,7 @@ \title{Hypertext marks in \LaTeX}% \author{Sebastian Rahtz\\% Email: \texttt{sebastian.rahtz at oucs.ox.ac.uk}\\[1.5ex]% - Heiko Oberdiek\\% + Heiko Oberdiek (maintainer)\\% Email: \texttt{heiko.oberdiek at googlemail.com}}% % \date{processed \today}% \date{\filedate\space\fileversion}% @@ -145,7 +145,7 @@ \end{document} %</driver> % \fi -% \CheckSum{28711} +% \CheckSum{28743} % % \MakeShortVerb{|} % \StopEventually{} @@ -6148,6 +6148,22 @@ \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 @@ -13337,6 +13353,7 @@ \def\Acrobatmenu#1#2{% \Hy@Acrobatmenu{#1}{#2}{% \leavevmode + \EdefEscapeName\Hy@temp@menu{#1}% \pdfstartlink attr{% \Hy@setpdfborder @@ -13354,7 +13371,7 @@ \ifHy@pdfa /F 4\fi /A<<% /S/Named% - /N/#1% + /N/\Hy@temp@menu \Hy@href@nextactionraw >>% }% @@ -14193,21 +14210,22 @@ \def\Acrobatmenu#1#2{% \Hy@Acrobatmenu{#1}{#2}{% \Hy@BeginAnnot{% + \EdefEscapeName\Hy@temp@menu{#1}% \@pdfm@mark{% bann<<% /Type/Annot% /Subtype/Link% \ifHy@pdfa /F 4\fi - /A<<% - /S/Named% - /N/#1% - \Hy@href@nextactionraw - >>% \Hy@setpdfborder \ifx\@menubordercolor\relax - \relax + \else /C[\@menubordercolor]% \fi + /A<<% + /S/Named% + /N/\Hy@temp@menu + \Hy@href@nextactionraw + >>% >>% }% \Hy@colorlink\@menucolor @@ -14778,9 +14796,10 @@ \special{!endaref}% } \def\Acrobatmenu#1#2{% + \EdefEscapeName\Hy@temp@menu{#1}% \Hy@Acrobatmenu{#1}{#2}{% \special{!% - aref <u=/S /Named /N /#1>;% + aref <u=/S /Named /N /\Hy@temp@menu>;% a=<% \ifHy@pdfa /F 4\fi \Hy@setpdfborder @@ -15159,6 +15178,18 @@ \fi }% \HyInfo@AddonUnsupportedtrue +\define@key{Hyp}{pdfcreationdate}{% + \Hy@Warning{% + VTeX does not support pdfcreationdate.\MessageBreak + Therefore its setting is ignored% + }% +} +\define@key{Hyp}{pdfmoddate}{% + \Hy@Warning{% + VTeX does not support pdfmoddate.\MessageBreak + Therefore its setting is ignored% + }% +} \def\PDF@FinishDoc{% \Hy@UseMaketitleInfos \HyInfo@TrappedUnsupported @@ -15909,6 +15940,7 @@ %</pdfmarkbase> %<*pdfmark> \def\Acrobatmenu#1#2{% + \EdefEscapeName\Hy@temp@menu{#1}% \Hy@Acrobatmenu{#1}{#2}{% \pdfmark[{#2}]{% linktype=menu,% @@ -15916,7 +15948,8 @@ AcroHighlight=\@pdfhighlight,% Border=\@pdfborder,% BorderStyle=\@pdfborderstyle,% - Action={<< /Subtype /Named /N /#1 >>},% + Color=\@menubordercolor,% + Action={<</Subtype/Named/N/\Hy@temp@menu>>},% Subtype=/Link,% PDFAFlags=4% }% diff --git a/Master/texmf-dist/source/latex/hyperref/test/testinfo.tex b/Master/texmf-dist/source/latex/hyperref/test/testinfo.tex new file mode 100644 index 00000000000..d8f04f80dd3 --- /dev/null +++ b/Master/texmf-dist/source/latex/hyperref/test/testinfo.tex @@ -0,0 +1,24 @@ +\nofiles +\documentclass{article} +\ifx\driver\UnDeFiNeD + \usepackage[pdfpagelabels=false]{hyperref}% +\else + \expandafter\usepackage\expandafter[% + \driver,pdfpagelabels=false% + ]{hyperref}% +\fi +\hypersetup{% + pdftitle={MyTitle},% + pdfsubject={MySubject},% + pdfauthor={MyAuthor},% + pdfkeywords={MyKeywords},% + pdfcreator={MyCreator},% + pdfproducer={MyProducer},% + pdfcreationdate={D:20050505050505Z},% + pdfmoddate={D:20101010101010Z},% + pdfinfo={MyKey=MyValue},% +} + +\begin{document} +\shipout\null +\end{document} |