diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdviwind.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 66 |
1 files changed, 38 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index 41e6f5740c6..408bbd53ac9 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -22,7 +22,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdviwind.def} - [2007/02/27 v6.75t + [2007/05/29 v6.76g Hyperref driver for dviwindo] \def\Hy@PutCatalog#1{% \pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} << #1 >>}}% @@ -31,13 +31,13 @@ \def\HyPL@StorePageLabel#1{% \if@filesw \begingroup - \edef\Hy@tempa{\the\Hy@abspage\space<< #1 >> }% + \edef\Hy@tempa{\the\Hy@abspage<<#1>>}% \immediate\write\@mainaux{% \string\HyPL@Entry{\Hy@tempa}% }% \endgroup \fi - } + }% \AfterBeginDocument{% \if@filesw \immediate\write\@mainaux{% @@ -56,7 +56,7 @@ \HyPL@Labels #1% }% - } + }% \fi \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname pdfescapestring\endcsname\relax @@ -73,7 +73,7 @@ }% |def|Hy@ExchangeBackslash#1\#2|@nil{% #1% - |ifx|\#2|\% + |ifx|\#2|\%% |else \\% |Hy@ReturnAfterFi{% @@ -81,7 +81,7 @@ }% |fi }% - } + }% \def\Hy@ExchangeLeftParenthesis#1(#2\@nil{% #1% \ifx\\#2\\% @@ -91,7 +91,7 @@ \Hy@ExchangeLeftParenthesis#2\@nil }% \fi - } + }% \def\Hy@ExchangeRightParenthesis#1)#2\@nil{% #1% \ifx\\#2\\% @@ -101,7 +101,7 @@ \Hy@ExchangeRightParenthesis#2\@nil }% \fi - } + }% \else \def\Hy@pstringdef#1#2{% \edef#1{\pdfescapestring{#2}}% @@ -130,8 +130,8 @@ } \def\hyper@linkstart#1#2{% \expandafter\Hy@colorlink\csname @#1color\endcsname - \special{button: - 10000000 + \special{button: % + 10000000 % \number\baselineskip\space #2% }% @@ -145,7 +145,7 @@ \ifHy@raiselinks \@linkdim\dp\@tempboxa \lower\@linkdim\hbox{% - \special{button: + \special{button: % \number\wd\@tempboxa\space \number\ht\@tempboxa\space #2% @@ -157,7 +157,7 @@ \advance\@linkdim by -6.5\p@ \raise\@linkdim\hbox{}% \else - \special{button: + \special{button: % \number\wd\@tempboxa\space \number\ht\@tempboxa\space #2% @@ -173,7 +173,7 @@ \ifHy@raiselinks \@linkdim\dp\@tempboxa \lower\@linkdim\hbox{% - \special{button: + \special{button: % \number\wd\@tempboxa\space \number\ht\@tempboxa\space launch: \wwwbrowser\space @@ -185,7 +185,7 @@ \advance\@linkdim by -6.5\p@ \raise\@linkdim\hbox{}% \else - \special{button: + \special{button: % \number\wd\@tempboxa\space \number\ht\@tempboxa\space launch: \wwwbrowser\space @@ -203,10 +203,10 @@ \ifHy@raiselinks \@linkdim\dp\@tempboxa \lower\@linkdim\hbox{% - \special{button: + \special{button: % \number\wd\@tempboxa\space \number\ht\@tempboxa\space - #3, + #3,% file: #2% }% \Hy@colorlink\@filecolor#1\Hy@endcolorlink @@ -215,18 +215,18 @@ \advance\@linkdim by -6.5\p@ \raise\@linkdim\hbox{}% \else - \special{button: + \special{button: % \number\wd\@tempboxa\space \number\ht\@tempboxa\space - #3, - file: #2 + #3,% + file: #2% }% \Hy@colorlink\@filecolor#1\Hy@endcolorlink \fi \endgroup } \ifx\@pdfproducer\relax - \def\@pdfproducer{dviwindo + Distiller} + \def\@pdfproducer{dviwindo + Distiller}% \fi \def\PDF@FinishDoc{% \Hy@UseMaketitleInfos @@ -264,9 +264,9 @@ \ifx\@pdfpagescrop\@empty\else \special{PDF: BBox \@pdfpagescrop}% \fi - \pdfmark{pdfmark=/DOCVIEW, - Page=\@pdfstartpage, - View=\@pdfstartview, + \pdfmark{pdfmark=/DOCVIEW,% + Page=\@pdfstartpage,% + View=\@pdfstartview,% PageMode=/\@pdfpagemode }% \ifx\@pdfpagescrop\@empty @@ -301,9 +301,9 @@ /NumCopies \@pdfnumcopies \fi }% - \pdfmark{pdfmark=/PUT, + \pdfmark{pdfmark=/PUT,% Raw={% - \string{Catalog\string} << + \string{Catalog\string}<<% \ifx\Hy@temp\@empty \else /ViewerPreferences<<\Hy@temp>>% @@ -382,6 +382,7 @@ \newsavebox{\pdf@box} \providecommand*{\Hy@setouterhbox}{\sbox} \providecommand*{\Hy@breaklinksunhbox}{\unhbox} +\def\Hy@DEST{/DEST} \def\pdf@rect#1{% \leavevmode \ifHy@breaklinks @@ -406,7 +407,10 @@ \else \raise\dimen@\hbox{\literalps@out{H.R}}% \fi - \pdf@addtoksx{H.B}% + \ifx\pdf@type\Hy@DEST + \else + \pdf@addtoksx{H.B}% + \fi } \newtoks\pdf@toks \newtoks\pdf@defaulttoks @@ -431,9 +435,10 @@ \edef\Hy@temp{#1}% \ifx\Hy@temp\@empty \else - \pdf@addtoks{[#1]}{Border}% + \pdf@addtoks{[#1]\Hy@BorderArrayPatch}{Border}% \fi } +\let\Hy@BorderArrayPatch\@empty \define@key{PDF}{BorderStyle}{% \edef\Hy@temp{#1}% \ifx\Hy@temp\@empty @@ -441,7 +446,12 @@ \pdf@addtoks{<<#1>>}{BS}% \fi } -\define@key{PDF}{Color}{\pdf@addtoks{[#1]}{Color}} +\define@key{PDF}{Color}{% + \ifx\relax#1\relax + \else + \pdf@addtoks{[#1]}{Color}% + \fi +} \define@key{PDF}{Contents}{\pdf@addtoks{(#1)}{Contents}} \define@key{PDF}{Count}{\pdf@addtoks{#1}{Count}} \define@key{PDF}{CropBox}{\pdf@addtoks{[#1]}{CropBox}} |