diff options
author | Karl Berry <karl@freefriends.org> | 2008-04-25 16:55:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-04-25 16:55:22 +0000 |
commit | afed98026fd3beecf3c2604189684da46a4b378a (patch) | |
tree | f0d5d539402ac03c007fbc2b57166bfa88ac0670 /Master/texmf-dist/tex/latex/hyperref | |
parent | 50cb8838d9b17bec22be4d5c2d71828a8ad0dd17 (diff) |
hyperref update (24apr08)
git-svn-id: svn://tug.org/texlive/trunk@7647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref')
19 files changed, 114 insertions, 93 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 5f4a9f0acb9..63d26416bfa 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/20 v6.77s + [2008/04/22 v6.77t Hyperref driver for dvipdfm] \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} \ifHy@pagelabels diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index e911cd83d8e..4ea76ba8fa4 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvips.def} - [2008/04/20 v6.77s + [2008/04/22 v6.77t Hyperref driver for dvips] \def\literalps@out#1{\special{ps:SDict begin #1 end}}% \def\headerps@out#1{\special{! #1}}% @@ -37,7 +37,7 @@ \providecommand*\@pdfview{XYZ} \providecommand*\@pdfviewparams{ H.V} \def\Hy@BorderArrayPatch{BorderArrayPatch} -\AtBeginShipoutFirst{% +\g@addto@macro\Hy@FirstPageHook{% \headerps@out{% /DvipsToPDF{72.27 mul Resolution div} def% /PDFToDvips{72.27 div Resolution mul} def% @@ -78,15 +78,7 @@ HyperBorder add /pdf@urx exch def % currentpoint exch pop vsize 72 sub % exch DvipsToPDF sub /pdf@voff exch def% - } def % - systemdict /pdfmark known% - {% - userdict /?pdfmark systemdict /exec get put% - }{% - userdict /?pdfmark systemdict /pop get put % - userdict /pdfmark systemdict /cleartomark get put% - }% - ifelse% + } def% }% } \AfterBeginDocument{% diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def index cbe393a29dd..1af801080cc 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -24,16 +24,16 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipson.def} - [2008/04/20 v6.77s + [2008/04/22 v6.77t Hyperref driver for dvipsone] \providecommand*\@pdfborder{0 0 1} \providecommand*\@pdfborderstyle{} +\def\literalps@out#1{\special{ps:#1}}% +\def\headerps@out#1{\special{headertext=#1}}% \input{pdfmark.def}% \ifx\@pdfproducer\relax \def\@pdfproducer{dvipsone + Distiller}% \fi -\def\literalps@out#1{\special{ps:#1}}% -\def\headerps@out#1{\special{! #1}}% \def\PDF@FinishDoc{% \Hy@UseMaketitleInfos \special{PDF: Keywords \@pdfkeywords}% @@ -142,52 +142,45 @@ 72 add exch pop null exch null% } \def\Hy@BorderArrayPatch{BorderArrayPatch} -\special{headertext=% - /DvipsToPDF { 65781 div } def% - /PDFToDvips { 65781 mul } def% - /BPToDvips{65781 mul}def% - /HyperBorder { 1 PDFToDvips } def% - /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def% +\g@addto@macro\Hy@FirstPageHook{% + \headerps@out{% + /DvipsToPDF { 65781 div } def% + /PDFToDvips { 65781 mul } def% + /BPToDvips{65781 mul}def% + /HyperBorder { 1 PDFToDvips } def% + /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def% /BorderArrayPatch{% [exch{% dup dup type/integertype eq exch type/realtype eq or% {BPToDvips}if% }forall]% }def% - /H.S {% - currentpoint % - HyperBorder add /pdf@lly exch def % - dup DvipsToPDF 72 add /pdf@hoff exch def % - HyperBorder sub /pdf@llx exch def% - } def% - /H.L {% - 2 sub % - PDFToDvips /HyperBase exch def % - currentpoint % - HyperBase sub /pdf@ury exch def% - /pdf@urx exch def% - } def% - /H.A {% - H.L % - currentpoint exch pop % - HyperBase sub % baseline skip - DvipsToPDF /pdf@voff exch def% - } def% - /H.R {% - currentpoint % - HyperBorder sub /pdf@ury exch def % - HyperBorder add /pdf@urx exch def % - currentpoint exch pop DvipsToPDF /pdf@voff exch def% - } def % - systemdict% - /pdfmark known% - {% - userdict /?pdfmark /exec load put% - }{% - userdict /?pdfmark /pop load put % - userdict /pdfmark systemdict /cleartomark get put% + /H.S {% + currentpoint % + HyperBorder add /pdf@lly exch def % + dup DvipsToPDF 72 add /pdf@hoff exch def % + HyperBorder sub /pdf@llx exch def% + } def% + /H.L {% + 2 sub % + PDFToDvips /HyperBase exch def % + currentpoint % + HyperBase sub /pdf@ury exch def% + /pdf@urx exch def% + } def% + /H.A {% + H.L % + currentpoint exch pop % + HyperBase sub % baseline skip + DvipsToPDF /pdf@voff exch def% + } def% + /H.R {% + currentpoint % + HyperBorder sub /pdf@ury exch def % + HyperBorder add /pdf@urx exch def % + currentpoint exch pop DvipsToPDF /pdf@voff exch def% + } def% }% - ifelse% } \endinput %% diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index b4513608c1f..7212b6074cd 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -24,8 +24,24 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdviwind.def} - [2008/04/20 v6.77s + [2008/04/22 v6.77t 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% + }% + ifelse% + }% + \the\toks@ + }% +\endgroup \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 be02386b819..ee42c979d8c 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/20 v6.77s + [2008/04/22 v6.77t Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index 63ac510b717..01a12cf2b0f 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/20 v6.77s + [2008/04/22 v6.77t 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 51ee4340922..6e590bfbbb4 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/20 v6.77s + [2008/04/22 v6.77t 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 1853e69490f..f37198eba97 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/20 v6.77s + [2008/04/22 v6.77t Hyperref driver for Textures] \begingroup \obeylines % @@ -42,7 +42,7 @@ end% }% }% -\AtBeginShipoutFirst{% +\g@addto@macro\Hy@FirstPageHook{% \headerps@out{% /betterpdfmark {% systemdict begin % @@ -55,14 +55,7 @@ }ifelse % end% }def\Hy@ps@CR - __pdfmark__ not{/pdfmark /betterpdfmark load def}if % - systemdict /pdfmark known% - {% - userdict /?pdfmark systemdict /load get put% - }{% - userdict /?pdfmark systemdict /pop get put% - }% - ifelse% + __pdfmark__ not{/pdfmark /betterpdfmark load def}if% }% end of \headerps@out }% end of \AtBeginShipoutFirst \input{pdfmark.def}% diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def index d1cc11df603..eab38c38168 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/20 v6.77s + [2008/04/22 v6.77t 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 cd5342e2ea2..56d41429874 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/20 v6.77s + [2008/04/22 v6.77t 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 346846a41e7..83a7a34590f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -24,8 +24,10 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexmrk.def} - [2008/04/20 v6.77s + [2008/04/22 v6.77t Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] +\def\literalps@out#1{\special{pS:#1}}% +\def\headerps@out#1{\immediate\special{pS:#1}}% \input{pdfmark.def}% \ifx\@pdfproducer\relax \ifnum\OpMode=\@ne @@ -34,13 +36,11 @@ \def\@pdfproducer{VTeX + Distiller}% \fi \fi -\def\literalps@out#1{\special{pS:#1}}% -\def\headerps@out#1{\immediate\special{pS:#1}}% \providecommand*\@pdfborder{0 0 1} \providecommand*\@pdfborderstyle{} \providecommand*\@pdfview{XYZ} \providecommand*\@pdfviewparams{ H.V} -\AtBeginShipoutFirst{% +\g@addto@macro\Hy@FirstPageHook{% \headerps@out{% /vsize {\Hy@pageheight} def% /HyperBorder {1} def% @@ -78,15 +78,7 @@ /pdf@urx exch def % currentpoint exch pop vsize 72 sub add% /pdf@voff exch def% - } def % - systemdict /pdfmark known% - {% - userdict /?pdfmark systemdict /exec get put% - }{% - userdict /?pdfmark systemdict /pop get put % - userdict /pdfmark systemdict /cleartomark get put% - }% - ifelse% + } def% }% } \endinput diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index 77e0e906700..58b79003aad 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/20 v6.77s + [2008/04/22 v6.77t Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -341,6 +341,7 @@ \let\@mkboth\@gobbletwo \let\ref\HyPsd@ref \let\pageref\HyPsd@pageref + \let\nameref\HyPsd@nameref \let\autoref\HyPsd@autoref \let\leavevmode\@empty \let\mbox\@empty @@ -898,7 +899,25 @@ \expandafter\expandafter\expandafter\expandafter \expandafter\expandafter\expandafter\@car \expandafter\expandafter\expandafter\@gobble - \csname r@#1\endcsname\@nil + \csname r@#1\endcsname{}\@nil + \fi +} +\def\HyPsd@nameref#1{\HyPsd@@nameref#1*\END} +\def\HyPsd@@nameref#1*#2\END{% + \ifx\\#2\\% + \HyPsd@@@nameref{#1}% + \else + \expandafter\HyPsd@@@nameref + \fi +} +\def\HyPsd@@@nameref#1{% + \expandafter\ifx\csname r@#1\endcsname\relax + ??% + \else + \expandafter\expandafter\expandafter\expandafter + \expandafter\expandafter\expandafter\@car + \expandafter\expandafter\expandafter\@gobbletwo + \csname r@#1\endcsname{}{}\@nil \fi } \def\HyPsd@autoref#1{\HyPsd@@autoref#1*\END} diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index 4c8c5c35eb5..6f97861c2fe 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/20 v6.77s + [2008/04/22 v6.77t 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 e97c1d8b99a..ba6539db427 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/20 v6.77s + [2008/04/22 v6.77t 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 3ed9bb2d6e7..ff154e77ed1 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/20 v6.77s + [2008/04/22 v6.77t 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 913c2da1c03..bdbcf4d394d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -24,8 +24,24 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pdfmark.def} - [2008/04/20 v6.77s + [2008/04/22 v6.77t Hyperref definitions for pdfmark specials] +\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% + }% + ifelse% + }% + \the\toks@ + }% +\endgroup \def\Hy@PutCatalog#1{% \pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} << #1 >>}}% } @@ -708,7 +724,7 @@ \endgroup } \long\def\@Form[#1]{% -\AtBeginShipoutFirst{% +\g@addto@macro\Hy@FirstPageHook{% \headerps@out{% [% /_objdef{pdfDocEncoding}% diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index 2b29a407cbc..b1085bcafae 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/20 v6.77s + [2008/04/22 v6.77t 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 c46302202e0..420fd3699ad 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/20 v6.77s + [2008/04/22 v6.77t Hyperref: PDF Unicode definition (HO)] \DeclareFontEncoding{PU}{}{} \DeclareTextCommand{\textLF}{PU}{\80\012} % line feed diff --git a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def index 38428c9f462..fdfb1cbb3b9 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/20 v6.77s + [2008/04/22 v6.77t Hyperref: Additions to puenc.def for VnTeX] \DeclareTextCommand{\abreve}{PU}{\81\003} \DeclareTextCommand{\acircumflex}{PU}{\80\342} |