diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-24 22:21:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-24 22:21:49 +0000 |
commit | 1984fffaddfd95577875b13b1b44498a921a0004 (patch) | |
tree | 8909691dc26a52e09e7cf46d46603f8b74bc772d /Master/texmf-dist/tex/latex | |
parent | 0b777811ed9a0adad9edc8c455789a7080217610 (diff) |
hyperref update (24may09)
git-svn-id: svn://tug.org/texlive/trunk@13445 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
21 files changed, 143 insertions, 83 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/bmhydoc.sty b/Master/texmf-dist/tex/latex/hyperref/bmhydoc.sty new file mode 100644 index 00000000000..a250f2261e6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/bmhydoc.sty @@ -0,0 +1,104 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{bmhydoc} + [2007/03/19 Bookmark section with hyperref documentation (HO)] + +% This package adds bookmark entries that are added at the end +% and lists and links the PDF files of the hyperref documentation. +% Only pdfTeX in PDF mode is supported by this package. +% +% History +% +% 2005/08/27 +% * First version +% 2006/02/08 +% * Comments added +% * \HyperrefOverview +% 2007/03/19 +% * Use package bookmark that also support other drivers +% than pdfTeX. + +\RequirePackage[atend]{bookmark}[2007/04/04] + +\BookmarkAtEnd{% + \bookmarksetup{% + startatroot,% + open,% + openlevel=2% + }% +} + +\newcommand*{\@bmhydoc}[4][]{% + \BookmarkAtEnd{% + \bookmark[% + gotor={#3},% + color={[rgb]{0,0,1}},% + level={#2},% + view={XYZ null null null},% + #1,% + ]{#4}% + }% +} +\AtEndDocument{% + \@bmhydoc[open=false]{0}{manual.pdf}{Hyperref manual} + \@bmhydoc{1}{README.pdf}{README} + \@bmhydoc{1}{ChangeLog.pdf}{ChangeLog} + \@bmhydoc{1}{options.pdf}{Options} + \@bmhydoc{1}{slides.pdf}{Bookmark talk, slides} + \@bmhydoc{2}{paper.pdf}{Bookmark talk, paper} + \@bmhydoc{1}{hyperref.pdf}{Sources: hyperref.dtx} + \@bmhydoc{2}{backref.pdf}{backref.dtx} + \@bmhydoc{2}{nameref.pdf}{nameref.dtx} +} + +\newcommand*{\HyperrefOverview}{% + \def\bmhydoc@title{Documentation overview for \texttt{hyperref}}% + \@ifstar{% + % \phantomsection + % \addcontentsline{toc}{section}{\bmhydoc@title}% + \section*{\bmhydoc@title}% + \@HyperrefOverview + }{% + \section{\bmhydoc@title}% + \@HyperrefOverview + }% +} +\def\@HyperrefOverview{% + The documentation for package \texttt{hyperref} consists + of several files: + \begingroup + \newcommand*{\entry}[2]{% + \item[\href{file:##1}{##2}]% + \ignorespaces + }% + \begin{description} + \entry{manual.pdf}{\textbf{Manual}} + The \textbf{USER MANUAL} (also available as HTML). + \entry{README.pdf}{\textbf{README}} + The \textbf{README} file (also available as text file). + Here information is collected that is not yet + in the manual: new features, package compatibility, + limitations, known problems, \dots + \entry{ChangeLog.pdf}{ChangeLog} + This file records the version history + (also available as text file). + \entry{options.pdf}{Options} + This file provides a short option summary. + \entry{slides.pdf}{Bookmark talk, slides} + Slides for the talk ``PDF information and navigation elements with + hyperref, pdfTeX and thumbpdf'' at Euro\TeX~1999. + \entry{paper.pdf}{Bookmark talk, paper} + The paper version of the talk. + \end{description} + Source code documentation: + \begin{description} + \entry{hyperref.pdf}{hyperref.dtx} + This is the source code documentation for hyperref (this file). + \entry{backref.pdf}{backref.dtx} + ``Back referencing from bibliographical citations'' + \entry{nameref.pdf}{nameref.dtx} + ``Section name references in \LaTeX'' + \end{description} + \endgroup +} + +\endinput diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 6d50e2f92a7..f321cd0ca8c 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/05/01 v6.78r + [2009/05/23 v6.78s Hyperref driver for dvipdfm] \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} \ifHy@pagelabels @@ -1210,13 +1210,13 @@ \fi \def\Hy@writebookmark#1#2#3#4#5{% % section number, text, label, level, file - \ifx\WriteBookmarks\relax% - \else - \ifnum#4>\Hy@bookmarksdepth\relax + \ifx\WriteBookmarks\relax% \else - \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \ifnum#4>\Hy@bookmarksdepth\relax + \else + \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \fi \fi - \fi } \def\Hy@currentbookmarklevel{0} \def\Hy@numberline#1{#1 } diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 37398dc301a..f094c416bb9 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/05/01 v6.78r + [2009/05/23 v6.78s 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 89d4e1873a1..8d8923079e0 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/05/01 v6.78r + [2009/05/23 v6.78s 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 5d9d4460828..e6b7c2b0edb 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/05/01 v6.78r + [2009/05/23 v6.78s 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 134115ff34a..424c5b5206e 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/05/01 v6.78r + [2009/05/23 v6.78s Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels @@ -1421,13 +1421,13 @@ \fi \def\Hy@writebookmark#1#2#3#4#5{% % section number, text, label, level, file - \ifx\WriteBookmarks\relax% - \else - \ifnum#4>\Hy@bookmarksdepth\relax + \ifx\WriteBookmarks\relax% \else - \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \ifnum#4>\Hy@bookmarksdepth\relax + \else + \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \fi \fi - \fi } \def\Hy@currentbookmarklevel{0} \def\Hy@numberline#1{#1 } diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index c1e92558fa5..b1f8c2d6625 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/05/01 v6.78r + [2009/05/23 v6.78s 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 62ecbd5dedd..c22c8cda184 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/05/01 v6.78r + [2009/05/23 v6.78s 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 4358b8de9e5..a1e8da0c396 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/05/01 v6.78r + [2009/05/23 v6.78s 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 7cc1c3e61a2..61896cd653a 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/05/01 v6.78r + [2009/05/23 v6.78s Hyperref driver for VTeX in PDF/PS mode] \providecommand*{\XR@ext}{pdf} \edef\Hy@VTeXversion{% @@ -581,13 +581,13 @@ } \def\Hy@writebookmark#1#2#3#4#5{% % section number, text, label, level, file - \ifx\WriteBookmarks\relax% - \else - \ifnum#4>\Hy@bookmarksdepth\relax + \ifx\WriteBookmarks\relax% \else - \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \ifnum#4>\Hy@bookmarksdepth\relax + \else + \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \fi \fi - \fi } \def\Hy@currentbookmarklevel{0} \def\Hy@numberline#1{#1 } diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index 163627a087b..721ccf156bb 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/05/01 v6.78r + [2009/05/23 v6.78s 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 45142a5e456..d4a1f342567 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/05/01 v6.78r + [2009/05/23 v6.78s 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/hylatex.ltx b/Master/texmf-dist/tex/latex/hyperref/hylatex.ltx deleted file mode 100644 index 7eb223db30d..00000000000 --- a/Master/texmf-dist/tex/latex/hyperref/hylatex.ltx +++ /dev/null @@ -1,43 +0,0 @@ -% -% hylatex.ltx -% Tanmoy Bhattacharya and Sebastian Rahtz, June 1995 -% -% Use this file to make a format which includes the -% hyperref package in every LaTeX job. -% -% In web2c 7-based TeX world, we create the format file with -% tex -ini \&latex hylatex.ltx -% and then use with -% tex \&hylatex -% -% In teTeX (TeX version 3.14159 (C version 6.1), LaTeX2e <1996/12/01> -% patch level 1), I create the format file with -% initex \&latex hylatex.ltx -% and then use with -% virtex \&hylatex -% -% This method is not supported by the LaTeX2e team, so -% I will try to find a better way. \AtBeginDocument does not -% work for reasons which I do not understand. -% -\makeatletter -\expandafter\everyjob\expandafter{\the\everyjob - \typeout{ ********* Hyperref Macros loaded ******* }} -% -\expandafter\let\csname REAL document\endcsname\document -% -\def\document{% - \endgroup -% -% NOTE: -% This setup sets up no options by default; -% change to suit your needs, by writing a hyperref.cfg control -% file. -% - \RequirePackage{hyperref} - \begingroup - \@endpefalse\csname REAL document\endcsname -} -\makeatother -\dump - diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index e023920e3d8..ebe18f56110 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/05/01 v6.78r + [2009/05/23 v6.78s Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -5685,7 +5685,6 @@ \def\addcontentsline#1#2#3{% toc extension, type, tag \begingroup \let\label\@gobble - \let\textlatin\@firstofone \ifx\@currentHref\@empty \Hy@Warning{% No destination for bookmark of \string\addcontentsline,% diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index 19231d7c9ea..e0a007927bb 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/05/01 v6.78r + [2009/05/23 v6.78s Hyperref driver for HyperTeX specials] \providecommand*{\XR@ext}{dvi} \def\PDF@FinishDoc{} diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index 16936ff9b24..2fd0c4fb242 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/05/01 v6.78r + [2009/05/23 v6.78s 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 a9a3d249dbe..5c395187c85 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/05/01 v6.78r + [2009/05/23 v6.78s 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 c47c2555a54..fe1d67b276b 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/05/01 v6.78r + [2009/05/23 v6.78s Hyperref definitions for pdfmark specials] \begingroup \toks@\expandafter{\Hy@FirstPageHook}% @@ -1443,13 +1443,13 @@ \fi \def\Hy@writebookmark#1#2#3#4#5{% % section number, text, label, level, file - \ifx\WriteBookmarks\relax% - \else - \ifnum#4>\Hy@bookmarksdepth\relax + \ifx\WriteBookmarks\relax% \else - \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \ifnum#4>\Hy@bookmarksdepth\relax + \else + \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \fi \fi - \fi } \def\Hy@currentbookmarklevel{0} \def\Hy@numberline#1{#1 } diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index ded9c05f5cb..a92e53e9068 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/05/01 v6.78r + [2009/05/23 v6.78s 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 69750b141c6..6917eb892dd 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/05/01 v6.78r + [2009/05/23 v6.78s 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 7e3a24bf08d..19ac79df83a 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/05/01 v6.78r + [2009/05/23 v6.78s Hyperref: Additions to puenc.def for VnTeX] \DeclareTextCommand{\abreve}{PU}{\81\003} \DeclareTextCommand{\acircumflex}{PU}{\80\342} |