\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