1
Fork 0

Don't count header, footer, title page or ToC towards wordcount

This commit is contained in:
Jake Howard 2018-03-28 20:08:22 +01:00
parent 12cd9b9a2b
commit e5d8d72955
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 6 additions and 1 deletions

View file

@ -16,13 +16,17 @@
\author{Some Author} \author{Some Author}
\date{2018-01-01} \date{2018-01-01}
$if(secondpass)$
\include{header-footer} \include{header-footer}
$endif$
\begin{document} \begin{document}
$if(secondpass)$
\input{title} \input{title}
\tableofcontents \tableofcontents
$endif$
\thispagestyle{empty} \thispagestyle{empty}
\cleardoublepage \cleardoublepage
\setcounter{page}{1} \setcounter{page}{1}

View file

@ -1,3 +1,4 @@
--- ---
wordcount: {wordcount} wordcount: {wordcount}
secondpass: true
... ...