diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-11 01:05:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-11 01:05:57 +0000 |
commit | 01aade3322bbb50b565fbb94ed1bade7a0726478 (patch) | |
tree | b5cb1e9b3bac48d62323860c53dfc42b8f08b387 /Master/texmf-dist/tex/latex/hyperref/hpdftex.def | |
parent | 927fa25899dff5fa86c4e142b091ab724bceac9c (diff) |
hyperref update (10dec09)
git-svn-id: svn://tug.org/texlive/trunk@16351 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hpdftex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 59 |
1 files changed, 25 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index fdfc06a0226..8aaf0c0a986 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hpdftex.def} - [2009/11/27 v6.79k + [2009/12/09 v6.79m Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels @@ -35,10 +35,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] @@ -1514,6 +1513,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{% @@ -1526,37 +1526,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 } \def\ReadBookmarks{% \begingroup |