diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-23 11:05:45 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-23 11:05:45 +0100 |
| commit | 180f4941740ffa840d2114b219960f36bf7e80d7 (patch) | |
| tree | 4bfdd91c23ec1c23cc38bcba60f78bc54c8e9105 /templates/hypersetup.latex | |
| parent | 40de91158fcc4e4ee47fd0c2f55aad38f29e6008 (diff) | |
adds templates from https://github.com/jgm/pandoc-templates
Diffstat (limited to 'templates/hypersetup.latex')
| -rw-r--r-- | templates/hypersetup.latex | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/hypersetup.latex b/templates/hypersetup.latex new file mode 100644 index 0000000..610ba2c --- /dev/null +++ b/templates/hypersetup.latex @@ -0,0 +1,34 @@ +% fallback for those not using the hyperref driver hyperxmp: +\makeatletter +\@ifundefined{xmpquote}{\newcommand{\xmpquote}[1]{#1}}{} +\makeatother +\hypersetup{ +$if(title-meta)$ + pdftitle={$title-meta$}, +$endif$ +$if(author-meta)$ + pdfauthor={$author-meta$}, +$endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ +$if(subject)$ + pdfsubject={$subject$}, +$endif$ +$if(keywords)$ + pdfkeywords={$for(keywords)$\xmpquote{$keywords$}$sep$, $endfor$}, +$endif$ +$if(colorlinks)$ + colorlinks=true, + linkcolor={$if(linkcolor)$$linkcolor$$else$Maroon$endif$}, + filecolor={$if(filecolor)$$filecolor$$else$Maroon$endif$}, + citecolor={$if(citecolor)$$citecolor$$else$Blue$endif$}, + urlcolor={$if(urlcolor)$$urlcolor$$else$Blue$endif$}, +$else$ +$if(boxlinks)$ +$else$ + hidelinks, +$endif$ +$endif$ + pdfcreator={LaTeX via pandoc}} + |
