diff options
author | Holden Rohrer <hr@hrhr.dev> | 2021-05-22 23:42:23 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2021-05-22 23:42:23 -0400 |
commit | 2d6613589af0b688cf98c24951d7eec85cca0bdd (patch) | |
tree | 0b7e13cc0ce8d49739cd25b5a57bc6e9b27a79c6 | |
parent | db10a29e1b78066e54d8c623a639288d31ed7937 (diff) |
made TOC actually work
-rw-r--r-- | toc.tex | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |