changeset 40:93955def7313

Revise page footers, and add build number.
author Jim Hague <jim.hague@laicatc.com>
date Sat, 03 Mar 2012 16:06:23 +0000
parents 9681f6cd9c2b
children 62da0abc23d8
files buildno.txt dottes.tex.header makeBooke.sh
diffstat 3 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/buildno.txt	Sat Mar 03 16:06:23 2012 +0000
@@ -0,0 +1,1 @@
+(dev)
--- a/dottes.tex.header	Sat Mar 03 15:24:59 2012 +0000
+++ b/dottes.tex.header	Sat Mar 03 16:06:23 2012 +0000
@@ -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}
--- a/makeBooke.sh	Sat Mar 03 15:24:59 2012 +0000
+++ b/makeBooke.sh	Sat Mar 03 16:06:23 2012 +0000
@@ -20,7 +20,7 @@
 
 mkdir -p $builddir
 
-cp buildno $builddir
+cp buildno.txt $builddir
 if [ -r $booke/subtitle.txt ]; then
     cp $booke/subtitle.txt $builddir
 else