diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hvtex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hvtex.def | 76 |
1 files changed, 53 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def index dd598129ca0..6db9a1e1513 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtex.def} - [2007/10/30 v6.77b + [2007/11/12 v6.77e Hyperref driver for VTeX in PDF/PS mode] \edef\Hy@VTeXversion{% \ifx\VTeXversion\@undefined @@ -70,8 +70,9 @@ \AtEndDocument{\clearpage\HyPL@SetPageLabels}% }% \fi +\RequirePackage{pdftexcmds}[2007/11/11] \begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdfescapestring\endcsname\relax +\expandafter\ifx\csname pdf@escapestring\endcsname\relax \begingroup \catcode`\|=0 % \@makeother\\% @@ -116,7 +117,7 @@ }% \else \def\Hy@pstringdef#1#2{% - \edef#1{\pdfescapestring{#2}}% + \edef#1{\pdf@escapestring{#2}}% }% \fi \ifx\mediaheight\@undefined @@ -395,18 +396,26 @@ \if S\hvtex@trans@code \edef\vtex@trans@special{\hvtex@trans@code \hvtex@param@dimension\hvtex@param@motion}% - \else \if B\hvtex@trans@code - \edef\vtex@trans@special{\hvtex@trans@code\hvtex@param@dimension}% - \else \if X\hvtex@trans@code - \edef\vtex@trans@special{\hvtex@trans@code\hvtex@param@motion}% - \else \if W\hvtex@trans@code - \edef\vtex@trans@special{\hvtex@trans@code\hvtex@param@direction}% - \else \if D\hvtex@trans@code + \else\if B\hvtex@trans@code + \edef\vtex@trans@special{% + \hvtex@trans@code\hvtex@param@dimension + }% + \else\if X\hvtex@trans@code + \edef\vtex@trans@special{% + \hvtex@trans@code\hvtex@param@motion + }% + \else\if W\hvtex@trans@code + \edef\vtex@trans@special{% + \hvtex@trans@code\hvtex@param@direction + }% + \else\if D\hvtex@trans@code \let\vtex@trans@special\hvtex@trans@code - \else \if R\hvtex@trans@code + \else\if R\hvtex@trans@code \let\vtex@trans@special\hvtex@trans@code - \else \if G\hvtex@trans@code - \edef\vtex@trans@special{\hvtex@trans@code\hvtex@param@direction}% + \else\if G\hvtex@trans@code + \edef\vtex@trans@special{% + \hvtex@trans@code\hvtex@param@direction + }% \fi\fi\fi\fi\fi\fi\fi \ifx\vtex@trans@special\@empty \else @@ -414,7 +423,9 @@ \else \setlength{\dimen@}{\hvtex@param@duration\p@}% \multiply\dimen@\@m - \edef\vtex@trans@special{\vtex@trans@special,\strip@pt\dimen@}% + \edef\vtex@trans@special{% + \vtex@trans@special,\strip@pt\dimen@ + }% \fi \special{!trans \vtex@trans@special}% \fi @@ -476,7 +487,13 @@ \else \special{!pdfinfo b=<\@pdfpagescrop>}% \fi - \special{!onopen Page\@pdfstartpage}% + \ifx\@pdfstartpage\@empty + \else + \ifx\@pdfstartview\@empty + \else + \special{!onopen Page\@pdfstartpage}% + \fi + \fi \special{!pdfinfo p=</\@pdfpagemode>}% \ifx\@baseurl\@empty \else @@ -535,7 +552,8 @@ \Hy@DisableOption{pdfproducer}% \Hy@DisableOption{pdfkeywords}% } -\def\Hy@writebookmark#1#2#3#4#5{% section number, text, label, level, file +\def\Hy@writebookmark#1#2#3#4#5{% + % section number, text, label, level, file \ifx\WriteBookmarks\relax% \else \ifnum#4>\Hy@bookmarksdepth\relax @@ -679,8 +697,10 @@ \csname @count@#5\endcsname \fi }% - \immediate\special{!outline #3;p=\@parcount,i=\@mycount,s=\ifx#2-c\else -o\fi,t=#4}% + \immediate\special{% + !outline #3;p=\@parcount,i=\@mycount,% + s=\ifx#2-c\else o\fi,t=#4% + }% }% \def\ReadBookmarks{% \begingroup @@ -725,7 +745,9 @@ o\fi,t=#4}% \let\@mkboth\@gobbletwo \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% - \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% \endgroup } \@ifundefined{@chapter}{}{% @@ -734,7 +756,9 @@ o\fi,t=#4}% \def\Hy@next{% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% - \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% }% \ifnum\c@secnumdepth>\m@ne \@ifundefined{if@mainmatter}% @@ -764,7 +788,9 @@ o\fi,t=#4}% \H@old@spart{#1}% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{part*.\the\Hy@linkcounter}% - \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% } \let\H@old@sect\@sect \def\@sect#1#2#3#4#5#6[#7]#8{% @@ -774,7 +800,9 @@ o\fi,t=#4}% \fi \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% \ifnum #2>\c@secnumdepth - \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% \fi } \expandafter\def\csname Parent-4\endcsname{} @@ -798,7 +826,9 @@ o\fi,t=#4}% \addtocontents{lot}{\protect\addvspace{10\p@}}% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% - \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% \if@twocolumn \@topnewpage[\@makeschapterhead{##2}]% \else |