diff --git a/book/book.tex b/book/book.tex index 292d387..aaa3b6f 100644 --- a/book/book.tex +++ b/book/book.tex @@ -13,8 +13,10 @@ \titlepage \frontmatter -% \tableofcontents +{% +\hypersetup{hidelinks} \ifdefined\HCode\else\tableofcontents\fi +} \input{intro/foreword} \input{intro/preface} @@ -61,8 +63,11 @@ \backmatter \printbibliography +{% +\hypersetup{hidelinks} \listofflowcharts \listoftables \listoffigures +} \end{document} diff --git a/book/sourdough.sty b/book/sourdough.sty index 1575e15..c6fea37 100644 --- a/book/sourdough.sty +++ b/book/sourdough.sty @@ -3,7 +3,6 @@ \usepackage{graphicx} \usepackage{booktabs} \usepackage{longtable} -\usepackage{tocbasic} \usepackage{chemformula} \usepackage{chemfig} \usepackage{booktabs} @@ -67,7 +66,10 @@ \usepackage{bookmark} \hypersetup{% linktoc=all, - allcolors=codeblue, + linkcolor = hlorange, + urlcolor = codeblue, + citecolor = hlocre, + breaklinks = true, pdfinfo={% Title={The Sourdough Framework}, Author={Hendrik Kleinw\"achter}, @@ -81,6 +83,7 @@ } } + % Folders where to search for images \graphicspath{ {images/}