From c47460fce5cebb17f2ecb1ad195d244c75887d8c Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sun, 3 Mar 2019 11:28:56 -0800
Subject: Updated templates for pandoc 2.7

---
 default.latex | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'default.latex')

diff --git a/default.latex b/default.latex
index 8a37e7e..aacb48b 100644
--- a/default.latex
+++ b/default.latex
@@ -205,6 +205,9 @@ $endif$
 $if(author-meta)$
   pdfauthor={$author-meta$},
 $endif$
+$if(subject)$
+  pdfsubject={$subject$},
+$endif$
 $if(keywords)$
   pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
 $endif$
@@ -381,6 +384,9 @@ $endif$
 
 \begin{document}
 $if(title)$
+$if(book-class)$
+\frontmatter
+$endif$
 $if(beamer)$
 \frame{\titlepage}
 $else$
@@ -424,8 +430,14 @@ $endif$
 $if(lof)$
 \listoffigures
 $endif$
+$if(book-class)$
+\mainmatter
+$endif$
 $body$
 
+$if(book-class)$
+\backmatter
+$endif$
 $if(natbib)$
 $if(bibliography)$
 $if(biblio-title)$
-- 
cgit v1.2.3

