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).
commit1811fb32eb04b55c19768444e9a32e04a4f6a87b
authorAndrew Dunning <adunning@users.noreply.github.com>
dateMon 30 Nov 2015, 22:46 (11 years ago)
parent5e9fad4
default.latex+2
@@ -53,7 +53,9 @@ $if(geometry)$
5353\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
5454$endif$
5555\usepackage{hyperref}
56+$if(colorlinks)$
5657\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
58+$endif$
5759\hypersetup{unicode=true,
5860$if(title-meta)$
5961 pdftitle={$title-meta$},