diff options
| author | Andrew Dunning <adunning@users.noreply.github.com> | 2015-11-30 22:46:50 -0500 |
|---|---|---|
| committer | Andrew Dunning <adunning@users.noreply.github.com> | 2015-11-30 22:46:50 -0500 |
| commit | 1811fb32eb04b55c19768444e9a32e04a4f6a87b (patch) | |
| tree | 83de9ab8657391d7405fe74cfaadc68ed0ffdcbc | |
| parent | 5e9fad4cafe45a883001dcd41e701b3453e08337 (diff) | |
| download | pandoc-1811fb32eb04b55c19768444e9a32e04a4f6a87b.tar.gz | |
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).
| -rw-r--r-- | default.latex | 2 |
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$}, |
