From 1811fb32eb04b55c19768444e9a32e04a4f6a87b Mon Sep 17 00:00:00 2001
From: Andrew Dunning <adunning@users.noreply.github.com>
Date: Mon, 30 Nov 2015 22:46:50 -0500
Subject: 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).
---
 default.latex | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'default.latex')

diff --git a/default.latex b/default.latex
index fa19f2bc1..4b62c8fcb 100644
--- a/default.latex
+++ b/default.latex
@@ -53,7 +53,9 @@ $if(geometry)$
 \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
 $endif$
 \usepackage{hyperref}
+$if(colorlinks)$
 \PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
+$endif$
 \hypersetup{unicode=true,
 $if(title-meta)$
             pdftitle={$title-meta$},
-- 
cgit v1.2.3

