diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-22 23:43:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-22 23:43:01 +0000 |
commit | 8c5ee37ebbf28e964cc0683db17b319177ceb2f1 (patch) | |
tree | c240287494cae575dd95a8700eed95096d6dcfb0 /Master/texmf-dist/tex/latex | |
parent | 2da1229487e5586f88bbccd034057d5164b79863 (diff) |
hyperref update (22dec09)
git-svn-id: svn://tug.org/texlive/trunk@16482 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
21 files changed, 155 insertions, 59 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 4ba243ba9d6..4be1988aa19 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for dvipdfm] \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} \ifHy@pagelabels @@ -1413,17 +1413,17 @@ \expandafter\endinput \fi \newlength\Hy@SectionHShift -\def\Hy@SectionAnchor{% +\def\Hy@SectionAnchorHref#1{% \ifx\protect\@typeset@protect - \Hy@@SectionAnchor + \Hy@@SectionAnchor{#1}% \fi } -\DeclareRobustCommand*{\Hy@@SectionAnchor}{% +\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{% \leavevmode \hbox to 0pt{% \kern-\Hy@SectionHShift \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \hyper@anchorstart{#1}\hyper@anchorend }% \hss }% @@ -1433,7 +1433,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#1}% - \H@old@ssect{#1}{#2}{#3}{#4}{\Hy@SectionAnchor#5}% + \begingroup + \toks@{\H@old@ssect{#1}{#2}{#3}{#4}}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #5% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x } \let\H@old@schapter\@schapter \def\@schapter#1{% @@ -1500,7 +1508,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#3}% - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Hy@SectionAnchor#8}% + \begingroup + \toks@{\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #8% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x }{% \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index a601df853c9..f6e39c1714c 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for dvips] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def index 9b4cea859ac..372beab58a6 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for dvipsone] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index 34f5b4d334a..d15acc0d4fd 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for dviwindo] \begingroup \toks@\expandafter{\Hy@FirstPageHook}% diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index 000ecf43c98..4e3e26d60ac 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels @@ -1587,17 +1587,17 @@ \expandafter\endinput \fi \newlength\Hy@SectionHShift -\def\Hy@SectionAnchor{% +\def\Hy@SectionAnchorHref#1{% \ifx\protect\@typeset@protect - \Hy@@SectionAnchor + \Hy@@SectionAnchor{#1}% \fi } -\DeclareRobustCommand*{\Hy@@SectionAnchor}{% +\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{% \leavevmode \hbox to 0pt{% \kern-\Hy@SectionHShift \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \hyper@anchorstart{#1}\hyper@anchorend }% \hss }% @@ -1607,7 +1607,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#1}% - \H@old@ssect{#1}{#2}{#3}{#4}{\Hy@SectionAnchor#5}% + \begingroup + \toks@{\H@old@ssect{#1}{#2}{#3}{#4}}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #5% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x } \let\H@old@schapter\@schapter \def\@schapter#1{% @@ -1674,7 +1682,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#3}% - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Hy@SectionAnchor#8}% + \begingroup + \toks@{\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #8% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x }{% \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index c0559ee08cc..4f7895fa8e6 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v 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 a37d7a6d2e8..954f0df61cb 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for TeX4ht] \providecommand*{\XR@ext}{html} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/htexture.def b/Master/texmf-dist/tex/latex/hyperref/htexture.def index 2fb14718a83..65f49646118 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for Textures] \providecommand*{\XR@ext}{pdf} \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def index 2a9dca9a9c4..85a57d5709a 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for VTeX in PDF/PS mode] \providecommand*{\XR@ext}{pdf} \edef\Hy@VTeXversion{% @@ -788,17 +788,17 @@ \expandafter\endinput \fi \newlength\Hy@SectionHShift -\def\Hy@SectionAnchor{% +\def\Hy@SectionAnchorHref#1{% \ifx\protect\@typeset@protect - \Hy@@SectionAnchor + \Hy@@SectionAnchor{#1}% \fi } -\DeclareRobustCommand*{\Hy@@SectionAnchor}{% +\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{% \leavevmode \hbox to 0pt{% \kern-\Hy@SectionHShift \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \hyper@anchorstart{#1}\hyper@anchorend }% \hss }% @@ -808,7 +808,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#1}% - \H@old@ssect{#1}{#2}{#3}{#4}{\Hy@SectionAnchor#5}% + \begingroup + \toks@{\H@old@ssect{#1}{#2}{#3}{#4}}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #5% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x } \let\H@old@schapter\@schapter \def\@schapter#1{% @@ -875,7 +883,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#3}% - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Hy@SectionAnchor#8}% + \begingroup + \toks@{\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #8% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x }{% \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index d2a8aeea369..d878d2d2c3b 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for VTeX in HTML mode] \providecommand*{\XR@ext}{htm} \RequirePackage{vtexhtml} diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def index b244d0dda8a..fd830344ceb 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def index fe0d67999b3..d07ac467429 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hxetex.def} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for XeTeX] \HyPsd@LoadUnicode \Hy@unicodetrue @@ -1475,17 +1475,17 @@ \expandafter\endinput \fi \newlength\Hy@SectionHShift -\def\Hy@SectionAnchor{% +\def\Hy@SectionAnchorHref#1{% \ifx\protect\@typeset@protect - \Hy@@SectionAnchor + \Hy@@SectionAnchor{#1}% \fi } -\DeclareRobustCommand*{\Hy@@SectionAnchor}{% +\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{% \leavevmode \hbox to 0pt{% \kern-\Hy@SectionHShift \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \hyper@anchorstart{#1}\hyper@anchorend }% \hss }% @@ -1495,7 +1495,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#1}% - \H@old@ssect{#1}{#2}{#3}{#4}{\Hy@SectionAnchor#5}% + \begingroup + \toks@{\H@old@ssect{#1}{#2}{#3}{#4}}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #5% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x } \let\H@old@schapter\@schapter \def\@schapter#1{% @@ -1562,7 +1570,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#3}% - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Hy@SectionAnchor#8}% + \begingroup + \toks@{\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #8% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x }{% \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index f63ae3c99b3..17d01fae2e2 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -358,7 +358,7 @@ \let\mbox\@empty \def\halign{\pdfstringdefWarn\halign\@gobble}% \let\ignorespaces\HyPsd@ignorespaces - \let\Hy@SectionAnchor\@empty + \let\Hy@SectionAnchorHref\@gobble \ifHy@CJKbookmarks \HyPsd@CJKhook \fi diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index 072a60509fc..c9b16992de9 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref driver for HyperTeX specials] \providecommand*{\XR@ext}{dvi} \def\PDF@FinishDoc{} @@ -136,17 +136,17 @@ \def\@Reset[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} \def\@Submit[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} \newlength\Hy@SectionHShift -\def\Hy@SectionAnchor{% +\def\Hy@SectionAnchorHref#1{% \ifx\protect\@typeset@protect - \Hy@@SectionAnchor + \Hy@@SectionAnchor{#1}% \fi } -\DeclareRobustCommand*{\Hy@@SectionAnchor}{% +\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{% \leavevmode \hbox to 0pt{% \kern-\Hy@SectionHShift \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \hyper@anchorstart{#1}\hyper@anchorend }% \hss }% @@ -156,7 +156,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#1}% - \H@old@ssect{#1}{#2}{#3}{#4}{\Hy@SectionAnchor#5}% + \begingroup + \toks@{\H@old@ssect{#1}{#2}{#3}{#4}}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #5% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x } \let\H@old@schapter\@schapter \def\@schapter#1{% @@ -223,7 +231,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#3}% - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Hy@SectionAnchor#8}% + \begingroup + \toks@{\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #8% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x }{% \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% diff --git a/Master/texmf-dist/tex/latex/hyperref/nameref.sty b/Master/texmf-dist/tex/latex/hyperref/nameref.sty index 32270fb3f4b..253404b6460 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nameref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nameref.sty @@ -20,9 +20,9 @@ %% given in the file `manifest.txt'. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{nameref} - [2009/12/08 v2.34 Cross-referencing by name of section]% + [2009/12/18 v2.35 Cross-referencing by name of section]% \RequirePackage{refcount}[2006/02/12] -\RequirePackage{gettitlestring}[2009/12/08] +\RequirePackage{gettitlestring}[2009/12/18] \def\strip@period#1.\relax#2\@@@{#1} \newif\ifNR@showkeys \NR@showkeysfalse diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index 0dcc4f15957..75a20d0e191 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v 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 c87af38569a..0806c10a924 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref: PDFDocEncoding definition (HO)] \DeclareFontEncoding{PD1}{}{} \DeclareTextAccent{\`}{PD1}{\textasciigrave} diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def index 3237b36a25b..b757c144734 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref definitions for pdfmark specials] \begingroup \toks@\expandafter{\Hy@FirstPageHook}% @@ -1605,17 +1605,17 @@ \expandafter\endinput \fi \newlength\Hy@SectionHShift -\def\Hy@SectionAnchor{% +\def\Hy@SectionAnchorHref#1{% \ifx\protect\@typeset@protect - \Hy@@SectionAnchor + \Hy@@SectionAnchor{#1}% \fi } -\DeclareRobustCommand*{\Hy@@SectionAnchor}{% +\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{% \leavevmode \hbox to 0pt{% \kern-\Hy@SectionHShift \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \hyper@anchorstart{#1}\hyper@anchorend }% \hss }% @@ -1625,7 +1625,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#1}% - \H@old@ssect{#1}{#2}{#3}{#4}{\Hy@SectionAnchor#5}% + \begingroup + \toks@{\H@old@ssect{#1}{#2}{#3}{#4}}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #5% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x } \let\H@old@schapter\@schapter \def\@schapter#1{% @@ -1692,7 +1700,15 @@ \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% \setlength{\Hy@SectionHShift}{#3}% - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Hy@SectionAnchor#8}% + \begingroup + \toks@{\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}% + \toks\tw@\expandafter{% + \expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% + #8% + }% + \edef\x{\endgroup + \the\toks@{\the\toks\tw@}% + }\x }{% \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% }% diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index 08eb8ccf50e..2fa7648824a 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v 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 57c3976c501..b121f0ce3a4 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref: PDF Unicode definition (HO)] \DeclareFontEncoding{PU}{}{} \DeclareTextCommand{\`}{PU}[1]{#1\83\000}% U+0300 diff --git a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def index 743dd910a36..c8ef6ba7544 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} - [2009/12/17 v6.79v + [2009/12/18 v6.79v Hyperref: Additions to puenc.def for VnTeX] \DeclareTextCommand{\abreve}{PU}{\81\003} \DeclareTextCommand{\acircumflex}{PU}{\80\342} |