aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-03 10:34:09 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-03 10:34:09 -0800
commitb766694c0b93b17bccf42a9cb59e1d2a38a53554 (patch)
tree9feedb9132115384daa7d97375bda6a75ac50cac /default.latex
parent4407397a7a9e067246500049f70f70a5c144a1c8 (diff)
parent1811fb32eb04b55c19768444e9a32e04a4f6a87b (diff)
downloadpandoc-b766694c0b93b17bccf42a9cb59e1d2a38a53554.tar.gz
Merge pull request #161 from adunning/patch-2
Make color option change dependent on colorlinks.
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex2
1 files changed, 2 insertions, 0 deletions
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$},