From 52429ad76aa7f6eafb03d4ab52ddd77859cfeb82 Mon Sep 17 00:00:00 2001 From: Jacob Zimmerman Date: Thu, 20 Oct 2016 00:12:40 -0400 Subject: [PATCH] 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. --- default.beamer | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/default.beamer b/default.beamer index a54519ced92f..1dcc77e4e7d5 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$