From 01aade3322bbb50b565fbb94ed1bade7a0726478 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 11 Dec 2009 01:05:57 +0000 Subject: hyperref update (10dec09) git-svn-id: svn://tug.org/texlive/trunk@16351 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 52 ++++++++++-------------- 1 file changed, 22 insertions(+), 30 deletions(-) (limited to 'Master/texmf-dist/tex/latex/hyperref/pdfmark.def') diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def index 5eb8c02c470..13595278182 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pdfmark.def} - [2009/11/27 v6.79k + [2009/12/09 v6.79m Hyperref definitions for pdfmark specials] \begingroup \toks@\expandafter{\Hy@FirstPageHook}% @@ -1532,6 +1532,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{% @@ -1544,37 +1545,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 -- cgit v1.2.3