summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/hyperref/ChangeLog14
-rw-r--r--Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdfbin291512 -> 292367 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hyperref/README26
-rw-r--r--Master/texmf-dist/doc/latex/hyperref/README.pdfbin271734 -> 273488 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hyperref/hyperref.pdfbin3375499 -> 3417710 bytes
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx299
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def107
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvips.def6
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvipson.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdviwind.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hpdftex.def117
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/htex4ht.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/htexture.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hvtex.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty49
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hypertex.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/nohyperref.sty2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/pd1enc.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/pdfmark.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/puarenc.def2
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/puenc.def19
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/puvnenc.def2
25 files changed, 627 insertions, 38 deletions
diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog b/Master/texmf-dist/doc/latex/hyperref/ChangeLog
index 6b827be4bb2..c665f224b48 100644
--- a/Master/texmf-dist/doc/latex/hyperref/ChangeLog
+++ b/Master/texmf-dist/doc/latex/hyperref/ChangeLog
@@ -1,3 +1,17 @@
+2008-04-20 6.77s Heiko Oberdiek
+ * 6.77s
+ * Additions to PU encoding: \textzerosuperior, ..., \textninesuperior,
+ \textzeroinferior, ..., \textnineinferior
+
+2008-04-19 6.77r Heiko Oberdiek
+ * 6.77r
+ * Option pdfa: pdf version is set to 1.4.
+ * Experimental option `ocgcolorlinks': Same as `colorlinks',
+ but prints without color. Optional Color Groups of PDF 1.5
+ are used. Main disadvantage: the links cannot be wrapped
+ across lines, because they are put in an \hbox. Currently
+ only drivers `pdftex' and `dvipdfm' are supported.
+
2008-04-17 6.77q Heiko Oberdiek
* 6.77q
* Fix for small problem with XeLaTeX (\string^^f4).
diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf
index da7d5e08040..4bf9c491fef 100644
--- a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf
+++ b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hyperref/README b/Master/texmf-dist/doc/latex/hyperref/README
index f2329a13fce..08dcedc9535 100644
--- a/Master/texmf-dist/doc/latex/hyperref/README
+++ b/Master/texmf-dist/doc/latex/hyperref/README
@@ -1,4 +1,4 @@
-README for hyperref bundle, 2008/04/16
+README for hyperref bundle, 2008/04/20
TABLE OF CONTENTS
@@ -170,8 +170,28 @@ other packages apart from nameref and backref:
5 NEW FEATURES
==============
-Option `pdfa' added
--------`----'------
+Experimental option `ocgcolorlinks'
+--------------------`-------------'
+ The idea are colored links, when viewed, but printed without colors.
+ This new experimental option `ocgcolorlinks' uses Optional Content
+ Groups, a feature introduced in PDF 1.5.
+ * The option must be given for package loading:
+ \usepackage[ocgcolorlinks]{hyperref}
+ * Main disadvantage: Links cannot be broken across lines.
+ PDF reference 1.7: 4.10.2 "Making Graphical Content Optional":
+ Graphics state operations, such as setting the color, ...,
+ are still applied.
+ Therefore the link text is put in a box and set twice, with and
+ without color.
+ * The feature can be switched of by \hypersetup{ocgcolorlinks=false}
+ inside the document.
+ * Supported drivers: pdftex, dvipdfm
+ * The PDF version should be at least 1.5. It is automatically
+ set for pdfTeX. Users of dvipdfmx set the version on the command
+ line: dvipdfmx -V 5
+
+Option `pdfa'
+-------`----'
The new option `pdfa' tries to avoid violations of PDF/A in code
generated by hyperref. However, the result is usually not in PDF/A,
because many features aren't controlled by hyperref (XMP metadata,
diff --git a/Master/texmf-dist/doc/latex/hyperref/README.pdf b/Master/texmf-dist/doc/latex/hyperref/README.pdf
index d3ee9441eaf..45808729777 100644
--- a/Master/texmf-dist/doc/latex/hyperref/README.pdf
+++ b/Master/texmf-dist/doc/latex/hyperref/README.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf
index 6d94485dd72..3de19af7b2f 100644
--- a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf
+++ b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index f38a70fe03c..41e4538f7b2 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -39,7 +39,7 @@
%<puenc>\ProvidesFile{puenc.def}
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
-%<!none> [2008/04/17 v6.77q
+%<!none> [2008/04/20 v6.77s
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -116,7 +116,7 @@
\end{document}
%</driver>
% \fi
-% \CheckSum{22578}
+% \CheckSum{22824}
%
% \MakeShortVerb{|}
% \StopEventually{}
@@ -609,6 +609,7 @@
\newif\ifHy@nesting
\newif\ifHy@newwindowset
\newif\ifHy@newwindow
+\newif\ifHy@ocgcolorlinks
\newif\ifHy@pageanchor
\newif\ifHy@pagelabels
\newif\ifHy@pdfpagehidden
@@ -4599,6 +4600,21 @@
\let\@pdfborderstyle\@empty
\fi
}
+\define@key{Hyp}{ocgcolorlinks}[true]{%
+ \Hy@boolkey{ocgcolorlinks}{#1}%
+}
+\AtBeginDocument{%
+ \begingroup
+ \@ifundefined{OBJ@OCG@view}{%
+ \ifHy@ocgcolorlinks
+ \Hy@Warning{%
+ Driver does not support `ocgcolorlinks',\MessageBreak
+ using `colorlinks' instead%
+ }%
+ \fi
+ }{}%
+ \endgroup
+}
\define@key{Hyp}{frenchlinks}[true]{%
\Hy@boolkey{frenchlinks}{#1}%
}
@@ -5127,7 +5143,6 @@
\Hy@DisableOption{nolinks}%
\Hy@DisableOption{final}%
}
-\Hy@DisableOption{pdfversion}%
% \end{macrocode}
%
% \subsection{PDF/A}
@@ -5138,6 +5153,7 @@
%
% \begin{macrocode}
\ifHy@pdfa
+ \setkeys{Hyp}{pdfversion=1.4}%
\def\Hy@Acrobatmenu#1#2{%
\leavevmode
\begingroup
@@ -5408,6 +5424,9 @@
\Hy@DisableOption{latex2html}
\Hy@DisableOption{ps2pdf}
\Hy@DisableOption{xetex}
+\AtEndOfPackage{%
+ \Hy@DisableOption{pdfversion}%
+}
% \end{macrocode}
%
% \subsubsection{Bookmarks}
@@ -5451,6 +5470,20 @@
% the color specification.
% \begin{macrocode}
\AtBeginDocument{%
+ \ifHy@ocgcolorlinks
+ \setkeys{Hyp}{colorlinks}%
+ \ifHy@pdfa
+ \Hy@Warning{%
+ PDF/A: Optional Content Groups are prohibited,\MessageBreak
+ using `colorlinks' instead of `ocgcolorlinks'%
+ }%
+ \Hy@ocgcolorlinksfalse
+ \fi
+ \fi
+ \ifHy@ocgcolorlinks
+ \else
+ \Hy@DisableOption{ocgcolorlinks}%
+ \fi
\ifHy@colorlinks
\ifHy@typexml
\else
@@ -5458,7 +5491,7 @@
\fi
\def\Hy@colorlink#1{%
\begingroup
- \HyColor@UseColor#1%
+ \HyColor@UseColor#1%
}%
\def\Hy@endcolorlink{\endgroup}%
\Hy@Info{Link coloring ON}%
@@ -6881,6 +6914,16 @@
\else
\Hy@Info{Link coloring OFF}%
\fi
+\ifHy@ocgcolorlinks
+ \Hy@Info{Link coloring with OCG ON}%
+\else
+ \Hy@Info{Link coloring with OCG OFF}%
+\fi
+\ifHy@pdfa
+ \Hy@Info{PDF/A mode ON}%
+\else
+ \Hy@Info{PDF/A mode OFF}%
+\fi
% \end{macrocode}
% \section{Low-level utility macros}
% We need unrestricted access to the |#|, |~| and |"| characters, so make
@@ -10020,6 +10063,11 @@
PDF version is not set, because pdfTeX is too old (<1.10a)%
}%
}{%
+ \ifHy@ocgcolorlinks
+ \ifnum\Hy@pdfminorversion<5 %
+ \setkeys{Hyp}{pdfversion=1.5}%
+ \fi
+ \fi
\ifHy@setpdfversion
\ifnum\Hy@pdfminorversion=\Hy@pdfversion\relax
\else
@@ -10031,8 +10079,113 @@
}%
\fi
\edef\Hy@pdfversion{\number\Hy@pdfminorversion}%
- \Hy@DisableOption{pdfversion}%
}
+\Hy@DisableOption{pdfversion}%
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ifHy@ocgcolorlinks
+ \immediate\pdfobj{%
+ <<%
+ /Type/OCG%
+ /Name(View)%
+ /Usage<<%
+ /Print<<%
+ /PrintState/OFF%
+ >>%
+ /View<<%
+ /ViewState/ON%
+ >>%
+ >>%
+ >>%
+ }%
+ \edef\OBJ@OCG@view{\the\pdflastobj\space 0 R}%
+ \immediate\pdfobj{%
+ <<%
+ /Type/OCG%
+ /Name(Print)%
+ /Usage<<%
+ /Print<<%
+ /PrintState/ON%
+ >>%
+ /View<<%
+ /ViewState/OFF%
+ >>%
+ >>%
+ >>%
+ }%
+ \edef\OBJ@OCG@print{\the\pdflastobj\space 0 R}%
+ \immediate\pdfobj{%
+ [%
+ \OBJ@OCG@view\space\OBJ@OCG@print
+ ]%
+ }%
+ \edef\OBJ@OCGs{\the\pdflastobj\space 0 R}%
+ \pdfcatalog{%
+ /OCProperties<<%
+ /OCGs \OBJ@OCGs
+ /D<<%
+ /OFF[\OBJ@OCG@print]%
+ /AS[%
+ <<%
+ /Event/View%
+ /OCGs \OBJ@OCGs
+ /Category[/View]%
+ >>%
+ <<%
+ /Event/Print%
+ /OCGs \OBJ@OCGs
+ /Category[/Print]%
+ >>%
+ <<%
+ /Event/Export%
+ /OCGs \OBJ@OCGs
+ /Category[/Print]%
+ >>%
+ ]%
+ >>%
+ >>%
+ }%
+ \begingroup
+ \edef\x{\endgroup
+ \pdfpageresources{%
+ /Properties<<%
+ /OCView \OBJ@OCG@view
+ /OCPrint \OBJ@OCG@print
+ >>%
+ }%
+ }%
+ \x
+ \AtBeginDocument{%
+ \def\Hy@colorlink#1{%
+ \begingroup
+ \ifHy@ocgcolorlinks
+ \def\Hy@ocgcolor{#1}%
+ \setbox0=\color@hbox
+ \else
+ \HyColor@UseColor#1%
+ \fi
+ }%
+ \def\Hy@endcolorlink{%
+ \ifHy@ocgcolorlinks
+ \color@endbox
+ \mbox{%
+ \pdfliteral page{/OC/OCPrint BDC}%
+ \rlap{\copy0}%
+ \pdfliteral page{EMC/OC/OCView BDC}%
+ \begingroup
+ \expandafter\HyColor@UseColor\Hy@ocgcolor
+ \box0 %
+ \endgroup
+ \pdfliteral page{EMC}%
+ }%
+ \fi
+ \endgroup
+ }%
+ }%
+\else
+ \Hy@DisableOption{ocgcolorlinks}%
+\fi
% \end{macrocode}
%
% First, allow for some changes and additions to pdftex syntax:
@@ -10128,7 +10281,8 @@
}{%
\edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}%
}%
- \find@pdflink{#1}{#2}#3\close@pdflink
+ \find@pdflink{#1}{#2}#3%
+ \close@pdflink
}
\let\CurrentBorderColor\@linkbordercolor
\def\hyper@linkurl#1#2{%
@@ -10635,7 +10789,8 @@
>>%
}%
\relax
- \Hy@colorlink\@menucolor#2\close@pdflink
+ \Hy@colorlink\@menucolor#2%
+ \close@pdflink
}%
}
%</pdftex>
@@ -11101,6 +11256,115 @@
\def\hyper@anchorend{%
\Hy@activeanchorfalse
}
+% \end{macrocode}
+% \begin{macrocode}
+\ifHy@ocgcolorlinks
+ \def\OBJ@OCG@view{@OCG@view}%
+ \@pdfm@mark{%
+ obj \OBJ@OCG@view <<%
+ /Type/OCG%
+ /Name(View)%
+ /Usage<<%
+ /Print<<%
+ /PrintState/OFF%
+ >>%
+ /View<<%
+ /ViewState/ON%
+ >>%
+ >>%
+ >>%
+ }%
+ \@pdfm@mark{close \OBJ@OCG@view}%
+ \def\OBJ@OCG@print{@OCG@print}%
+ \@pdfm@mark{%
+ obj \OBJ@OCG@print <<%
+ /Type/OCG%
+ /Name(Print)%
+ /Usage<<%
+ /Print<<%
+ /PrintState/ON%
+ >>%
+ /View<<%
+ /ViewState/OFF%
+ >>%
+ >>%
+ >>%
+ }%
+ \@pdfm@mark{close \OBJ@OCG@print}%
+ \def\OBJ@OCGs{@OCGs}%
+ \@pdfm@mark{%
+ obj \OBJ@OCGs [%
+ \OBJ@OCG@view\space\OBJ@OCG@print
+ ]%
+ }%
+ \@pdfm@mark{close \OBJ@OCGs}%
+ \@pdfm@mark{%
+ put @catalog <<%
+ /OCProperties<<%
+ /OCGs \OBJ@OCGs
+ /D<<%
+ /OFF[\OBJ@OCG@print]%
+ /AS[%
+ <<%
+ /Event/View%
+ /OCGs \OBJ@OCGs
+ /Category[/View]%
+ >>%
+ <<%
+ /Event/Print%
+ /OCGs \OBJ@OCGs
+ /Category[/Print]%
+ >>%
+ <<%
+ /Event/Export%
+ /OCGs \OBJ@OCGs
+ /Category[/Print]%
+ >>%
+ ]%
+ >>%
+ >>%
+ >>%
+ }%
+ \@pdfm@mark{%
+ put @resources <<%
+ /Properties<<%
+ /OCView \OBJ@OCG@view
+ /OCPrint \OBJ@OCG@print
+ >>%
+ >>%
+ }%
+ \AtBeginDocument{%
+ \def\Hy@colorlink#1{%
+ \begingroup
+ \ifHy@ocgcolorlinks
+ \def\Hy@ocgcolor{#1}%
+ \setbox0=\color@hbox
+ \else
+ \HyColor@UseColor#1%
+ \fi
+ }%
+ \def\Hy@endcolorlink{%
+ \ifHy@ocgcolorlinks
+ \color@endbox
+ \mbox{%
+ \@pdfm@mark{content /OC/OCPrint BDC}%
+ \rlap{\copy0}%
+ \@pdfm@mark{content EMC/OC/OCView BDC}%
+ \begingroup
+ \expandafter\HyColor@UseColor\Hy@ocgcolor
+ \box0 %
+ \endgroup
+ \@pdfm@mark{content EMC}%
+ }%
+ \fi
+ \endgroup
+ }%
+ }%
+\else
+ \Hy@DisableOption{ocgcolorlinks}%
+\fi
+% \end{macrocode}
+% \begin{macrocode}
\def\Hy@undefinedname{UNDEFINED}
\def\hyper@linkstart#1#2{%
\protected@edef\Hy@testname{#2}%
@@ -12891,12 +13155,12 @@
% definitions in a moment.
% \begin{macrocode}
%<*dvips>
+\def\literalps@out#1{\special{ps:SDict begin #1 end}}%
+\def\headerps@out#1{\special{! #1}}%
\input{pdfmark.def}%
\ifx\@pdfproducer\relax
\def\@pdfproducer{dvips + Distiller}%
\fi
-\def\literalps@out#1{\special{ps:SDict begin #1 end}}%
-\def\headerps@out#1{\special{! #1}}%
\providecommand*\@pdfborder{0 0 1}
\providecommand*\@pdfborderstyle{}
\providecommand*\@pdfview{XYZ}
@@ -17046,6 +17310,23 @@
\DeclareTextCommand{\guilsinglleft}{PU}{\9040\071} % guilsinglleft
\DeclareTextCommand{\guilsinglright}{PU}{\9040\072} % guilsinglright
\DeclareTextCommand{\textfractionmark}{PU}{\9040\104} % fraction slash
+\DeclareTextCommand{\textzerosuperior}{PU}{\9040\160} % superscript zero
+\DeclareTextCommand{\textfoursuperior}{PU}{\9040\164} % superscript four
+\DeclareTextCommand{\textfivesuperior}{PU}{\9040\165} % superscript five
+\DeclareTextCommand{\textsixsuperior}{PU}{\9040\166} % superscript six
+\DeclareTextCommand{\textsevensuperior}{PU}{\9040\167} % superscript seven
+\DeclareTextCommand{\texteightsuperior}{PU}{\9040\170} % superscript eight
+\DeclareTextCommand{\textninesuperior}{PU}{\9040\171} % superscript nine
+\DeclareTextCommand{\textzeroinferior}{PU}{\9040\200} % subscript zero
+\DeclareTextCommand{\textoneinferior}{PU}{\9040\201} % subscript one
+\DeclareTextCommand{\texttwoinferior}{PU}{\9040\202} % subscript two
+\DeclareTextCommand{\textthreeinferior}{PU}{\9040\203} % subscript three
+\DeclareTextCommand{\textfourinferior}{PU}{\9040\204} % subscript four
+\DeclareTextCommand{\textfiveinferior}{PU}{\9040\205} % subscript five
+\DeclareTextCommand{\textsixinferior}{PU}{\9040\206} % subscript six
+\DeclareTextCommand{\textseveninferior}{PU}{\9040\207} % subscript seven
+\DeclareTextCommand{\texteightinferior}{PU}{\9040\210} % subscript eight
+\DeclareTextCommand{\textnineinferior}{PU}{\9040\211} % subscript nine
\DeclareTextCommand{\texteuro}{PU}{\9040\254} % Euro
\DeclareTextCommand{\textcelsius}{PU}{\9041\003}
\DeclareTextCommand{\textnumero}{PU}{\9041\026}
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
index 22b791a45a4..5f4a9f0acb9 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvipdfm.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for dvipdfm]
\def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}}
\ifHy@pagelabels
@@ -183,6 +183,111 @@
\def\hyper@anchorend{%
\Hy@activeanchorfalse
}
+\ifHy@ocgcolorlinks
+ \def\OBJ@OCG@view{@OCG@view}%
+ \@pdfm@mark{%
+ obj \OBJ@OCG@view <<%
+ /Type/OCG%
+ /Name(View)%
+ /Usage<<%
+ /Print<<%
+ /PrintState/OFF%
+ >>%
+ /View<<%
+ /ViewState/ON%
+ >>%
+ >>%
+ >>%
+ }%
+ \@pdfm@mark{close \OBJ@OCG@view}%
+ \def\OBJ@OCG@print{@OCG@print}%
+ \@pdfm@mark{%
+ obj \OBJ@OCG@print <<%
+ /Type/OCG%
+ /Name(Print)%
+ /Usage<<%
+ /Print<<%
+ /PrintState/ON%
+ >>%
+ /View<<%
+ /ViewState/OFF%
+ >>%
+ >>%
+ >>%
+ }%
+ \@pdfm@mark{close \OBJ@OCG@print}%
+ \def\OBJ@OCGs{@OCGs}%
+ \@pdfm@mark{%
+ obj \OBJ@OCGs [%
+ \OBJ@OCG@view\space\OBJ@OCG@print
+ ]%
+ }%
+ \@pdfm@mark{close \OBJ@OCGs}%
+ \@pdfm@mark{%
+ put @catalog <<%
+ /OCProperties<<%
+ /OCGs \OBJ@OCGs
+ /D<<%
+ /OFF[\OBJ@OCG@print]%
+ /AS[%
+ <<%
+ /Event/View%
+ /OCGs \OBJ@OCGs
+ /Category[/View]%
+ >>%
+ <<%
+ /Event/Print%
+ /OCGs \OBJ@OCGs
+ /Category[/Print]%
+ >>%
+ <<%
+ /Event/Export%
+ /OCGs \OBJ@OCGs
+ /Category[/Print]%
+ >>%
+ ]%
+ >>%
+ >>%
+ >>%
+ }%
+ \@pdfm@mark{%
+ put @resources <<%
+ /Properties<<%
+ /OCView \OBJ@OCG@view
+ /OCPrint \OBJ@OCG@print
+ >>%
+ >>%
+ }%
+ \AtBeginDocument{%
+ \def\Hy@colorlink#1{%
+ \begingroup
+ \ifHy@ocgcolorlinks
+ \def\Hy@ocgcolor{#1}%
+ \setbox0=\color@hbox
+ \else
+ \HyColor@UseColor#1%
+ \fi
+ }%
+ \def\Hy@endcolorlink{%
+ \ifHy@ocgcolorlinks
+ \color@endbox
+ \mbox{%
+ \@pdfm@mark{content /OC/OCPrint BDC}%
+ \rlap{\copy0}%
+ \@pdfm@mark{content EMC/OC/OCView BDC}%
+ \begingroup
+ \expandafter\HyColor@UseColor\Hy@ocgcolor
+ \box0 %
+ \endgroup
+ \@pdfm@mark{content EMC}%
+ }%
+ \fi
+ \endgroup
+ }%
+ }%
+\else
+ \Hy@DisableOption{ocgcolorlinks}%
+\fi
\def\Hy@undefinedname{UNDEFINED}
\def\hyper@linkstart#1#2{%
\protected@edef\Hy@testname{#2}%
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def
index 971eb187bf0..e911cd83d8e 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def
@@ -24,14 +24,14 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvips.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for dvips]
+\def\literalps@out#1{\special{ps:SDict begin #1 end}}%
+\def\headerps@out#1{\special{! #1}}%
\input{pdfmark.def}%
\ifx\@pdfproducer\relax
\def\@pdfproducer{dvips + Distiller}%
\fi
-\def\literalps@out#1{\special{ps:SDict begin #1 end}}%
-\def\headerps@out#1{\special{! #1}}%
\providecommand*\@pdfborder{0 0 1}
\providecommand*\@pdfborderstyle{}
\providecommand*\@pdfview{XYZ}
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
index 4d6675957ce..cbe393a29dd 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvipson.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for dvipsone]
\providecommand*\@pdfborder{0 0 1}
\providecommand*\@pdfborderstyle{}
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
index 7fa6400b0c7..b4513608c1f 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdviwind.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for dviwindo]
\def\Hy@PutCatalog#1{%
\pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} << #1 >>}}%
diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
index 4ac6e978500..be02386b819 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}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for pdfTeX]
\let\Hy@PutCatalog\pdfcatalog
\ifHy@pagelabels
@@ -115,6 +115,11 @@
PDF version is not set, because pdfTeX is too old (<1.10a)%
}%
}{%
+ \ifHy@ocgcolorlinks
+ \ifnum\Hy@pdfminorversion<5 %
+ \setkeys{Hyp}{pdfversion=1.5}%
+ \fi
+ \fi
\ifHy@setpdfversion
\ifnum\Hy@pdfminorversion=\Hy@pdfversion\relax
\else
@@ -126,8 +131,110 @@
}%
\fi
\edef\Hy@pdfversion{\number\Hy@pdfminorversion}%
- \Hy@DisableOption{pdfversion}%
}
+\Hy@DisableOption{pdfversion}%
+\ifHy@ocgcolorlinks
+ \immediate\pdfobj{%
+ <<%
+ /Type/OCG%
+ /Name(View)%
+ /Usage<<%
+ /Print<<%
+ /PrintState/OFF%
+ >>%
+ /View<<%
+ /ViewState/ON%
+ >>%
+ >>%
+ >>%
+ }%
+ \edef\OBJ@OCG@view{\the\pdflastobj\space 0 R}%
+ \immediate\pdfobj{%
+ <<%
+ /Type/OCG%
+ /Name(Print)%
+ /Usage<<%
+ /Print<<%
+ /PrintState/ON%
+ >>%
+ /View<<%
+ /ViewState/OFF%
+ >>%
+ >>%
+ >>%
+ }%
+ \edef\OBJ@OCG@print{\the\pdflastobj\space 0 R}%
+ \immediate\pdfobj{%
+ [%
+ \OBJ@OCG@view\space\OBJ@OCG@print
+ ]%
+ }%
+ \edef\OBJ@OCGs{\the\pdflastobj\space 0 R}%
+ \pdfcatalog{%
+ /OCProperties<<%
+ /OCGs \OBJ@OCGs
+ /D<<%
+ /OFF[\OBJ@OCG@print]%
+ /AS[%
+ <<%
+ /Event/View%
+ /OCGs \OBJ@OCGs
+ /Category[/View]%
+ >>%
+ <<%
+ /Event/Print%
+ /OCGs \OBJ@OCGs
+ /Category[/Print]%
+ >>%
+ <<%
+ /Event/Export%
+ /OCGs \OBJ@OCGs
+ /Category[/Print]%
+ >>%
+ ]%
+ >>%
+ >>%
+ }%
+ \begingroup
+ \edef\x{\endgroup
+ \pdfpageresources{%
+ /Properties<<%
+ /OCView \OBJ@OCG@view
+ /OCPrint \OBJ@OCG@print
+ >>%
+ }%
+ }%
+ \x
+ \AtBeginDocument{%
+ \def\Hy@colorlink#1{%
+ \begingroup
+ \ifHy@ocgcolorlinks
+ \def\Hy@ocgcolor{#1}%
+ \setbox0=\color@hbox
+ \else
+ \HyColor@UseColor#1%
+ \fi
+ }%
+ \def\Hy@endcolorlink{%
+ \ifHy@ocgcolorlinks
+ \color@endbox
+ \mbox{%
+ \pdfliteral page{/OC/OCPrint BDC}%
+ \rlap{\copy0}%
+ \pdfliteral page{EMC/OC/OCView BDC}%
+ \begingroup
+ \expandafter\HyColor@UseColor\Hy@ocgcolor
+ \box0 %
+ \endgroup
+ \pdfliteral page{EMC}%
+ }%
+ \fi
+ \endgroup
+ }%
+ }%
+\else
+ \Hy@DisableOption{ocgcolorlinks}%
+\fi
\def\setpdflinkmargin#1{\pdflinkmargin#1}
\ifx\pdfstartlink\@undefined% less than version 14
\let\pdfstartlink\pdfannotlink
@@ -199,7 +306,8 @@
}{%
\edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}%
}%
- \find@pdflink{#1}{#2}#3\close@pdflink
+ \find@pdflink{#1}{#2}#3%
+ \close@pdflink
}
\let\CurrentBorderColor\@linkbordercolor
\def\hyper@linkurl#1#2{%
@@ -611,7 +719,8 @@
>>%
}%
\relax
- \Hy@colorlink\@menucolor#2\close@pdflink
+ \Hy@colorlink\@menucolor#2%
+ \close@pdflink
}%
}
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum
diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg
index d3544cfc16b..63ac510b717 100644
--- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg
+++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{htex4ht.cfg}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref configuration file for TeX4ht]
\IfFileExists{\jobname.cfg}{\endinput}{}
\Preamble{html}
diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def
index 0cb48dabdfb..51ee4340922 100644
--- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def
+++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{htex4ht.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for TeX4ht]
\@ifpackageloaded{tex4ht}{%
\typeout{hyperref tex4ht: tex4ht already loaded}%
diff --git a/Master/texmf-dist/tex/latex/hyperref/htexture.def b/Master/texmf-dist/tex/latex/hyperref/htexture.def
index 5efd1d77bcb..1853e69490f 100644
--- a/Master/texmf-dist/tex/latex/hyperref/htexture.def
+++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{htexture.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for Textures]
\begingroup
\obeylines %
diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def
index 5745045fa45..d1cc11df603 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hvtex.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for VTeX in PDF/PS mode]
\edef\Hy@VTeXversion{%
\ifx\VTeXversion\@undefined
diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def
index f2ed5054ba8..cd5342e2ea2 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hvtexhtml.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for VTeX in HTML mode]
\RequirePackage{vtexhtml}
\newif\if@Localurl
diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def
index 89bfade9877..346846a41e7 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hvtexmrk.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)]
\input{pdfmark.def}%
\ifx\@pdfproducer\relax
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index 777459a5046..77e0e906700 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hyperref}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hypertext links for LaTeX]
\begingroup
\@makeother\`%
@@ -129,6 +129,7 @@
\newif\ifHy@nesting
\newif\ifHy@newwindowset
\newif\ifHy@newwindow
+\newif\ifHy@ocgcolorlinks
\newif\ifHy@pageanchor
\newif\ifHy@pagelabels
\newif\ifHy@pdfpagehidden
@@ -2363,6 +2364,21 @@
\let\@pdfborderstyle\@empty
\fi
}
+\define@key{Hyp}{ocgcolorlinks}[true]{%
+ \Hy@boolkey{ocgcolorlinks}{#1}%
+}
+\AtBeginDocument{%
+ \begingroup
+ \@ifundefined{OBJ@OCG@view}{%
+ \ifHy@ocgcolorlinks
+ \Hy@Warning{%
+ Driver does not support `ocgcolorlinks',\MessageBreak
+ using `colorlinks' instead%
+ }%
+ \fi
+ }{}%
+ \endgroup
+}
\define@key{Hyp}{frenchlinks}[true]{%
\Hy@boolkey{frenchlinks}{#1}%
}
@@ -2768,9 +2784,9 @@
\Hy@DisableOption{nolinks}%
\Hy@DisableOption{final}%
}
-\Hy@DisableOption{pdfversion}%
\Hy@DisableOption{pdfa}
\ifHy@pdfa
+ \setkeys{Hyp}{pdfversion=1.4}%
\def\Hy@Acrobatmenu#1#2{%
\leavevmode
\begingroup
@@ -3017,6 +3033,9 @@
\Hy@DisableOption{latex2html}
\Hy@DisableOption{ps2pdf}
\Hy@DisableOption{xetex}
+\AtEndOfPackage{%
+ \Hy@DisableOption{pdfversion}%
+}
\def\WriteBookmarks{0}
\def\@bookmarkopenstatus#1{%
\ifHy@bookmarksopen
@@ -3047,6 +3066,20 @@
\fi
\Hy@DisableOption{bookmarks}
\AtBeginDocument{%
+ \ifHy@ocgcolorlinks
+ \setkeys{Hyp}{colorlinks}%
+ \ifHy@pdfa
+ \Hy@Warning{%
+ PDF/A: Optional Content Groups are prohibited,\MessageBreak
+ using `colorlinks' instead of `ocgcolorlinks'%
+ }%
+ \Hy@ocgcolorlinksfalse
+ \fi
+ \fi
+ \ifHy@ocgcolorlinks
+ \else
+ \Hy@DisableOption{ocgcolorlinks}%
+ \fi
\ifHy@colorlinks
\ifHy@typexml
\else
@@ -3054,7 +3087,7 @@
\fi
\def\Hy@colorlink#1{%
\begingroup
- \HyColor@UseColor#1%
+ \HyColor@UseColor#1%
}%
\def\Hy@endcolorlink{\endgroup}%
\Hy@Info{Link coloring ON}%
@@ -4120,6 +4153,16 @@
\else
\Hy@Info{Link coloring OFF}%
\fi
+\ifHy@ocgcolorlinks
+ \Hy@Info{Link coloring with OCG ON}%
+\else
+ \Hy@Info{Link coloring with OCG OFF}%
+\fi
+\ifHy@pdfa
+ \Hy@Info{PDF/A mode ON}%
+\else
+ \Hy@Info{PDF/A mode OFF}%
+\fi
\edef\hyper@hash{\string#}
\edef\hyper@tilde{\string~}
\edef\hyper@quote{\string"}
diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def
index 2bd830644c2..4c8c5c35eb5 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hypertex.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref driver for HyperTeX specials]
\def\PDF@FinishDoc{}
\def\PDF@SetupDoc{%
diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
index efadc65c000..e97c1d8b99a 100644
--- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{nohyperref}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Dummy hyperref (SR)]
\let\hyper@@anchor\@gobble
\def\hyper@link#1#2#3{#3}%
diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def
index f7602eb7624..3ed9bb2d6e7 100644
--- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def
+++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{pd1enc.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref: PDFDocEncoding definition (HO)]
\DeclareFontEncoding{PD1}{}{}
\DeclareTextCommand{\textLF}{PD1}{\012} % line feed
diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
index acdefa9d555..913c2da1c03 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}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref definitions for pdfmark specials]
\def\Hy@PutCatalog#1{%
\pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} << #1 >>}}%
diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def
index 8e301a2a2ef..2b29a407cbc 100644
--- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def
+++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{puarenc.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref: Additions to puenc.def for Arabi]
\DeclareTextCommand{\hamza}{PU}{\86\041}% 0621;afii57409;ARABIC LETTER HAMZA
\DeclareTextCommand{\alefmadda}{PU}{\86\042}% 0622;afii57410;ARABIC LETTER ALEF WITH MADDA ABOVE
diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc.def b/Master/texmf-dist/tex/latex/hyperref/puenc.def
index f123239ab7c..c46302202e0 100644
--- a/Master/texmf-dist/tex/latex/hyperref/puenc.def
+++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{puenc.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref: PDF Unicode definition (HO)]
\DeclareFontEncoding{PU}{}{}
\DeclareTextCommand{\textLF}{PU}{\80\012} % line feed
@@ -671,6 +671,23 @@
\DeclareTextCommand{\guilsinglleft}{PU}{\9040\071} % guilsinglleft
\DeclareTextCommand{\guilsinglright}{PU}{\9040\072} % guilsinglright
\DeclareTextCommand{\textfractionmark}{PU}{\9040\104} % fraction slash
+\DeclareTextCommand{\textzerosuperior}{PU}{\9040\160} % superscript zero
+\DeclareTextCommand{\textfoursuperior}{PU}{\9040\164} % superscript four
+\DeclareTextCommand{\textfivesuperior}{PU}{\9040\165} % superscript five
+\DeclareTextCommand{\textsixsuperior}{PU}{\9040\166} % superscript six
+\DeclareTextCommand{\textsevensuperior}{PU}{\9040\167} % superscript seven
+\DeclareTextCommand{\texteightsuperior}{PU}{\9040\170} % superscript eight
+\DeclareTextCommand{\textninesuperior}{PU}{\9040\171} % superscript nine
+\DeclareTextCommand{\textzeroinferior}{PU}{\9040\200} % subscript zero
+\DeclareTextCommand{\textoneinferior}{PU}{\9040\201} % subscript one
+\DeclareTextCommand{\texttwoinferior}{PU}{\9040\202} % subscript two
+\DeclareTextCommand{\textthreeinferior}{PU}{\9040\203} % subscript three
+\DeclareTextCommand{\textfourinferior}{PU}{\9040\204} % subscript four
+\DeclareTextCommand{\textfiveinferior}{PU}{\9040\205} % subscript five
+\DeclareTextCommand{\textsixinferior}{PU}{\9040\206} % subscript six
+\DeclareTextCommand{\textseveninferior}{PU}{\9040\207} % subscript seven
+\DeclareTextCommand{\texteightinferior}{PU}{\9040\210} % subscript eight
+\DeclareTextCommand{\textnineinferior}{PU}{\9040\211} % subscript nine
\DeclareTextCommand{\texteuro}{PU}{\9040\254} % Euro
\DeclareTextCommand{\textcelsius}{PU}{\9041\003}
\DeclareTextCommand{\textnumero}{PU}{\9041\026}
diff --git a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def
index bf8235be5c8..38428c9f462 100644
--- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def
+++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{puvnenc.def}
- [2008/04/17 v6.77q
+ [2008/04/20 v6.77s
Hyperref: Additions to puenc.def for VnTeX]
\DeclareTextCommand{\abreve}{PU}{\81\003}
\DeclareTextCommand{\acircumflex}{PU}{\80\342}