Merge pull request #90 from Kaixhin/master

Add option for ToC color
This commit is contained in:
John MacFarlane 2015-05-27 10:28:25 -07:00
commit 513c4388c3

View file

@ -171,7 +171,7 @@ $include-before$
$endfor$ $endfor$
$if(toc)$ $if(toc)$
{ {
\hypersetup{linkcolor=black} \hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
\setcounter{tocdepth}{$toc-depth$} \setcounter{tocdepth}{$toc-depth$}
\tableofcontents \tableofcontents
} }