From 49268d0bcadc0d35ed44ae7d2a6b2242b2d4bb12 Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Sat, 3 Jan 2015 13:03:09 +0100
Subject: Set frontmatter/mainmatter/backmatter in template (not filter).

---
 template.tex | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'template.tex')

diff --git a/template.tex b/template.tex
index 43aaaf3..56f904e 100644
--- a/template.tex
+++ b/template.tex
@@ -171,6 +171,9 @@ $endif$
 $if(chapterstyle)$ % for documentclass memoir chapter headline styling
 \chapterstyle{$chapterstyle$}
 $endif$
+$if(matter)$
+\frontmatter
+$endif$
 $if(title)$
 \maketitle
 $endif$
@@ -191,8 +194,14 @@ $if(toc)$
 \tableofcontents
 }
 $endif$
+$if(matter)$
+\mainmatter
+$endif$
 $body$
 
+$if(matter)$
+\backmatter
+$endif$
 $if(natbib)$
 $if(biblio-files)$
 $if(biblio-title)$
-- 
cgit v1.2.3

