diff options
author | Karl Berry <karl@freefriends.org> | 2006-08-20 00:16:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-08-20 00:16:44 +0000 |
commit | 81e85f9bb5875b6c3cd460112e26e715d8965004 (patch) | |
tree | 080f756dab293c38187e2cc6cde199e717f57433 /Master/texmf-dist/tex/latex/hyperref/hdvipson.def | |
parent | 4cdec44e9893db7879eb9f2f34cfcbe52072abd0 (diff) |
hyperref 6.75a (1aug06)
git-svn-id: svn://tug.org/texlive/trunk@1993 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvipson.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdvipson.def | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def index b01b172eafc..207ce19ae61 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -7,7 +7,6 @@ %% hyperref.dtx (with options: `dvipsone') %% %% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, -%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ %% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- @@ -23,11 +22,14 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipson.def} - [2003/11/30 v6.74m + [2006/08/16 v6.75c Hyperref driver for dvipsone] \providecommand\@pdfborder{0 0 65781} +\providecommand*\@pdfborderstyle{} \input{pdfmark.def}% -\def\@pdfproducer{dvipsone + Distiller} +\ifx\@pdfproducer\relax + \def\@pdfproducer{dvipsone + Distiller} +\fi \def\literalps@out#1{\special{ps:#1}}% \def\headerps@out#1{\special{! #1}}% \def\PDF@FinishDoc{% @@ -35,13 +37,26 @@ \special{PDF: Keywords \@pdfkeywords}% \special{PDF: Title \@pdftitle}% \special{PDF: Creator \@pdfcreator}% + \ifx\@pdfcreationdate\@empty + \else + \special{PDF: CreationDate \@pdfcreationdate}% + \fi + \ifx\@pdfmoddate\@empty + \else + \special{PDF: ModDate \@pdfmoddate}% + \fi \special{PDF: Author \@pdfauthor}% - \special{PDF: Producer \@pdfproducer}% + \ifx\@pdfproducer\relax + \else + \special{PDF: Producer \@pdfproducer}% + \fi \special{PDF: Subject \@pdfsubject}% \Hy@DisableOption{pdfauthor}% \Hy@DisableOption{pdftitle}% \Hy@DisableOption{pdfsubject}% \Hy@DisableOption{pdfcreator}% + \Hy@DisableOption{pdfcreationdate}% + \Hy@DisableOption{pdfmoddate}% \Hy@DisableOption{pdfproducer}% \Hy@DisableOption{pdfkeywords}% } @@ -68,6 +83,7 @@ /NonFullScreenPageMode\@pdfnonfullscreenpagemode \fi }% + \Hy@pstringdef\Hy@pstringB{\@baseurl}% \pdfmark{% pdfmark=/PUT,% Raw={% @@ -82,7 +98,7 @@ \fi \ifx\@baseurl\@empty \else - /URI << /Base (\@baseurl) >>% + /URI << /Base (\Hy@pstringB) >>% \fi >>% }% @@ -124,8 +140,14 @@ currentpoint exch pop DvipsToPDF /pdf@voff exch def } def systemdict - /pdfmark known not - {userdict /pdfmark systemdict /cleartomark get put} if + /pdfmark known + { + userdict /?pdfmark /exec load put + }{ + userdict /?pdfmark /pop load put + userdict /pdfmark systemdict /cleartomark get put + } + ifelse } \endinput %% |