summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--template.tex3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d43a32a..aa017c5 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ args_meta += -V date=""
args_latex += --template=template.tex --latex-engine=xelatex
args_latex += -H header.tex -B before.tex -A after.tex
args_latex += -V mainfont="Lora" -V sansfont="Quattrocento Sans" -V monofont="Inconsolata"
-args_latex += -V documentclass=memoir -V headstyles=komalike -V chapterstyle=ell
+args_latex += -V documentclass=memoir -V pagestyle=plain -V headstyles=komalike -V chapterstyle=ell
args_latex += -V classoption=titlepage -V classoption=$(if $(final),final,draft)
flavors = a4 book ebook
args_a4 = -V papersize=a4paper -V fontsize=10pt -V classoption=oneside
diff --git a/template.tex b/template.tex
index 5bd5de7..43aaaf3 100644
--- a/template.tex
+++ b/template.tex
@@ -162,6 +162,9 @@ $header-includes$
$endfor$
\begin{document}
+$if(pagestyle)$ % for documentclass memoir page header/footer styling
+\pagestyle{$pagestyle$}
+$endif$
$if(headstyles)$ % for documentclass memoir headline styling
\headstyles{$headstyles$}
$endif$