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:
parent
1475299c9a
commit
52429ad76a
1 changed files with 19 additions and 0 deletions
|
@ -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$
|
||||
|
|
Loading…
Reference in a new issue