summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-26 23:22:36 +0000
committerKarl Berry <karl@freefriends.org>2009-05-26 23:22:36 +0000
commit788463b73b8e87304fa052fe0f9fe43fc2217a3a (patch)
treed6612e5b5237b81281b06a6be039df71695119c4 /Master/texmf-dist/tex
parent2be0d9eaabb3f79a9a41cb82da8e05d538f20c17 (diff)
hyperref update (26may09)
git-svn-id: svn://tug.org/texlive/trunk@13484 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/bmhydoc.sty104
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hylatex.ltx43
2 files changed, 43 insertions, 104 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/bmhydoc.sty b/Master/texmf-dist/tex/latex/hyperref/bmhydoc.sty
deleted file mode 100644
index a250f2261e6..00000000000
--- a/Master/texmf-dist/tex/latex/hyperref/bmhydoc.sty
+++ /dev/null
@@ -1,104 +0,0 @@
-\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/hylatex.ltx b/Master/texmf-dist/tex/latex/hyperref/hylatex.ltx
new file mode 100644
index 00000000000..7eb223db30d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hyperref/hylatex.ltx
@@ -0,0 +1,43 @@
+%
+% 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
+