From 2d6613589af0b688cf98c24951d7eec85cca0bdd Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Sat, 22 May 2021 23:42:23 -0400
Subject: made TOC actually work
---
toc.tex | 4 ++--
1 file 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
--
cgit