summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hpdftex.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hpdftex.def15
1 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
index 4e3e26d60ac..2d3426abd2e 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/12/18 v6.79v
+ [2009/12/23 v6.79y
Hyperref driver for pdfTeX]
\let\Hy@PutCatalog\pdfcatalog
\ifHy@pagelabels
@@ -1484,11 +1484,14 @@
\pdfstringdef\Hy@tempa{#2}%
\if@filesw
\stepcounter{bookmark@seq@number}%
- \protected@write\@outlinefile{}{%
- \protect\BOOKMARK
- [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}%
- {\Hy@tempa}{\Hy@tempb}%
- \@percentchar\space\thebookmark@seq@number
+ \@ifundefined{@outlinefile}{%
+ }{%
+ \protected@write\@outlinefile{}{%
+ \protect\BOOKMARK
+ [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}%
+ {\Hy@tempa}{\Hy@tempb}%
+ \@percentchar\space\thebookmark@seq@number
+ }%
}%
\fi
\fi