summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toc.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/toc.tex b/toc.tex
index 96205f9..50e9cdd 100644
--- a/toc.tex
+++ b/toc.tex
@@ -20,7 +20,7 @@
\def\tocentry#1#2#3{%
\count1=#2\advance\count1 by 1
\line{\hskip#3%
- \pdfstartlink goto page \number\count1{}
+ \pdfstartlink goto name {#1}
{\color{red} #1}
\pdfendlink
\cleaders\hbox to .1in{\hfil .\hfil}\hfil #2}%
@@ -31,7 +31,7 @@
\def\subsection#1{\thesubsection{#1}}
% temporary definitions for pre-toc sections
\def\maketoc{%
- {\noindent\sectionfont Table of Contents}
+ \thesection{Table of Contents}
\openin15=bguide.toc \ifeof15 \else
\input bguide.toc\fi