From 9371b06d6bbf114d11f8962cb6b23b7acfed3049 Mon Sep 17 00:00:00 2001 From: John Winans Date: Fri, 6 Mar 2020 14:23:55 -0600 Subject: [PATCH] lean up TOC & add links to the index. --- book/preamble.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/preamble.tex b/book/preamble.tex index 7c48a0c..b1d2801 100644 --- a/book/preamble.tex +++ b/book/preamble.tex @@ -38,7 +38,7 @@ % load makeidx BEFORE hyperref to make the index clickable % load makeidx AFTER hyperref if want to use showidx -%\usepackage{makeidx} +\usepackage{makeidx} \usepackage[pagebackref]{hyperref} \hypersetup{ colorlinks=true, %set true if you want colored links @@ -49,7 +49,7 @@ \let\subsectionautorefname\sectionautorefname \let\subsubsectionautorefname\sectionautorefname -\usepackage{makeidx,showidx} % showidx breaks hyperref when loaded before hyperref +%\usepackage{makeidx,showidx} % showidx breaks hyperref when loaded before hyperref %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -260,8 +260,8 @@ % How many section-levels to show in the TOC. % 4=all of them -\setcounter{tocdepth}{4} -%\setcounter{tocdepth}{1} +%\setcounter{tocdepth}{4} +\setcounter{tocdepth}{1}