Make color option change dependent on colorlinks.
The color options are only used for setting the link colour; it is otherwise redundant (someone wanting to add colour to other parts of the document will likely have more complex needs).
This commit is contained in:
parent
5e9fad4caf
commit
1811fb32eb
1 changed files with 2 additions and 0 deletions
|
@ -53,7 +53,9 @@ $if(geometry)$
|
||||||
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||||
$endif$
|
$endif$
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
|
$if(colorlinks)$
|
||||||
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
|
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
|
||||||
|
$endif$
|
||||||
\hypersetup{unicode=true,
|
\hypersetup{unicode=true,
|
||||||
$if(title-meta)$
|
$if(title-meta)$
|
||||||
pdftitle={$title-meta$},
|
pdftitle={$title-meta$},
|
||||||
|
|
Loading…
Reference in a new issue