Don't count header, footer, title page or ToC towards wordcount
This commit is contained in:
parent
12cd9b9a2b
commit
e5d8d72955
2 changed files with 6 additions and 1 deletions
6
main.tex
6
main.tex
|
@ -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}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
wordcount: {wordcount}
|
wordcount: {wordcount}
|
||||||
|
secondpass: true
|
||||||
...
|
...
|
||||||
|
|
Reference in a new issue