diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 56 |
1 files changed, 51 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 61235188c09..6788c4ce40e 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -22,7 +22,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipdfm.def} - [2007/01/25 v6.75q + [2007/02/07 v6.75r Hyperref driver for dvipdfm] \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} \ifHy@pagelabels @@ -109,12 +109,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}% |