summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hvtex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hvtex.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hvtex.def59
1 files changed, 25 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def
index 7ac3554e9bd..358cab27d84 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}
- [2009/11/27 v6.79k
+ [2009/12/09 v6.79m
Hyperref driver for VTeX in PDF/PS mode]
\providecommand*{\XR@ext}{pdf}
\edef\Hy@VTeXversion{%
@@ -65,10 +65,9 @@
\the\Hy@abspage<<#1>>%
}%
}%
- \@ifclassloaded{revtex4}{%
- \g@addto@macro\clear@document{\HyPL@SetPageLabels}%
- }{%
- \AtEndDocument{\clearpage\HyPL@SetPageLabels}%
+ \RequirePackage{atveryend}[2009/12/07]%
+ \AtVeryEndDocument{%
+ \HyPL@SetPageLabels
}%
\fi
\RequirePackage{pdftexcmds}[2009/04/10]
@@ -670,6 +669,7 @@
}
\def\BOOKMARK{\@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}}
\def\@BOOKMARK[#1]{\@ifnextchar[{\@@BOOKMARK[#1]}{\@@BOOKMARK[#1][-]}}
+\RequirePackage{atveryend}[2009/12/07]
\def\Hy@OutlineRerunCheck{%
\begingroup
\xdef\Hy@OutlineCheckSumBefore{%
@@ -682,37 +682,28 @@
}%
}%
\endgroup
- \AtEndDocument{%
- \clearpage
- \if@filesw
- \immediate\write\@mainaux{%
- \string\csname\space Hy@OutlineCheckEnd\string\endcsname
- }%
- \fi
- }%
+ \AtVeryEndDocument{\Hy@OutlineCheckEnd}%
}
-\AtBeginDocument{%
- \def\Hy@OutlineCheckEnd{%
- \begingroup
- \immediate\closeout\@outlinefile
- \edef\Hy@OutlineCheckSumAfter{%
- \@ifundefined{pdf@filemdfivesum}{}{%
- \pdf@filemdfivesum{\jobname.out}%
- }%
- :%
- \@ifundefined{pdf@filesize}{}{%
- \pdf@filesize{\jobname.out}%
- }%
+\def\Hy@OutlineCheckEnd{%
+ \begingroup
+ \immediate\closeout\@outlinefile
+ \edef\Hy@OutlineCheckSumAfter{%
+ \@ifundefined{pdf@filemdfivesum}{}{%
+ \pdf@filemdfivesum{\jobname.out}%
}%
- \ifx\Hy@OutlineCheckSumBefore\Hy@OutlineCheckSumAfter
- \else
- \Hy@WarningNoLine{%
- Rerun to get outlines right\MessageBreak
- or use package `bookmark'%
- }%
- \fi
- \endgroup
- }%
+ :%
+ \@ifundefined{pdf@filesize}{}{%
+ \pdf@filesize{\jobname.out}%
+ }%
+ }%
+ \ifx\Hy@OutlineCheckSumBefore\Hy@OutlineCheckSumAfter
+ \else
+ \Hy@WarningNoLine{%
+ Rerun to get outlines right\MessageBreak
+ or use package `bookmark'%
+ }%
+ \fi
+ \endgroup
}
\newcount\@serial@counter\@serial@counter=1\relax
\begingroup