LaTeX template: don't emit empty linkcolor= in hypersetup.
Closes #11098.
This commit is contained in:
1 parent
6070ad29cd
commit
0cdb430110
1 file changed
+3
-1
@@ -95,7 +95,9 @@ $if(toc-title)$
|
||||
$endif$
|
||||
{
|
||||
$if(colorlinks)$
|
||||
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
|
||||
$if(toccolor)$
|
||||
\hypersetup{linkcolor=$toccolor$}
|
||||
$endif$
|
||||
$endif$
|
||||
\setcounter{tocdepth}{$toc-depth$}
|
||||
\tableofcontents
|
||||
|
||||
Reference in new issue
Block a user