diff --git a/buildno.txt b/buildno.txt new file mode 100644 index 0000000..d5bdc2b --- /dev/null +++ b/buildno.txt @@ -0,0 +1 @@ +(dev) diff --git a/dottes.tex.header b/dottes.tex.header index 8224d83..56745b7 100644 --- a/dottes.tex.header +++ b/dottes.tex.header @@ -2,6 +2,13 @@ \usepackage{graphicx} \usepackage{helvet} \usepackage{newcent} +\usepackage{fancyhdr} + +% ----- Common variables + +\def \build {\input{buildno.txt}} + +% ----- Page setup \setlength{\parindent}{0pt} @@ -16,6 +23,16 @@ \begin{document} +% ----- Headers and footers + +\pagestyle{fancyplain} +\fancyhf{} +\lfoot{Issue \build} +\rfoot{\thepage} +\renewcommand{\headrulewidth}{0pt} + +% ----- Title page and contents + \title{Ye Crie Havock Booke of Dottes \\ \input{subtitle.txt}} \author{Cry Havoc} diff --git a/makeBooke.sh b/makeBooke.sh index df7c6f2..15bf5a3 100755 --- a/makeBooke.sh +++ b/makeBooke.sh @@ -20,7 +20,7 @@ outputa4pdf=dottesona4.pdf mkdir -p $builddir -cp buildno $builddir +cp buildno.txt $builddir if [ -r $booke/subtitle.txt ]; then cp $booke/subtitle.txt $builddir else