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.
This commit is contained in:
Jacob Zimmerman 2016-10-20 00:12:40 -04:00
parent 1475299c9a
commit 52429ad76a
No known key found for this signature in database
GPG key ID: E15F286C541964F7

View file

@ -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$