summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/README15
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/hypdvips.pdfbin932821 -> 948448 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/ex1.epsbin162196 -> 159978 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/ex2.epsbin160631 -> 158434 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/ex3.epsbin188699 -> 185667 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/ex4.epsbin329809 -> 326612 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/ex5.epsbin326645 -> 323450 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/ex6.epsbin217331 -> 213700 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/ex7.epsbin279252 -> 274034 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/graph.epsbin113009 -> 112323 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/ids.epsbin957648 -> 957646 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/openmsg_six.epsbin644834 -> 644823 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/paperclip.epsbin89659 -> 88918 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/pushpin.epsbin88523 -> 87895 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/images/tag.epsbin156326 -> 155304 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hypdvips/manifest.txt5
-rw-r--r--Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty160
17 files changed, 147 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/latex/hypdvips/README b/Master/texmf-dist/doc/latex/hypdvips/README
index 882ea396226..dcd1bd386f3 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/README
+++ b/Master/texmf-dist/doc/latex/hypdvips/README
@@ -1,6 +1,19 @@
-LaTeX package hypdvips 2008/08/12 v1.00
+LaTeX package hypdvips 2008/09/02 v1.02
The hypdvips package fixes some problems when using hyperref with dvips. It
also adds support for breaking links, file attachments, embedded documents and
different types of GoTo-links. The cooperation of hyperref with cleveref is
improved, which in addition allows an enhanced back-referencing system.
+
+History:
+
+v1.02 - better support for broken links (should now work in tables too)
+ - fixes \bmstyle command
+
+v1.01 - uses xcolor package to achieve better print quality when hyperref
+ option `colorlinks' is used
+ - patches bookmark package to work with jobnames which start with a
+ parenthesis `('
+ - corrected some minor typos in the documentation
+
+v1.00 - initial release
diff --git a/Master/texmf-dist/doc/latex/hypdvips/hypdvips.pdf b/Master/texmf-dist/doc/latex/hypdvips/hypdvips.pdf
index 63bc6121d47..b172fc89bef 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/hypdvips.pdf
+++ b/Master/texmf-dist/doc/latex/hypdvips/hypdvips.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/ex1.eps b/Master/texmf-dist/doc/latex/hypdvips/images/ex1.eps
index 0292d0da571..64fc560fa8f 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/ex1.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/ex1.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/ex2.eps b/Master/texmf-dist/doc/latex/hypdvips/images/ex2.eps
index ef50a59141d..9e4bdc04387 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/ex2.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/ex2.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/ex3.eps b/Master/texmf-dist/doc/latex/hypdvips/images/ex3.eps
index 538ec0508f9..ff94ae01314 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/ex3.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/ex3.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/ex4.eps b/Master/texmf-dist/doc/latex/hypdvips/images/ex4.eps
index dcba41e4642..781c718a3d6 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/ex4.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/ex4.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/ex5.eps b/Master/texmf-dist/doc/latex/hypdvips/images/ex5.eps
index 13e41c1601a..ce42b347e9a 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/ex5.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/ex5.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/ex6.eps b/Master/texmf-dist/doc/latex/hypdvips/images/ex6.eps
index c44d83cb7ab..3394d69e7ad 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/ex6.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/ex6.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/ex7.eps b/Master/texmf-dist/doc/latex/hypdvips/images/ex7.eps
index a513d0c1098..e16e4becdb3 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/ex7.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/ex7.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/graph.eps b/Master/texmf-dist/doc/latex/hypdvips/images/graph.eps
index d9741025386..14b1b8cd74c 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/graph.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/graph.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/ids.eps b/Master/texmf-dist/doc/latex/hypdvips/images/ids.eps
index db3c4d58125..f765b3d7440 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/ids.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/ids.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/openmsg_six.eps b/Master/texmf-dist/doc/latex/hypdvips/images/openmsg_six.eps
index 8e52a6bf6ff..3b3ff85f1a4 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/openmsg_six.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/openmsg_six.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/paperclip.eps b/Master/texmf-dist/doc/latex/hypdvips/images/paperclip.eps
index f5292628131..57e55cf24fc 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/paperclip.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/paperclip.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/pushpin.eps b/Master/texmf-dist/doc/latex/hypdvips/images/pushpin.eps
index a5deb04451a..5bc011c1338 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/pushpin.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/pushpin.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/images/tag.eps b/Master/texmf-dist/doc/latex/hypdvips/images/tag.eps
index 72f28af8096..f12ebea4632 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/images/tag.eps
+++ b/Master/texmf-dist/doc/latex/hypdvips/images/tag.eps
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hypdvips/manifest.txt b/Master/texmf-dist/doc/latex/hypdvips/manifest.txt
index 674fda6edb5..dedb84b7443 100644
--- a/Master/texmf-dist/doc/latex/hypdvips/manifest.txt
+++ b/Master/texmf-dist/doc/latex/hypdvips/manifest.txt
@@ -9,6 +9,7 @@ bibdat.bib (embedded in hypdvips.pdf)
draft.pdf (attached to hypdvips.pdf as hypdvips_showdests.pdf)
hypdvips.pdf
hypdvips.tex (attached to hypdvips.pdf)
+README
images/ex1.eps
images/ex2.eps
images/ex3.eps
@@ -16,8 +17,12 @@ images/ex4.eps
images/ex5.eps
images/ex6.eps
images/ex7.eps
+images/graph.eps
images/icon_draft.eps
images/ids.eps
images/logfile.eps
images/openmsg_six.eps
images/openmsg_sixinbrowser.eps
+images/paperclip.eps
+images/pushpin.eps
+images/tag.eps
diff --git a/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty b/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty
index bcb280a139d..7c813b547f0 100644
--- a/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty
+++ b/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty
@@ -20,12 +20,59 @@
%% ------------------------------------------------------------------
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{hypdvips}[2008/08/12 v1.00 - Hyperref extension for dvips]
-\RequirePackage{xkeyval}
-\RequirePackage[totpages]{zref}
+\ProvidesPackage{hypdvips}
+ [2008/09/02 v1.02
+ Hyperref extensions for use with dvips]
\RequirePackage{hyperref}
+\newif\ifpp@dvips
+\def\pp@string{hdvips}
+\ifx\Hy@driver\pp@string
+ \pp@dvipstrue
+\else
+ \PackageError{hypdvips}{Unable to find dvips}\@ehd
+ \pp@dvipsfalse
+\fi
\RequirePackage{hypcap}
-\RequirePackage{bookmark}
+\RequirePackage{xkeyval}
+\@ifpackageloaded{bookmark}
+ {
+ \PackageWarning{hypdvips}{Package `bookmark' should not be loaded before\MessageBreak hypdvips.\MessageBreak}%
+ }
+ {
+ \define@key[pp]{bookmarkfix}{header}{\def\pp@headerfile{#1}}
+ \let\pp@backup@special\special
+ \renewcommand{\special}[1]{%
+ \let\pp@headerfile\@undefined%
+ \setkeys*[pp]{bookmarkfix}{#1}%
+ \@ifundefined{pp@headerfile}{\pp@backup@special{#1}}{\pp@backup@special{header=./\pp@headerfile}}%
+ }
+ \RequirePackage{bookmark}
+ \let\special\pp@backup@special
+ }
+\define@key{BKM}{italic}[true]{%
+ \expandafter\ifx\csname if#1\endcsname\iftrue
+ \bitsetSet{BKM@style}{0}%
+ \else
+ \bitsetClear{BKM@style}{0}%
+ \fi
+ }
+\define@key{BKM}{bold}[true]{%
+ \expandafter\ifx\csname if#1\endcsname\iftrue
+ \bitsetSet{BKM@style}{1}%
+ \else
+ \bitsetClear{BKM@style}{1}%
+ \fi
+ }
+\define@key{BKM}{italic,bold}[]{%
+ \bitsetSet{BKM@style}{0}%
+ \bitsetSet{BKM@style}{1}%
+ }
+\define@key{BKM}{bold,italic}[]{%
+ \bitsetSet{BKM@style}{0}%
+ \bitsetSet{BKM@style}{1}%
+ }
+\RequirePackage[totpages]{zref}
+\RequirePackage{xcolor}
\hypersetup{breaklinks=true}
\ifHy@unicode
\else
@@ -37,11 +84,10 @@
\newlength{\pp@linewidth}
\newcommand{\pp@drawcurrentpoint}[1]{%
\setlength{\pp@linewidth}{#1}%
- \pp@SDictPS{\strip@pt\pp@linewidth\space pp.BPToPDF pp.drawcurrentpoint}%
+ \pp@SDictPS{1 0 0 \strip@pt\pp@linewidth\space pp.BPToPDF pp.drawcurrentpoint}%
}
\providecommand{\point}{\pp@drawcurrentpoint{1mm}}
\providecommand{\currentpoint}[1]{\pp@drawcurrentpoint{#1}}% arguments: {linewidth}
-\providecommand{\psdebug}[1]{\pp@SDictPS{(#1) pstack pop}}% arguments: {string}
\providecommand{\debug}[1]{\PackageWarning{DEBUG}{#1}}% arguments: {string}
%%
%% End of debug commands.
@@ -251,7 +297,7 @@
}
\newcommand{\pp@languageoption}[1]{
- \define@key[pp]{options}{#1}[]{\csname pp@language@#1\endcsname\typeout{language = #1}}
+ \define@key[pp]{options}{#1}[]{\ifpp@languageset\else\csname pp@language@#1\endcsname\typeout{language = #1}\fi}
}
\newcommand{\pp@SpecialPS}[1]{\special{" #1}}
@@ -764,12 +810,12 @@
show
grestore
} def
- /pp.drawcurrentpoint % arguments: linewidth
+ /pp.drawcurrentpoint % arguments: R, G, B, linewidth
{
gsave
initmatrix
setlinewidth
- 1 0 0 setrgbcolor
+ setrgbcolor
-5 -5 rmoveto
10 10 rlineto
-10 0 rmoveto
@@ -836,6 +882,44 @@
repeat
exch pop
} def
+ /pp.enabletracing
+ {
+ SDict /pp.leftboundary undef
+ SDict /pp.rightboundary undef
+ /a where
+ {
+ /a
+ {
+ currentpoint pop
+ SDict /pp.rightboundary known dup
+ {
+ SDict /pp.rightboundary get 2 index lt {not} if
+ }
+ if
+ {pop}
+ {SDict exch /pp.rightboundary exch put}
+ ifelse
+ moveto
+ currentpoint pop
+ SDict /pp.leftboundary known dup
+ {
+ SDict /pp.leftboundary get 2 index gt {not} if
+ }
+ if
+ {pop}
+ {SDict exch /pp.leftboundary exch put}
+ ifelse
+ }
+ put
+ }
+ if
+ } def
+ /pp.disabletracing
+ {
+ /a where {/a {moveto} put} if
+ SDict /pp.leftboundary known {pp.outerbox 0 pp.leftboundary put} if
+ SDict /pp.rightboundary known {pp.outerbox 2 pp.rightboundary put} if
+ } def
/pp.addtoquadpoints
{
currentdict /pp.qp known
@@ -1771,7 +1855,7 @@
\newif\ifpp@activerect
\pp@activerectfalse
-\renewcommand{\pdf@rect}[1]{%
+\def\pdf@rect#1{%
\pp@activerecttrue%
\leavevmode%
\ifHy@breaklinks%
@@ -1808,12 +1892,14 @@
\else%
\lower\dp\pdf@box\hbox{\literalps@out{H.S}}%
\fi%
+ \pp@SDictPS{pp.enabletracing}%
\ifHy@breaklinks%
\expandafter\Hy@breaklinksunhbox%
\else%
\expandafter\box%
\fi%
\pdf@box%
+ \pp@SDictPS{pp.disabletracing}%
\ifpp@evenboxes%
\setlength{\pp@offset}{\the\dimen@}%
\addtolength{\pp@offset}{-\the\ht\pp@textbox}%
@@ -2602,13 +2688,17 @@
\ifx\pp@string\@empty%
\edef\pp@string{\value{pp@PL@currentpage}}%
\fi%
- \ifnum0=\pp@string%
+ \ifnum1>\pp@string%
\PackageWarning{hypdvips}{Pagelabel `#2' for illegal page `#1' discarded.\MessageBreak}%
\else%
- \ifnum\ztotpages<\pp@string%
- \pp@attachmentPL{#1}{#2}%
- \else%
+ \ifnum\ztotpages=0%
\pp@documentPL{\pp@string}{#2}%
+ \else%
+ \ifnum\ztotpages<\pp@string%
+ \pp@attachmentPL{#1}{#2}%
+ \else%
+ \pp@documentPL{\pp@string}{#2}%
+ \fi%
\fi%
\fi%
\fi%
@@ -3228,24 +3318,30 @@
%%
%% Exported commands:
%%
-\providecommand{\attachfile}[2][]{\pp@attachfile[#1]{#2}}% arguments: [options]{filename}
-\providecommand{\backrefbordercolor}[1]{\gdef\@backrefbordercolor{#1}}% arguments: {R G B}
-\providecommand{\backrefcolor}[1]{\gdef\@backrefcolor{#1}}% arguments: {color}
-\providecommand{\bmstyle}[2]{\pp@setbmstyle{#1}{#2}}% arguments: {level}{style}
-\providecommand{\embeddedbordercolor}[1]{\gdef\@embeddedbordercolor{#1}}% arguments: {R G B}
-\providecommand{\embeddedcolor}[1]{\gdef\@embeddedcolor{#1}}% arguments: {color}
-\providecommand{\embedfile}[2][]{\pp@embedfile[#1]{#2}}% arguments: [options]{filename}
-\providecommand{\evenboxesstring}[1]{\gdef\pp@ABC{#1}}% arguments: {string}
-\providecommand{\file}[2]{\pp@file{#1}{#2}}% arguments: {filename}{description}
-\providecommand{\footnotebordercolor}[1]{\gdef\@footnotebordercolor{#1}}% arguments: {R G B}
-\providecommand{\footnotecolor}[1]{\gdef\@footnotecolor{#1}}% arguments: {color}
-\providecommand{\goto}[2][]{\pp@goto[#1]{#2}}% arguments: [options]{text}
-\providecommand{\gotoparent}[2]{\pp@goto[dest={#1},target=/R/P]{#2}}% arguments: {destination}{text}
-\providecommand{\loaformat}[4]{\pp@loaformat{#1}{#2}{#3}{#4}}% arguments: {attachment_id}{attachment_type}{filename}{options}
-\providecommand{\odest}[2]{\pp@odest{#1}{#2}}% arguments: {name}{offset}
-\providecommand{\openaction}[1]{\def\pp@openaction{#1}}% arguments: {action}
-\providecommand{\pagelabel}[2][]{\pp@pagelabel[#1]{#2}}% {pagenumber}{pagelabel}
-\providecommand{\runattachment}[2]{\pp@runattachment{#1}{#2}}% arguments: {attachment_id}{text}
+\ifpp@dvips
+ \providecommand{\attachfile}[2][]{\pp@attachfile[#1]{#2}}% arguments: [options]{filename}
+ \providecommand{\backrefbordercolor}[1]{\gdef\@backrefbordercolor{#1}}% arguments: {R G B}
+ \providecommand{\backrefcolor}[1]{\gdef\@backrefcolor{#1}}% arguments: {color}
+ \providecommand{\bmstyle}[2]{\pp@setbmstyle{#1}{#2}}% arguments: {level}{style}
+ \providecommand{\embeddedbordercolor}[1]{\gdef\@embeddedbordercolor{#1}}% arguments: {R G B}
+ \providecommand{\embeddedcolor}[1]{\gdef\@embeddedcolor{#1}}% arguments: {color}
+ \providecommand{\embedfile}[2][]{\pp@embedfile[#1]{#2}}% arguments: [options]{filename}
+ \providecommand{\evenboxesstring}[1]{\gdef\pp@ABC{#1}}% arguments: {string}
+ \providecommand{\file}[2]{\pp@file{#1}{#2}}% arguments: {filename}{description}
+ \providecommand{\footnotebordercolor}[1]{\gdef\@footnotebordercolor{#1}}% arguments: {R G B}
+ \providecommand{\footnotecolor}[1]{\gdef\@footnotecolor{#1}}% arguments: {color}
+ \providecommand{\goto}[2][]{\pp@goto[#1]{#2}}% arguments: [options]{text}
+ \providecommand{\gotoparent}[2]{\pp@goto[dest={#1},target=/R/P]{#2}}% arguments: {destination}{text}
+ \providecommand{\loaformat}[4]{\pp@loaformat{#1}{#2}{#3}{#4}}% arguments: {attachment_id}{attachment_type}{filename}{options}
+ \providecommand{\odest}[2]{\pp@odest{#1}{#2}}% arguments: {name}{offset}
+ \providecommand{\openaction}[1]{\def\pp@openaction{#1}}% arguments: {action}
+ \providecommand{\pagelabel}[2][]{\pp@pagelabel[#1]{#2}}% {pagenumber}{pagelabel}
+ \providecommand{\runattachment}[2]{\pp@runattachment{#1}{#2}}% arguments: {attachment_id}{text}
+\else
+ \@ifundefined{pdfmark}{\newcommand{\pdfmark}[2][]{#1}}{}
+ \def\@pdfview{Fit}
+ \let\@pdfviewparams\@empty
+\fi
\@ifpackageloaded{cleveref}
{
\let\autoref\cref