From dfc7304e48e6df9053d1861fd67559c3751c5a33 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 2 Jan 2015 01:46:35 +0100 Subject: Set pagestyle=plain. --- Makefile | 2 +- template.tex | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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$ -- cgit v1.2.3