aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Zimmerman <zimmerman.jake@gmail.com>2016-10-20 00:12:40 -0400
committerJacob Zimmerman <zimmerman.jake@gmail.com>2016-10-20 00:17:46 -0400
commit52429ad76aa7f6eafb03d4ab52ddd77859cfeb82 (patch)
treeb48f079a5fc29bc7ba2dd31fddca6d4b8a953052
parent1475299c9aebfe3e47c135d6653202db3b2f6696 (diff)
downloadpandoc-52429ad76aa7f6eafb03d4ab52ddd77859cfeb82.tar.gz
Add hypersetup options to beamer templates
I'm not sure if there is a reason why these were witheld from the default beamer template, but it seemed to work when I added it in to my Beamer project. There was some previous discussion about this at jgm/pandoc#1600.
-rw-r--r--default.beamer19
1 files changed, 19 insertions, 0 deletions
diff --git a/default.beamer b/default.beamer
index a54519ced..1dcc77e4e 100644
--- a/default.beamer
+++ b/default.beamer
@@ -97,6 +97,25 @@ $for(bibliography)$
\addbibresource{$bibliography$}
$endfor$
$endif$
+\hypersetup{
+$if(title-meta)$
+ pdftitle={$title-meta$},
+$endif$
+$if(author-meta)$
+ pdfauthor={$author-meta$},
+$endif$
+$if(keywords)$
+ pdfkeywords={$for(keywords)$$keywords$$sep$; $endfor$},
+$endif$
+$if(colorlinks)$
+ colorlinks=true,
+ linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$,
+ citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
+ urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
+$else$
+ pdfborder={0 0 0},
+$endif$
+ breaklinks=true}
$if(listings)$
\usepackage{listings}
$endif$