summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2021-05-22 23:42:23 -0400
committerHolden Rohrer <hr@hrhr.dev>2021-05-22 23:42:23 -0400
commit2d6613589af0b688cf98c24951d7eec85cca0bdd (patch)
tree0b7e13cc0ce8d49739cd25b5a57bc6e9b27a79c6
parentdb10a29e1b78066e54d8c623a639288d31ed7937 (diff)
made TOC actually work
-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