From f7d2212e41367675aace5e1a0a7201e6b6e7dd2a Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Sat, 3 Mar 2012 16:06:23 +0000 Subject: [PATCH] Revise page footers, and add build number. --- buildno.txt | 1 + dottes.tex.header | 17 +++++++++++++++++ makeBooke.sh | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 buildno.txt 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