diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdviwind.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index 2d3d384db7a..ec8fe381730 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -24,22 +24,24 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdviwind.def} - [2010/01/08 v6.80a + [2010/01/11 v6.80b Hyperref driver for dviwindo] \begingroup - \toks@\expandafter{\Hy@FirstPageHook}% - \xdef\Hy@FirstPageHook{% - \noexpand\headerps@out{% - systemdict /pdfmark known% - {% - userdict /?pdfmark systemdict /exec get put% - }{% - userdict /?pdfmark systemdict /pop get put % - userdict /pdfmark systemdict /cleartomark get put% + \@ifundefined{headerps@out}{}{% + \toks@\expandafter{\Hy@FirstPageHook}% + \xdef\Hy@FirstPageHook{% + \noexpand\headerps@out{% + systemdict /pdfmark known% + {% + userdict /?pdfmark systemdict /exec get put% + }{% + userdict /?pdfmark systemdict /pop get put % + userdict /pdfmark systemdict /cleartomark get put% + }% + ifelse% }% - ifelse% + \the\toks@ }% - \the\toks@ }% \endgroup \def\Hy@PutCatalog#1{% @@ -257,8 +259,10 @@ \ifx\@pdfproducer\relax \def\@pdfproducer{dviwindo + Distiller}% \fi +\HyInfo@AddonUnsupportedtrue \def\PDF@FinishDoc{% \Hy@UseMaketitleInfos + \HyInfo@TrappedUnsupported \special{PDF: Keywords \@pdfkeywords}% \special{PDF: Title \@pdftitle}% \special{PDF: Creator \@pdfcreator}% @@ -284,6 +288,8 @@ \Hy@DisableOption{pdfmoddate}% \Hy@DisableOption{pdfproducer}% \Hy@DisableOption{pdfkeywords}% + \Hy@DisableOption{pdftrapped}% + \Hy@DisableOption{pdfinfo}% } \def\PDF@SetupDoc{% \ifx\@baseurl\@empty @@ -567,6 +573,14 @@ \define@key{PDF}{ModDate}{\pdf@addtoks{(#1)}{ModDate}} \define@key{PDF}{Base}{\pdf@addtoks{(#1)}{Base}} \define@key{PDF}{URI}{\pdf@addtoks{#1}{URI}} +\define@key{PDF}{Trapped}{% + \edef\Hy@temp{#1}% + \ifx\Hy@temp\@empty + \else + \pdf@addtoks{/#1}{Trapped}% + \fi +} + \endinput %% %% End of file `hdviwind.def'. |