diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref/hyperref.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 146 |
1 files changed, 96 insertions, 50 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 7aab98121d9..856cda98c23 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -39,7 +39,7 @@ %<puenc>\ProvidesFile{puenc.def} %<puvnenc>\ProvidesFile{puvnenc.def} %<puarenc>\ProvidesFile{puarenc.def} -%<!none> [2007/01/25 v6.75q +%<!none> [2007/02/07 v6.75r %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -116,7 +116,7 @@ \end{document} %</driver> % \fi -% \CheckSum{19782} +% \CheckSum{19864} % % \MakeShortVerb{|} % \StopEventually{} @@ -3654,7 +3654,7 @@ \define@key{Hyp}{ps2pdf}[true]{% \def\Hy@driver{hdvips}% \def\Hy@raisedlink{}% - \providecommand\@pdfborder{0 0 1}% + \providecommand*\@pdfborder{0 0 1}% } % \end{macrocode} % @@ -4812,7 +4812,7 @@ \fi } \endgroup -\providecommand\hyper@chars{% +\providecommand*\hyper@chars{% \let\#\hyper@hash \let\%\@percentchar } @@ -7467,9 +7467,9 @@ % early, if lots of float pages will follow. % Therefore currently nothing is done by hyperref. % \begin{macrocode} -\providecommand\hyper@pagetransition{} -\providecommand\hyper@pageduration{} -\providecommand\hyper@pagehidden{} +\providecommand*\hyper@pagetransition{} +\providecommand*\hyper@pageduration{} +\providecommand*\hyper@pagehidden{} % \end{macrocode} % % This where we supply a destination for each page. Test to see @@ -8241,25 +8241,25 @@ % % Defaults for the names that \cmd{\autoref} uses. % \begin{macrocode} -\providecommand\AMSautorefname{\equationautorefname} -\providecommand\Hfootnoteautorefname{\footnoteautorefname} -\providecommand\Itemautorefname{\itemautorefname} -\providecommand\itemautorefname{item} -\providecommand\equationautorefname{Equation} -\providecommand\footnoteautorefname{footnote} -\providecommand\itemautorefname{item} -\providecommand\figureautorefname{Figure} -\providecommand\tableautorefname{Table} -\providecommand\partautorefname{Part} -\providecommand\appendixautorefname{Appendix} -\providecommand\chapterautorefname{chapter} -\providecommand\sectionautorefname{section} -\providecommand\subsectionautorefname{subsection} -\providecommand\subsubsectionautorefname{subsubsection} -\providecommand\paragraphautorefname{paragraph} -\providecommand\subparagraphautorefname{subparagraph} -\providecommand\FancyVerbLineautorefname{line} -\providecommand\theoremautorefname{Theorem} +\providecommand*\AMSautorefname{\equationautorefname} +\providecommand*\Hfootnoteautorefname{\footnoteautorefname} +\providecommand*\Itemautorefname{\itemautorefname} +\providecommand*\itemautorefname{item} +\providecommand*\equationautorefname{Equation} +\providecommand*\footnoteautorefname{footnote} +\providecommand*\itemautorefname{item} +\providecommand*\figureautorefname{Figure} +\providecommand*\tableautorefname{Table} +\providecommand*\partautorefname{Part} +\providecommand*\appendixautorefname{Appendix} +\providecommand*\chapterautorefname{chapter} +\providecommand*\sectionautorefname{section} +\providecommand*\subsectionautorefname{subsection} +\providecommand*\subsubsectionautorefname{subsubsection} +\providecommand*\paragraphautorefname{paragraph} +\providecommand*\subparagraphautorefname{subparagraph} +\providecommand*\FancyVerbLineautorefname{line} +\providecommand*\theoremautorefname{Theorem} % \end{macrocode} % % \begin{macrocode} @@ -8361,7 +8361,7 @@ % \end{macrocode} % First set up the default linking % \begin{macrocode} -\providecommand\@pdfview{XYZ} +\providecommand*\@pdfview{XYZ} % \end{macrocode} % First define the anchors: % \begin{macrocode} @@ -8392,7 +8392,7 @@ % to PDF code, so consult the manual for how to change this. We will % add an interface at some point. % \begin{macrocode} -\providecommand\@pdfborder{0 0 1} +\providecommand*\@pdfborder{0 0 1} \providecommand*\@pdfborderstyle{} \def\Hy@undefinedname{UNDEFINED} \def\find@pdflink#1#2{% @@ -9055,7 +9055,7 @@ % specified separately in which case a fixed size area % of 10000000sp wide by |\baselineskip| high is used. % \begin{macrocode} -\providecommand\wwwbrowser{c:\string\netscape\string\netscape} +\providecommand*\wwwbrowser{c:\string\netscape\string\netscape} \def\hyper@anchor#1{% \Hy@SaveLastskip \begingroup @@ -9275,12 +9275,58 @@ \def\@pdfm@mark#1{\special{pdf:#1}} \def\@pdfm@dest#1{% \Hy@SaveLastskip - \Hy@pstringdef\Hy@pstringDest{#1}% - \@pdfm@mark{dest (\Hy@pstringDest) [@thispage /\@pdfview\space @xpos @ypos]}% + \begingroup + \Hy@pstringdef\Hy@pstringDest{#1}% + \def\x{XYZ}% + \ifx\x\@pdfview + \def\x{XYZ @xpos @ypos null}% + \else + \def\x{FitH}% + \ifx\x\@pdfview + \def\x{FitH @ypos}% + \else + \def\x{FitBH}% + \ifx\x\@pdfview + \def\x{FitBH @ypos}% + \else + \def\x{FitV}% + \ifx\x\@pdfview + \def\x{FitV @xpos}% + \else + \def\x{FitBV}% + \ifx\x\@pdfview + \def\x{FitBV @xpos}% + \else + \def\x{Fit}% + \ifx\x\@pdfview + \let\x\@pdfview + \else + \def\x{FitB}% + \ifx\x\@pdfview + \let\x\@pdfview + \else + \def\x{FitR}% + \ifx\x\@pdfview + \Hy@Warning{`pdfview=FitR' is not supported}% + \def\x{XYZ @xpos @ypos null}% + \else + \@onelevel@sanitize\@pdfview + \Hy@Warning{Unknown value `\@pdfview' for pdfview}% + \def\x{XYZ @xpos @ypos null}% + \fi + \fi + \fi + \fi + \fi + \fi + \fi + \fi + \@pdfm@mark{dest (\Hy@pstringDest) [@thispage /\x]}% + \endgroup \Hy@RestoreLastskip } -\providecommand\@pdfview{XYZ} -\providecommand\@pdfborder{0 0 1} +\providecommand*\@pdfview{XYZ} +\providecommand*\@pdfborder{0 0 1} \providecommand*\@pdfborderstyle{} \def\hyper@anchor#1{% \@pdfm@dest{#1}% @@ -9641,8 +9687,8 @@ % \end{macrocode} % Older versions of VTeX require |xyz| in lower case. % \begin{macrocode} -\providecommand\@pdfview{xyz} -\providecommand\@pdfborder{0 0 1} +\providecommand*\@pdfview{xyz} +\providecommand*\@pdfborder{0 0 1} \providecommand*\@pdfborderstyle{} \def\CurrentBorderColor{\@linkbordercolor} \def\hyper@anchor#1{% @@ -10558,8 +10604,8 @@ % \end{quote} % \begin{macrocode} \newsavebox{\pdf@box} -\providecommand{\Hy@setouterhbox}{\sbox} -\providecommand{\Hy@breaklinksunhbox}{\unhbox} +\providecommand*{\Hy@setouterhbox}{\sbox} +\providecommand*{\Hy@breaklinksunhbox}{\unhbox} \def\pdf@rect#1{% %<dvipdf> \literalps@out{/ANN \pdf@type\space\the\pdf@toks\space <<}#1% \leavevmode @@ -10955,10 +11001,10 @@ \fi \def\literalps@out#1{\special{ps:SDict begin #1 end}}% \def\headerps@out#1{\special{! #1}}% -\providecommand\@pdfborder{0 0 12} +\providecommand*\@pdfborder{0 0 12} \providecommand*\@pdfborderstyle{} -\providecommand\@pdfview{XYZ} -\providecommand\@pdfviewparams{ H.V} +\providecommand*\@pdfview{XYZ} +\providecommand*\@pdfviewparams{ H.V} % \end{macrocode} % % \begin{macrocode} @@ -11082,10 +11128,10 @@ \fi \def\literalps@out#1{\special{pS:#1}}% \def\headerps@out#1{\immediate\special{pS:#1}}% -\providecommand\@pdfborder{0 0 1} +\providecommand*\@pdfborder{0 0 1} \providecommand*\@pdfborderstyle{} -\providecommand\@pdfview{XYZ} -\providecommand\@pdfviewparams{ H.V} +\providecommand*\@pdfview{XYZ} +\providecommand*\@pdfviewparams{ H.V} % \end{macrocode} % % \begin{macrocode} @@ -11261,10 +11307,10 @@ \ifx\@pdfproducer\relax \def\@pdfproducer{Textures + Distiller}% \fi -\providecommand\@pdfborder{0 0 1} +\providecommand*\@pdfborder{0 0 1} \providecommand*\@pdfborderstyle{} -\providecommand\@pdfview{XYZ} -\providecommand\@pdfviewparams{ H.V} +\providecommand*\@pdfview{XYZ} +\providecommand*\@pdfviewparams{ H.V} % % \end{macrocode} % These are called at the start and end of unboxed links; @@ -11422,7 +11468,7 @@ % Over-ride the default setup macro in pdfmark driver to use Y\&Y % |\special| commands. %<*dvipsone> -\providecommand\@pdfborder{0 0 65781} +\providecommand*\@pdfborder{0 0 65781} \providecommand*\@pdfborderstyle{} \input{pdfmark.def}% \ifx\@pdfproducer\relax @@ -11519,8 +11565,8 @@ }% }% } -\providecommand\@pdfview{XYZ} -\providecommand\@pdfviewparams{ % +\providecommand*\@pdfview{XYZ} +\providecommand*\@pdfviewparams{ % gsave revscl currentpoint grestore 72 add exch pop null exch null } @@ -11583,7 +11629,7 @@ %</dvipsone> %<*dvipdf> \def\literalps@out#1{\special{pdf: #1}}% -\providecommand\@pdfborder{0 0 1} +\providecommand*\@pdfborder{0 0 1} \providecommand*\@pdfborderstyle{} %</dvipdf> % \end{macrocode} |