summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg')
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg26
1 files changed, 25 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg
index 2996a7a1561..c5691a30403 100644
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg
@@ -22,10 +22,34 @@
%
\PassOptionsToClass{a4paper}{article}
\AtEndOfClass{%
- \RequirePackage{hypdoc}%
+ \RequirePackage[%
+ hyperindex=false,%
+ pdfusetitle,%
+ colorlinks,%
+ pdfpagelabels,%
+ ]{hyperref}[2002/05/09]%
+ \hypersetup{%
+ plainpages=false,%
+ bookmarksopen,%
+ bookmarksnumbered,%
+ bookmarksopenlevel=0,%
+ pdfstartview={FitBH \hypercalcbp{%
+ \paperheight-\topmargin-1in-\headheight-\headsep
+ }},%
+ }%
\pdfstringdefDisableCommands{%
\let\package\relax % grfguide.tex
}%
+ \let\org@tableofcontents\tableofcontents
+ \def\tableofcontents{%
+ \pdfbookmark[\toclevel@section]{\contentsname}{toc}%
+ \org@tableofcontents
+ }%
+ \let\org@thebibliography\thebibliography
+ \def\thebibliography{%
+ \pdfbookmark[\toclevel@section]{\refname}{bib}%
+ \org@thebibliography
+ }%
\addtolength{\textheight}{\headheight}%
\addtolength{\textheight}{\headsep}%
\setlength{\headheight}{0pt}%