From f13fb3da96640748f7fd22480d3f45215a1248d3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 27 Nov 2009 01:31:32 +0000 Subject: hyperref update (26nov09) git-svn-id: svn://tug.org/texlive/trunk@16190 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 45 ++++++++++++++++------ Master/texmf-dist/tex/latex/hyperref/hdvips.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdvipson.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 45 ++++++++++++++++------ Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg | 2 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.def | 2 +- Master/texmf-dist/tex/latex/hyperref/htexture.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtex.def | 45 ++++++++++++++++------ Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 2 +- Master/texmf-dist/tex/latex/hyperref/hypertex.def | 45 ++++++++++++++++------ .../texmf-dist/tex/latex/hyperref/nohyperref.sty | 10 ++++- Master/texmf-dist/tex/latex/hyperref/pd1enc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 45 ++++++++++++++++------ Master/texmf-dist/tex/latex/hyperref/puarenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puvnenc.def | 2 +- 19 files changed, 192 insertions(+), 69 deletions(-) (limited to 'Master/texmf-dist/tex/latex/hyperref') diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 433437f4e26..bc2640618b6 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/11/20 v6.79g + [2009/11/25 v6.79h Hyperref driver for dvipdfm] \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} \ifHy@pagelabels @@ -1423,12 +1423,22 @@ \fi \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% - \H@old@ssect{#1}{#2}{#3}{#4}{#5}% - \phantomsection + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \H@old@ssect{#1}{#2}{#3}{#4}{% + \leavevmode + \hbox to 0pt{% + \dimen@=#1\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #5% + }% } \let\H@old@schapter\@schapter \def\@schapter#1{% - \H@old@schapter{#1}% \begingroup \let\@mkboth\@gobbletwo \Hy@GlobalStepCount\Hy@linkcounter @@ -1437,6 +1447,7 @@ \hyper@anchorstart{\@currentHref}\hyper@anchorend }% \endgroup + \H@old@schapter{#1}% } \@ifundefined{@chapter}{}{% \let\Hy@org@chapter\@chapter @@ -1473,25 +1484,37 @@ } \let\H@old@spart\@spart \def\@spart#1{% - \H@old@spart{#1}% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{part*.\the\Hy@linkcounter}% \Hy@raisedlink{% \hyper@anchorstart{\@currentHref}\hyper@anchorend }% + \H@old@spart{#1}% } \let\H@old@sect\@sect \def\@sect#1#2#3#4#5#6[#7]#8{% \ifnum #2>\c@secnumdepth + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi + {% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% - \fi - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% - \ifnum #2>\c@secnumdepth - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{% + \leavevmode + \hbox to 0pt{% + \dimen@=#3\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #8% }% - \fi + }{% + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + }% } \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 2304d3e5cd0..0802c080393 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/11/20 v6.79g + [2009/11/25 v6.79h 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 b434feaab04..85ad2c199d2 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/11/20 v6.79g + [2009/11/25 v6.79h 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 123fcaba3ad..e17b22556f4 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/11/20 v6.79g + [2009/11/25 v6.79h 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 d0916607400..c235d89c7da 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/11/20 v6.79g + [2009/11/25 v6.79h Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels @@ -1615,12 +1615,22 @@ \fi \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% - \H@old@ssect{#1}{#2}{#3}{#4}{#5}% - \phantomsection + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \H@old@ssect{#1}{#2}{#3}{#4}{% + \leavevmode + \hbox to 0pt{% + \dimen@=#1\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #5% + }% } \let\H@old@schapter\@schapter \def\@schapter#1{% - \H@old@schapter{#1}% \begingroup \let\@mkboth\@gobbletwo \Hy@GlobalStepCount\Hy@linkcounter @@ -1629,6 +1639,7 @@ \hyper@anchorstart{\@currentHref}\hyper@anchorend }% \endgroup + \H@old@schapter{#1}% } \@ifundefined{@chapter}{}{% \let\Hy@org@chapter\@chapter @@ -1665,25 +1676,37 @@ } \let\H@old@spart\@spart \def\@spart#1{% - \H@old@spart{#1}% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{part*.\the\Hy@linkcounter}% \Hy@raisedlink{% \hyper@anchorstart{\@currentHref}\hyper@anchorend }% + \H@old@spart{#1}% } \let\H@old@sect\@sect \def\@sect#1#2#3#4#5#6[#7]#8{% \ifnum #2>\c@secnumdepth + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi + {% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% - \fi - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% - \ifnum #2>\c@secnumdepth - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{% + \leavevmode + \hbox to 0pt{% + \dimen@=#3\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #8% }% - \fi + }{% + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + }% } \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index cbd671551ae..63c2125655c 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/11/20 v6.79g + [2009/11/25 v6.79h 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 bd12b4a2bbc..f7035cc35f7 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/11/20 v6.79g + [2009/11/25 v6.79h 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 2bd4279edc4..9001e59eadf 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/11/20 v6.79g + [2009/11/25 v6.79h 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 b7776356ab7..8fb82be85e9 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/11/20 v6.79g + [2009/11/25 v6.79h Hyperref driver for VTeX in PDF/PS mode] \providecommand*{\XR@ext}{pdf} \edef\Hy@VTeXversion{% @@ -810,12 +810,22 @@ \fi \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% - \H@old@ssect{#1}{#2}{#3}{#4}{#5}% - \phantomsection + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \H@old@ssect{#1}{#2}{#3}{#4}{% + \leavevmode + \hbox to 0pt{% + \dimen@=#1\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #5% + }% } \let\H@old@schapter\@schapter \def\@schapter#1{% - \H@old@schapter{#1}% \begingroup \let\@mkboth\@gobbletwo \Hy@GlobalStepCount\Hy@linkcounter @@ -824,6 +834,7 @@ \hyper@anchorstart{\@currentHref}\hyper@anchorend }% \endgroup + \H@old@schapter{#1}% } \@ifundefined{@chapter}{}{% \let\Hy@org@chapter\@chapter @@ -860,25 +871,37 @@ } \let\H@old@spart\@spart \def\@spart#1{% - \H@old@spart{#1}% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{part*.\the\Hy@linkcounter}% \Hy@raisedlink{% \hyper@anchorstart{\@currentHref}\hyper@anchorend }% + \H@old@spart{#1}% } \let\H@old@sect\@sect \def\@sect#1#2#3#4#5#6[#7]#8{% \ifnum #2>\c@secnumdepth + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi + {% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% - \fi - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% - \ifnum #2>\c@secnumdepth - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{% + \leavevmode + \hbox to 0pt{% + \dimen@=#3\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #8% }% - \fi + }{% + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + }% } \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index 5f361bc4943..3baa457a712 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/11/20 v6.79g + [2009/11/25 v6.79h 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 dc6fb5d70ac..e186a8f4f0f 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/11/20 v6.79g + [2009/11/25 v6.79h 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/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index ddf19907831..f36901c07bb 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/11/20 v6.79g + [2009/11/25 v6.79h Hypertext links for LaTeX] \begingroup \@makeother\`% diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index 59e9bfe69ed..3dbf4e86bf2 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/11/20 v6.79g + [2009/11/25 v6.79h Hyperref driver for HyperTeX specials] \providecommand*{\XR@ext}{dvi} \def\PDF@FinishDoc{} @@ -137,12 +137,22 @@ \def\@Submit[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% - \H@old@ssect{#1}{#2}{#3}{#4}{#5}% - \phantomsection + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \H@old@ssect{#1}{#2}{#3}{#4}{% + \leavevmode + \hbox to 0pt{% + \dimen@=#1\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #5% + }% } \let\H@old@schapter\@schapter \def\@schapter#1{% - \H@old@schapter{#1}% \begingroup \let\@mkboth\@gobbletwo \Hy@GlobalStepCount\Hy@linkcounter @@ -151,6 +161,7 @@ \hyper@anchorstart{\@currentHref}\hyper@anchorend }% \endgroup + \H@old@schapter{#1}% } \@ifundefined{@chapter}{}{% \let\Hy@org@chapter\@chapter @@ -187,25 +198,37 @@ } \let\H@old@spart\@spart \def\@spart#1{% - \H@old@spart{#1}% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{part*.\the\Hy@linkcounter}% \Hy@raisedlink{% \hyper@anchorstart{\@currentHref}\hyper@anchorend }% + \H@old@spart{#1}% } \let\H@old@sect\@sect \def\@sect#1#2#3#4#5#6[#7]#8{% \ifnum #2>\c@secnumdepth + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi + {% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% - \fi - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% - \ifnum #2>\c@secnumdepth - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{% + \leavevmode + \hbox to 0pt{% + \dimen@=#3\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #8% }% - \fi + }{% + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + }% } \def\Hy@tempa{% \def\@addchap[##1]##2{% diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index 7a66f873a33..03d19adb9ad 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/11/20 v6.79g + [2009/11/25 v6.79h Dummy hyperref (SR)] \let\hyper@@anchor\@gobble \def\hyper@link#1#2#3{#3}% @@ -56,6 +56,14 @@ } \long\def\@gobbleopt[#1]{} \let\hyperpage\@empty +\let\NoHy@OrgRef\ref +\def\ref{% + \@ifstar\NoHy@OrgRef\NoHy@OrgRef +} +\let\NoHy@OrgPageRef\pageref +\def\pageref{% + \@ifstar\NoHy@OrgPageRef\NoHy@OrgPageRef +} \endinput %% %% End of file `nohyperref.sty'. diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def index 2476a46929c..47ff37b0618 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/11/20 v6.79g + [2009/11/25 v6.79h 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 54833bc3282..690dee0cb62 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/11/20 v6.79g + [2009/11/25 v6.79h Hyperref definitions for pdfmark specials] \begingroup \toks@\expandafter{\Hy@FirstPageHook}% @@ -1630,12 +1630,22 @@ \fi \let\H@old@ssect\@ssect \def\@ssect#1#2#3#4#5{% - \H@old@ssect{#1}{#2}{#3}{#4}{#5}% - \phantomsection + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \H@old@ssect{#1}{#2}{#3}{#4}{% + \leavevmode + \hbox to 0pt{% + \dimen@=#1\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #5% + }% } \let\H@old@schapter\@schapter \def\@schapter#1{% - \H@old@schapter{#1}% \begingroup \let\@mkboth\@gobbletwo \Hy@GlobalStepCount\Hy@linkcounter @@ -1644,6 +1654,7 @@ \hyper@anchorstart{\@currentHref}\hyper@anchorend }% \endgroup + \H@old@schapter{#1}% } \@ifundefined{@chapter}{}{% \let\Hy@org@chapter\@chapter @@ -1680,25 +1691,37 @@ } \let\H@old@spart\@spart \def\@spart#1{% - \H@old@spart{#1}% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{part*.\the\Hy@linkcounter}% \Hy@raisedlink{% \hyper@anchorstart{\@currentHref}\hyper@anchorend }% + \H@old@spart{#1}% } \let\H@old@sect\@sect \def\@sect#1#2#3#4#5#6[#7]#8{% \ifnum #2>\c@secnumdepth + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi + {% \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{section*.\the\Hy@linkcounter}% - \fi - \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% - \ifnum #2>\c@secnumdepth - \Hy@raisedlink{% - \hyper@anchorstart{\@currentHref}\hyper@anchorend + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{% + \leavevmode + \hbox to 0pt{% + \dimen@=#3\relax\kern-\dimen@ + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \hss + }% + #8% }% - \fi + }{% + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + }% } \expandafter\def\csname Parent-4\endcsname{} \expandafter\def\csname Parent-3\endcsname{} diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index 7bb966f4b2b..d7e216daf0a 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/11/20 v6.79g + [2009/11/25 v6.79h 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 89f5d5ce28f..eb8fd4adfa8 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/11/20 v6.79g + [2009/11/25 v6.79h 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 d27ec78b86b..45015920f0a 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/11/20 v6.79g + [2009/11/25 v6.79h Hyperref: Additions to puenc.def for VnTeX] \DeclareTextCommand{\abreve}{PU}{\81\003} \DeclareTextCommand{\acircumflex}{PU}{\80\342} -- cgit v1.2.3