Revise page footers, and add build number.

This commit is contained in:
Jim Hague 2012-03-03 16:06:23 +00:00
parent 6dc31caa77
commit f7d2212e41
3 changed files with 19 additions and 1 deletions

1
buildno.txt Normal file
View File

@ -0,0 +1 @@
(dev)

View File

@ -2,6 +2,13 @@
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{helvet} \usepackage{helvet}
\usepackage{newcent} \usepackage{newcent}
\usepackage{fancyhdr}
% ----- Common variables
\def \build {\input{buildno.txt}}
% ----- Page setup
\setlength{\parindent}{0pt} \setlength{\parindent}{0pt}
@ -16,6 +23,16 @@
\begin{document} \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}} \title{Ye Crie Havock Booke of Dottes \\ \input{subtitle.txt}}
\author{Cry Havoc} \author{Cry Havoc}

View File

@ -20,7 +20,7 @@ outputa4pdf=dottesona4.pdf
mkdir -p $builddir mkdir -p $builddir
cp buildno $builddir cp buildno.txt $builddir
if [ -r $booke/subtitle.txt ]; then if [ -r $booke/subtitle.txt ]; then
cp $booke/subtitle.txt $builddir cp $booke/subtitle.txt $builddir
else else