diff options
author | Karl Berry <karl@freefriends.org> | 2006-08-20 00:16:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-08-20 00:16:44 +0000 |
commit | 81e85f9bb5875b6c3cd460112e26e715d8965004 (patch) | |
tree | 080f756dab293c38187e2cc6cde199e717f57433 /Master/texmf-dist/source/latex/hyperref/bmhydoc.sty | |
parent | 4cdec44e9893db7879eb9f2f34cfcbe52072abd0 (diff) |
hyperref 6.75a (1aug06)
git-svn-id: svn://tug.org/texlive/trunk@1993 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref/bmhydoc.sty')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperref/bmhydoc.sty | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/bmhydoc.sty b/Master/texmf-dist/source/latex/hyperref/bmhydoc.sty new file mode 100644 index 00000000000..15f183128b0 --- /dev/null +++ b/Master/texmf-dist/source/latex/hyperref/bmhydoc.sty @@ -0,0 +1,97 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{bmhydoc} + [2006/02/08 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 + +\RequirePackage{ifpdf} +\ifpdf +\else + \expandafter\endinput +\fi + +\newcommand*{\@bmhydoc}[3][0]{% + \pdfoutline + attr {/C[0 0 1]} + user {% + <<% + /S/GoToR% + /F(#2)% + /D[0/XYZ null null null]% + >>% + } + count #1 + {#3}\relax +} +\AtEndDocument{% + \@bmhydoc[-8]{manual.pdf}{Hyperref manual} + \@bmhydoc{README.pdf}{README} + \@bmhydoc{ChangeLog.pdf}{ChangeLog} + \@bmhydoc{options.pdf}{Options} + \@bmhydoc[1]{slides.pdf}{Bookmark talk, slides} + \@bmhydoc{paper.pdf}{Bookmark talk, paper} + \@bmhydoc[2]{hyperref.pdf}{Sources: hyperref.dtx} + \@bmhydoc{backref.pdf}{backref.dtx} + \@bmhydoc{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}{Manual} + The user documentation is also available as HTML. + \entry{README.pdf}{README} + 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. + \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 |