summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/pdfmark.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/pdfmark.def52
1 files changed, 22 insertions, 30 deletions
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